# numrel-intel # Whenever this version string changes, the application is configured # and rebuilt from scratch VERSION = 2010-05-25 # TODO: try /usr/local/compilers/intel_cce_11.1.064.x86_64/bin/intel64/icc etc. CPP = cpp FPP = cpp CC = /usr/local/compilers/intel_cce_11.1.064.x86_64/bin/intel64/icc CXX = /usr/local/compilers/intel_cce_11.1.064.x86_64/bin/intel64/icpc F77 = /usr/local/compilers/intel_fce_11.1.064.x86_64/bin/intel64/ifort F90 = /usr/local/compilers/intel_fce_11.1.064.x86_64/bin/intel64/ifort # The option -inline-debug-info leads to compiler segmentation faults CPPFLAGS = -DMPICH_IGNORE_CXX_SEEK FPPFLAGS = -traditional CFLAGS = -g -debug all -align -std=c99 -U__STRICT_ANSI__ CXXFLAGS = -g -debug all -align -std=c++0x -restrict -D__builtin_isnan=::isnan -D_intel_fast_memcpy=memcpy -D_intel_fast_memset=memset F77FLAGS = -g -debug all -align -pad -traceback -w95 -cm -assume byterecl -nogen-interfaces F90FLAGS = -g -debug all -align -pad -traceback -w95 -cm -assume byterecl -nogen-interfaces LDFLAGS = -traceback -L/usr/local/compilers/intel_fce_11.1.064.x86_64/lib/intel64 -Wl,-rpath,/usr/local/compilers/intel_fce_11.1.064.x86_64/lib/intel64 -Wl,-rpath,/usr/local/compilers/intel_fce_11.1.064.x86_64/mkl/lib/em64t C_LINE_DIRECTIVES = yes F_LINE_DIRECTIVES = yes # The option -trapuv leads to "cccccccc" segmentation faults -- not sure # whether this is an error in Cactus or Intel. # -check all prints run-time warnings each time a temporary array is created # -fmudflap leads to internal compiler errors # Try: output_conversion, power, uninit, args DEBUG = no CPP_DEBUG_FLAGS = -DCARPET_DEBUG FPP_DEBUG_FLAGS = -DCARPET_DEBUG C_DEBUG_FLAGS = -O0 -fp-stack-check -ftrapuv CXX_DEBUG_FLAGS = -O0 -fp-stack-check -ftrapuv F77_DEBUG_FLAGS = -O0 -fp-stack-check -ftrapuv -check bounds -check format # -check all F90_DEBUG_FLAGS = -O0 -fp-stack-check -ftrapuv -check bounds -check format # -check all # The options -O2 -xW -complex-limited-range -no-prec-div -ip lead to # an ICE in Carpet's SetupGH.cc OPTIMISE = yes CPP_OPTIMISE_FLAGS = -DKRANC_VECTORS # -DCARPET_OPTIMISE -DNDEBUG FPP_OPTIMISE_FLAGS = # -DCARPET_OPTIMISE -DNDEBUG C_OPTIMISE_FLAGS = -O2 -msse2 -complex-limited-range -ip CXX_OPTIMISE_FLAGS = -O2 -msse2 -complex-limited-range -ip F77_OPTIMISE_FLAGS = -O2 -msse2 -complex-limited-range -ip F90_OPTIMISE_FLAGS = -O2 -msse2 -complex-limited-range -ip 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 = yes CPP_OPENMP_FLAGS = -openmp FPP_OPENMP_FLAGS = -fopenmp C_OPENMP_FLAGS = -openmp CXX_OPENMP_FLAGS = -openmp F77_OPENMP_FLAGS = -openmp F90_OPENMP_FLAGS = -openmp # The "-wdXXX" options suppress warnings: # remark #193: zero used for undefined preprocessing identifier # remark #383: value copied to temporary, reference to temporary used # remark #593: variable was set but never used # remark #810: conversion from "long" to "int" may lose significant bits # remark #869: parameter was never referenced # remark #981: operands are evaluated in unspecified order # remark #1418: external function definition with no prior declaration # remark #1419: external declaration in primary source file # remark #1682: implicit conversion of a 64-bit integral type to a smaller integral type (potential portability problem) # remark #1683: explicit conversion of a 64-bit integral type to a smaller integral type (potential portability problem) # remark #1684: conversion from pointer to same-sized integral type (potential portability problem) # warning #269: invalid format string conversion WARN = yes CPP_WARN_FLAGS = -Wall FPP_WARN_FLAGS = -Wall C_WARN_FLAGS = -Wall -Wp64 -wd193 -wd383 -wd593 -wd810 -wd869 -wd981 -wd1418 -wd1419 -vec-report0 CXX_WARN_FLAGS = -Wall -Wp64 -wd193 -wd383 -wd593 -wd810 -wd869 -wd981 -wd1418 -wd1419 -vec-report0 F77_WARN_FLAGS = -warn all -warn nounused F90_WARN_FLAGS = -warn all -warn nounused BLAS_DIR = /usr/local/compilers/intel_fce_11.1.064.x86_64/mkl/lib/em64t BLAS_LIBS = mkl_lapack mkl_gf_lp64 mkl_intel_thread mkl_core iomp5 guide pthread #FFTW_DIR = /opt/local #FFTW_LIBS = drfftw dfftw m GSL_DIR = BUILD # This doesn't work, since the "lib64" must not be part of the HDF5 directory # HDF5_DIR = /usr/lib64 # LIBZ_DIR = /usr/lib64 HDF5_DIR = BUILD LAPACK_DIR = /usr/local/compilers/intel_fce_11.1.064.x86_64/mkl/lib/em64t LAPACK_LIBS = mkl_lapack mkl_gf_lp64 mkl_intel_thread mkl_core iomp5 guide pthread MPI = CUSTOM MPI_INC_DIRS = /usr/include/mpich2-x86_64 MPI_LIB_DIRS = /usr/lib64/mpich2/lib MPI_LIBS = mpich mpichf90 mpichcxx #PETSC = yes #PETSC_DIR = /usr/local/packages/petsc-2.2.1-intel8.1 #PETSC_ARCH = linux-intel #PETSC_ARCH_LIBS = X11 mpich dl pthread PETSC_BLAS_EXTRA_LIB_DIRS = /usr/local/compilers/intel_cce_11.1.064.x86_64/lib/intel64 /usr/lib64 PETSC_LAPACK_EXTRA_LIB_DIRS = /usr/local/compilers/intel_cce_11.1.064.x86_64/lib/intel64 /usr/lib64 PETSC_MPI_INC_DIR = /usr/include/mpich2-x86_64 PETSC_MPI_LIB_DIRS = /usr/lib64/mpich2/lib /usr/lib/gcc/x86_64-redhat-linux/4.4.1 PETSC_MPI_LIBS = mpich mpichf90 mpichcxx stdc++ PTHREADS = yes #TEXMEX_DIR = /Users/eschnett/src/texmex X_LIB_DIR = /usr/X11R6/lib