# osc-intel12-mvapich2 # Whenever this version string changes, the application is configured # and rebuilt from scratch VERSION=12-05-28 CPP = cpp FPP = cpp CC = /usr/local/intel/composer_xe_2011_sp1.6.233/bin/intel64/icc CXX = /usr/local/intel/composer_xe_2011_sp1.6.233/bin/intel64/icpc F77 = /usr/local/intel/composer_xe_2011_sp1.6.233/bin/intel64/ifort F90 = /usr/local/intel/composer_xe_2011_sp1.6.233/bin/intel64/ifort CPPFLAGS = -DMPICH_IGNORE_CXX_SEEK FPPFLAGS = -traditional # no -msse3 CFLAGS = -g -traceback -debug all -xSSE2 -align -std=c99 -ansi_alias -U__STRICT_ANSI__ CXXFLAGS = -g -traceback -debug all -xSSE2 -align -restrict -D_intel_fast_memcpy=memcpy -D_intel_fast_memset=memset F77FLAGS = -g -traceback -debug all -xSSE2 -align -pad -w95 -cm F90FLAGS = -g -traceback -debug all -xSSE2 -align -pad -w95 -cm CUCC = /usr/local/intel/composer_xe_2011_sp1.6.233/bin/intel64/cpc CUCCFLAGS = -x c++ -DMPICH_IGNORE_CXX_SEEK -g -traceback -debug all -xSSE2 -align -restrict -D_intel_fast_memcpy=memcpy -D_intel_fast_memset=memset -openmp CUCC_DEBUG_FLAGS = -DCARPET_DEBUG -O0 CUCC_OPTIMISE_FLAGS = -O2 CUCC_WARN_FLAGS = CU_DEPEND = /usr/local/intel/composer_xe_2011_sp1.6.233/bin/intel64/cpc -M -x c++ -DMPICH_IGNORE_CXX_SEEK -openmp LDFLAGS = -rdynamic -Wl,-rpath,/usr/local/compilers/Intel/mkl-10.2/lib/em64t -Wl,-rpath,/usr/local/packages/fftw/3.2/intel-11.1-mvapich2-1.4/lib -Wl,-rpath,/usr/local/packages/gsl/1.9/intel-11.1-mvapich2-1.4/lib -Wl,-rpath,/usr/local/packages/mvapich2/1.4/intel-11.1/lib -Wl,-rpath,/usr/local/ofed/lib64 -Wl,-rpath,/usr/local/compilers/Intel/intel_cc_11.1/lib/intel64 -Wl,-rpath,/usr/local/compilers/Intel/intel_fc_11.1/lib/intel64 LIBDIRS = /usr/X11R6/lib64 /usr/local/ofed/lib64 /usr/local/compilers/Intel/intel_fc_11.1/lib/intel64 C_LINE_DIRECTIVES = yes F_LINE_DIRECTIVES = yes VECTORISE = yes VECTORISE_ALIGNED_ARRAYS = no VECTORISE_INLINE = no # -check-uninit fails for asm output operands DEBUG = yes 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 # On Abe, the options -O3, -xT, and -ip lead to segmentation faults # near MPI calls # With Intel 9, using -ip prevents debug information for local variables # With Intel 9, using -O3 leads to very long compile times (> 45 minutes) OPTIMISE = yes CPP_OPTIMISE_FLAGS = # -DCARPET_OPTIMISE -DNDEBUG FPP_OPTIMISE_FLAGS = # -DCARPET_OPTIMISE -DNDEBUG C_OPTIMISE_FLAGS = -O2 -override-limits CXX_OPTIMISE_FLAGS = -O2 -override-limits F77_OPTIMISE_FLAGS = -O2 -override-limits F90_OPTIMISE_FLAGS = -O2 -override-limits 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 = -D_OPENMP C_OPENMP_FLAGS = -openmp CXX_OPENMP_FLAGS = -openmp F77_OPENMP_FLAGS = -openmp F90_OPENMP_FLAGS = -openmp WARN = yes CPP_WARN_FLAGS = FPP_WARN_FLAGS = C_WARN_FLAGS = CXX_WARN_FLAGS = F77_WARN_FLAGS = F90_WARN_FLAGS = # With OpenMP, certain Intel libraries need to be linked statically. # This prevents the error # "cannot allocate memory for thread-local data: ABORT". # However, the MPI libraries must be linked dynamically. BLAS_DIR = /usr/local/compilers/Intel/mkl-10.2/lib/em64t BLAS_LIBS = mkl_solver_lp64 mkl_intel_lp64 mkl_intel_thread mkl_core iomp5 guide pthread FFTW3_DIR = /usr/local/packages/fftw/3.2/intel-11.1-mvapich2-1.4 GIT_DIR = /usr/local/packages/git/1.6.1.3/intel-11.1 GSL_DIR = /usr/local/packages/gsl/1.9/intel-11.1-mvapich2-1.4 LAPACK_DIR = /usr/local/compilers/Intel/mkl-10.2/lib/em64t LAPACK_LIBS = mkl_solver_lp64 mkl_intel_lp64 mkl_intel_thread mkl_core iomp5 guide pthread #MPI = CUSTOM # with this set got a choke so have commented it out MPI_INC_DIRS = /usr/local/packages/mvapich2/1.4/intel-11.1/include # Cannot use mpiP and TAU at the same time #MPI_LIB_DIRS = /home/eschnett/mpiP-3.1.2/lib /usr/local/packages/pro/mvapich2-1.2p1-intel-11.1/lib /usr/local/ofed/lib64 #MPI_LIBS = mpiP mpich ibverbs ibumad rdmacm bfd iberty rt MPI_LIB_DIRS = /usr/local/packages/mvapich2/1.4/intel-11.1/lib /usr/local/ofed/lib64 MPI_LIBS = mpich ibverbs ibumad rdmacm bfd iberty rt #PETSC_DIR = /usr/local/packages/petsc/3.0.0.p3/intel-11.1-mvapich2-1.4 #PETSC_ARCH_LIBS = X11 PETSC_BLAS_EXTRA_LIB_DIRS = /usr/local/compilers/Intel/intel_cc_11.1/lib/intel64 /usr/lib64 PETSC_LAPACK_EXTRA_LIB_DIRS = /usr/local/compilers/Intel/intel_cc_11.1/lib/intel64 /usr/lib64 PETSC_MPI_INC_DIR = /usr/local/packages/mvapich2/1.4/intel-11.1/include PETSC_MPI_LIB_DIRS = /usr/local/packages/mvapich2/1.4/intel-11.1/lib /usr/local/ofed/lib64 /usr/lib64 PETSC_MPI_LIBS = mpich ibverbs ibumad rdmacm pthread bfd iberty rt PTHREADS = yes TAU_MAKEFILE = /usr/local/packages/tau/2.18/intel-11.1-mvapich2-1.4/x86_64/lib/Makefile.tau-intel-11.1-mvapich2-1.4-icpc-mpi-pdt