Hi,
I'm trying to compile Gauss release on our local machine (tachyon2), but I'm receiving errors like this :
Checking status of thorn MPI ~/Cactus/configs/test/config-data/cctk_Config.h(397): catastrophic error: #error directive: "OpenMP collapse directive disabled for C, but enabled for Fortran -- likely an error in the option list" # error "OpenMP collapse directive disabled for C, but enabled for Fortran -- likely an error in the option list"
and many errors similar to it.
Possibly I need some changes to my optionlist (as suggested by the error). Any ideas which options need to be set in order to make a successful compile?
My current option file looks something like this :
############################################ CPP = cpp FPP = cpp
CC = /applic/compilers/intel/11.1/cce/bin/icc CXX = /applic/compilers/intel/11.1/cce/bin/icpc F77 = /applic/compilers/intel/11.1/fce/bin/ifort F90 = /applic/compilers/intel/11.1/fce/bin/ifort
CPPFLAGS = -openmp -DMPICH_IGNORE_CXX_SEEK FPPFLAGS = -traditional -D_OPENMP
CFLAGS = -openmp -g -traceback -debug all -align -std=gnu99 -ansi_alias -U__STRICT_ANSI__ CXXFLAGS = -openmp -g -traceback -debug all -align -restrict F77FLAGS = -openmp -g -traceback -debug all -align -pad -w95 -cm F90FLAGS = -openmp -g -traceback -debug all -align -pad -w95 -cm LDFLAGS = -Wl,-rpath,/applic/compilers/intel/11.1/mkl/lib/em64t -Wl,-rpath,/applic/compilers/intel/11.1/mpi/mvapich2/1.4/lib -Wl,-rpath,/applic/compilers/intel/11.1/cce/lib -Wl,-rpath,/applic/compilers/intel/11.1/fce/lib -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.1.2
LIBDIRS = /usr/X11R6/lib64 /applic/compilers/intel/11.1/cce/lib /applic/compilers/intel/11.1/fce/lib
C_LINE_DIRECTIVES = yes F_LINE_DIRECTIVES = yes
DEBUG = no CPP_DEBUG_FLAGS = -DCARPET_DEBUG FPP_DEBUG_FLAGS = -DCARPET_DEBUG C_DEBUG_FLAGS = -O0 # -check-uninit CXX_DEBUG_FLAGS = -O0 # -check-uninit F77_DEBUG_FLAGS = -O0 -check bounds -check format # -check all F90_DEBUG_FLAGS = -O0 -check bounds -check format # -check all
OPTIMISE = yes CPP_OPTIMISE_FLAGS = -DCARPET_OPTIMISE -DNDEBUG FPP_OPTIMISE_FLAGS = -DCARPET_OPTIMISE -DNDEBUG C_OPTIMISE_FLAGS = -O2 CXX_OPTIMISE_FLAGS = -O2 F77_OPTIMISE_FLAGS = -O2 F90_OPTIMISE_FLAGS = -O2
PROFILE = no C_PROFILE_FLAGS = -pg CXX_PROFILE_FLAGS = -pg F77_PROFILE_FLAGS = -pg F90_PROFILE_FLAGS = -pg
WARN = yes
BLAS_DIR = /applic/compilers/intel/11.1/mkl/lib/em64t BLAS_LIBS = mkl_solver_lp64 mkl_intel_lp64 mkl_intel_thread mkl_core iomp5 guide pthread
HDF5_DIR = /home01/[user]/local/hdf5-1.8.11
LAPACK = yes LAPACK_DIR = /applic/compilers/intel/11.1/mkl/lib/em64t LAPACK_LIBS = mkl_solver_lp64 mkl_intel_lp64 mkl_intel_thread mkl_core iomp5 guide pthread
MPI_DIR = /applic/compilers/intel/11.1/mpi/mvapich2/1.4 MPI_LIBS = mpich ibverbs ibumad rdmacm rt
PTHREADS = yes
############################################
Any advices are much appreciated.
Cheers, Jakob