# lonestar # Whenever this version string changes, the application is configured # and rebuilt from scratch VERSION = 2011-03-01 CPP = cpp FPP = cpp CC = /opt/apps/intel/11.1/bin/intel64/icc CXX = /opt/apps/intel/11.1/bin/intel64/icpc F77 = /opt/apps/intel/11.1/bin/intel64/ifort F90 = /opt/apps/intel/11.1/bin/intel64/ifort CONTINUE HERE # -inline-debug-info leads to compiler crashes when used with optimisation CPPFLAGS = -DMPICH_IGNORE_CXX_SEEK -DKRANC_DIFF_FUNCTIONS FPPFLAGS = -traditional CFLAGS = -g -traceback -debug all -xSSE4.2 -align -std=c99 -ansi_alias -U__STRICT_ANSI__ CXXFLAGS = -g -traceback -debug all -xSSE4.2 -align -restrict F77FLAGS = -g -traceback -debug all -xSSE4.2 -align -pad -w95 -cm F90FLAGS = -g -traceback -debug all -xSSE4.2 -align -pad -w95 -cm C_LINE_DIRECTIVES = yes F_LINE_DIRECTIVES = yes #LDFLAGS = -Wl,-rpath,/share/home/00507/eschnett/curl-7.19.4/lib -Wl,-rpath,/opt/apps/papi/papi-3.6.0/lib -Wl,-rpath,/opt/apps/intel10_1/acml/4.1.0/ifort64_mp/lib -Wl,-rpath,/opt/apps/intel10_1/mvapich2/1.2/lib -Wl,-rpath,/opt/apps/intel/10.1/fc/lib -Wl,-rpath,/opt/apps/gsl/1.11/lib -L/share/apps/tacc_zlib/1.2.3/lib # Include hypre, SPAI, Chaco, spooles, SuperLU_DIST, MUMPS, ParMetis, SCALAPACK, blacs, g2c, and X11 for PETSc #LIBDIRS = /opt/apps/intel10_1/mvapich2_1_2/hypre/2.4.0b/SmallScale/lib /opt/apps/intel10_1/mvapich2_1_2/petsc/2.3.3/externalpackages/spai_3.0-mar-06/barcelona/lib /opt/apps/intel10_1/mvapich2_1_2/petsc/2.3.3/externalpackages/Chaco-2.2/barcelona/lib /share/home/00507/eschnett/spooles/lib /opt/apps/intel10_1/mvapich2_1_2/petsc/2.3.3/externalpackages/SuperLU_DIST_2.0-Jan_5_2006/barcelona /opt/apps/intel10_1/mvapich2_1_2/petsc/2.3.3/externalpackages/MUMPS_4.7.3/barcelona/lib /opt/apps/intel10_1/mvapich2_1_2/petsc/2.3.3/externalpackages/ParMetis-dev-p1/barcelona/lib /opt/apps/intel10_1/mvapich2_1_2/petsc/2.3.3/externalpackages/SCALAPACK/barcelona /opt/apps/intel10_1/mvapich2_1_2/petsc/2.3.3/externalpackages/blacs-dev/barcelona /usr/lib/gcc/x86_64-redhat-linux/3.4.3 /usr/X11R6/lib64 /opt/apps/intel/10.1/fc/lib CUCC = /opt/apps/intel/11.1/bin/intel64/icpc CUCCFLAGS = -x c++ -DMPICH_IGNORE_CXX_SEEK -DKRANC_DIFF_FUNCTIONS -g -traceback -debug all -xSSE4.2 -align -std=c99 -restrict -openmp CUCC_DEBUG_FLAGS = -DCARPET_DEBUG -O0 CUCC_OPTIMISE_FLAGS = -O2 CUCC_WARN_FLAGS = CU_DEPEND = /opt/apps/intel/11.1/bin/intel64/icpc -M -x c++ -DMPICH_IGNORE_CXX_SEEK -DKRANC_DIFF_FUNCTIONS -openmp VECTORISE = yes VECTORISE_ALIGNED_ARRAYS = no # yes # -check-uninit aborts for uninitialised variables, which is too strict 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 # -O3 miscompiles parts of CarpetLib # -ip leads to wrong physics when OpenMP is used 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 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 = BLAS_DIR = /opt/apps/intel/11.1/mkl/lib/em64t BLAS_LIBS = -Wl,--start-group mkl_intel_lp64 mkl_intel_thread mkl_core -Wl,--end-group iomp5 pthread GIT_DIR = /opt/apps/git/1.7.3.5 GSL_DIR = /opt/apps/intel11_1/gsl/1.14 LAPACK_DIR = /opt/apps/intel/11.1/mkl/lib/em64t LAPACK_LIBS = -Wl,--start-group mkl_lapack mkl_intel_lp64 mkl_intel_thread mkl_core -Wl,--end-group MPI = CUSTOM MPI_INC_DIRS = /opt/apps/intel11_1/mvapich2/1.6/include MPI_LIB_DIRS = /opt/apps/intel11_1/mvapich2/1.6/lib MPI_LIBS = mpich rt PAPI_DIR = /opt/apps/papi/4.1.2.1 PETSC_DIR = /opt/apps/intel11_1/mvapich2_1_6/petsc/3.1 PETSC_ARCH = westmere PETSC_ARCH_LIBS = HYPRE spai chaco spooles superlu_dist_2.4 superlu_4.0 dmumps mumps_common pord parmetis metis PLAPACK scalapack blacs X11 PTHREADS = yes