# Knights-Landing test # by Hee Il Kim # Whenever this version string changes, the application is configured # and rebuilt from scratch # fist try failed mcpcom error --> changed FPP part # --> -traditional option at FPPFLAGS error --> removed VERSION = 2016-11-28 CPP = cpp FPP = cpp CC = icc CXX = icpc F90 = ifort #ENDIAN = little # -inline-debug-info leads to compiler crashes when used with optimisation CPPFLAGS = -DMPICH_SKIP_MPICXX -DMPICH_IGNORE_CXX_SEEK FPPFLAGS = -traditional CFLAGS = -g -traceback -debug all -align -std=c99 -ansi_alias -align -U__STRICT_ANSI__ CXXFLAGS = -g -traceback -debug all -align -restrict -std=c++11 F90FLAGS = -g -traceback -debug all -align -pad -safe-cray-ptr LDFLAGS = -rdynamic LIBDIRS = /opt/intel/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64_lin LIBS = -lifcore C_LINE_DIRECTIVES = yes F_LINE_DIRECTIVES = yes # -check-uninit fails for asm output operands 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 # 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 = -O1 -xMIC-AVX512 CXX_OPTIMISE_FLAGS = -O1 -xMIC-AVX512 F90_OPTIMISE_FLAGS = -O1 -xMIC-AVX512 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 = -qopenmp FPP_OPENMP_FLAGS = C_OPENMP_FLAGS = -qopenmp CXX_OPENMP_FLAGS = -qopenmp F77_OPENMP_FLAGS = -qopenmp F90_OPENMP_FLAGS = -qopenmp WARN = yes CPP_WARN_FLAGS = FPP_WARN_FLAGS = C_WARN_FLAGS = CXX_WARN_FLAGS = F77_WARN_FLAGS = F90_WARN_FLAGS = BLAS_DIR = NO_BUILD BLAS_LIBS = -mkl=sequential #BOOST_DIR = BUILD #GSL_DIR = BUILD GSL_DIR = /usr LAPACK_DIR = NO_BUILD LAPACK_LIBS = -mkl=sequential MPI_DIR = /opt/intel/impi/2017.1.132/intel64 MPI_LIBS = mpicxx mpifort mpi mpigi PTHREADS = yes