Hello again
In previous emails I detailed the problems I was having downloading the
Einstein Toolkit, first on the Dora supercomputer and then on a local
computer. Following further efforts to solve my MPI issue on the Dora
supercomputer I have come up against a new problem.
This is the method I used to reach this point:
I downloaded Cactus using the method described in
https://docs.einsteintoolkit.org/et-docs/Simplified_Tutorial_for_New_Users
I created my own configuration file based on the debian.cfg file which I
have attached. This file specifies the path for the MPI directory (and
this solves the MPI issue)
I configured Simfactory using the following command:
./simfactory/bin/sim setup --optionlist=dora.cfg --runscript debian.sh
I built the Einstein Toolkit with the following command:
./simfactory/bin/sim build --mdbkey make 'make -j2'
--thornlist=manifest/einsteintoolkit.th
This is the error I got. It seems to be some kind of syntax error:
/users/lsoswald/old/Cactus/arrangements/CactusTest/TestLoop/src/TestLoopPointwise.c:
In function ‘TestLoopPointwise_All’:
/users/lsoswald/old/Cactus/arrangements/CactusTest/TestLoop/src/TestLoopPointwise.c:31:
error: expected ‘#pragma omp’ clause before ‘collapse’
Creating
/users/lsoswald/old/Cactus/configs/sim/lib/libthorn_TestLocalInterp2.a
/users/lsoswald/old/Cactus/arrangements/CactusTest/TestLoop/src/TestLoopPointwise.c:
In function ‘TestLoopPointwise_Int’:
/users/lsoswald/old/Cactus/arrangements/CactusTest/TestLoop/src/TestLoopPointwise.c:90:
error: expected ‘#pragma omp’ clause before ‘collapse’
/users/lsoswald/old/Cactus/arrangements/CactusTest/TestLoop/src/TestLoopPointwise.c:
In function ‘TestLoopPointwise_Bnd’:
/users/lsoswald/old/Cactus/arrangements/CactusTest/TestLoop/src/TestLoopPointwise.c:158:
error: expected ‘#pragma omp’ clause before ‘collapse’
/users/lsoswald/old/Cactus/arrangements/CactusTest/TestLoop/src/TestLoopPointwise.c:
In function ‘TestLoopPointwise_IntBnd’:
/users/lsoswald/old/Cactus/arrangements/CactusTest/TestLoop/src/TestLoopPointwise.c:231:
error: expected ‘#pragma omp’ clause before ‘collapse’
make[3]: *** [TestLoopPointwise.c.o] Error 1
make[2]: *** [make.checked] Error 2
make[1]: ***
[/users/lsoswald/old/Cactus/configs/sim/lib/libthorn_TestLoop.a] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [sim] Error 2
Could you advise me on what the issue with this might be and how I may
solve it?
Many thanks,
Lucy
# Configuration for a Debian installation, assuming the following list of
# packages is installed:
#
# perl gfortran g++ libopenmpi-dev openmpi-bin make
#
# At the moment, an installed libmpich2 might cause problems if it is
# set to superseed the openmpi installation
# use 'ls -l /usr/lib/libmpi.so' and maybe 'ls -l /etc/alternatives/libmpi.so'
# to find out what is actually used.
#
# In addition, installing the following list of packaed will prevent Cactus
# from compiling it's own versions of these libraries:
#
# libfftw3-dev libgsl0-dev libatlas-base-dev libjpeg-dev libssl-dev libhdf5-serial-dev hdf5-tools
#
# Tools like GetComponents and Simfactory like to have the following list
# installed too
#
# python subversion git
#
# For opencl-support, you have to install additional packages, depending on
# your hardware. Here is an example using an intel/adm CPU and an nvidia GPU:
#
# ocl-icd-libopencl1 ocl-icd-opencl-dev
# amd-opencl-icd
# nvidia-opencl-common nvidia-opencl-icd
# Whenever this version string changes, the application is configured
# and rebuilt from scratch
VERSION = 2012-04-11
CPP = cpp
FPP = cpp
CC = gcc
CXX = g++
#F77 = gfortran
#F90 = gfortran
F77 = gfortran-4.6
F90 = gfortran-4.6
FPPFLAGS = -traditional
CPPFLAGS =
FPPFLAGS =
CFLAGS = -g -std=gnu99
CXXFLAGS = -g -std=gnu++0x
F77FLAGS = -g -fcray-pointer -m128bit-long-double -ffixed-line-length-none
F90FLAGS = -g -fcray-pointer -m128bit-long-double -ffixed-line-length-none
LDFLAGS = -rdynamic
DEBUG = no
CPP_DEBUG_FLAGS =
FPP_DEBUG_FLAGS =
C_DEBUG_FLAGS = -O0
CXX_DEBUG_FLAGS = -O0
F77_DEBUG_FLAGS = -O0
F90_DEBUG_FLAGS = -O0
OPTIMISE = yes
CPP_OPTIMISE_FLAGS =
FPP_OPTIMISE_FLAGS =
C_OPTIMISE_FLAGS = -O2
CXX_OPTIMISE_FLAGS = -O2
F77_OPTIMISE_FLAGS = -O2
F90_OPTIMISE_FLAGS = -O2
PROFILE = no
CPP_PROFILE_FLAGS =
FPP_PROFILE_FLAGS =
C_PROFILE_FLAGS = -pg
CXX_PROFILE_FLAGS = -pg
F77_PROFILE_FLAGS = -pg
F90_PROFILE_FLAGS = -pg
OPENMP = no
CPP_OPENMP_FLAGS = -fopenmp
FPP_OPENMP_FLAGS = -D_OPENMP
C_OPENMP_FLAGS = -fopenmp
CXX_OPENMP_FLAGS = -fopenmp
F77_OPENMP_FLAGS = -fopenmp
F90_OPENMP_FLAGS = -fopenmp
WARN = yes
CPP_WARN_FLAGS = -Wall
FPP_WARN_FLAGS = -Wall
C_WARN_FLAGS = -Wall
CXX_WARN_FLAGS = -Wall
F77_WARN_FLAGS = -Wall
F90_WARN_FLAGS = -Wall
PTHREADS_DIR = NO_BUILD
MPI_DIR = /opt/cray/mpt/7.3.2/gni/mpich-cray/8.3
BLAS_DIR = NO_BUILD
BLAS_LIBS = -mkl
BOOST_DIR = BUILD
GSL_DIR = /apps/GSL/1.1/
HDF5_DIR = /gpfs/apps/MN3/HDF5/1.8.10
LAPACK_DIR = NO_BUILD
LAPACK_LIBS = -mkl
BLAS_DIR = NO_BUILD
BLAS_LIBS = -mkl
_______________________________________________
Users mailing list
[email protected]
http://lists.einsteintoolkit.org/mailman/listinfo/users