# Whenever this version string changes, the application is configured # and rebuilt from scratch #last tested 1-11-2022 #last edited 3-11-2022 VERSION = kanad-2022-10-27 CPP = cpp FPP = cpp CC = /opt/apps/gcc/gcc-7.3.0/bin/gcc CXX = /opt/apps/gcc/gcc-7.3.0/bin/g++ #F77 = /usr/local/compilers/Intel/composer_xe_2013.5.192/bin/intel64/ifort F90 = /opt/apps/gcc/gcc-7.3.0/bin/gfortran #CPPFLAGS = FPPFLAGS = --traditional CFLAGS = -g3 -march=native -std=gnu11 CXXFLAGS = -g3 -march=native -std=gnu++11 #F77FLAGS = -g -xHOST -align -pad -safe_cray_ptr F90FLAGS = -g3 -march=native -fcray-pointer -ffixed-line-length-none #LDFLAGS = -Wl,-rpath,/opt/intel/composer_xe_2013.1.117/bin/intel64 -Wl,-rpath,/opt/intel/composer_xe_2013.1.117/mkl/lib/intel64 #LIBDIRS = /usr/local/packages/cuda/7.5/lib64 /usr/local/compilers/Intel/composer_xe_2013.5.192/compiler/lib/intel64 /usr/local/compilers/Intel/composer_xe_2013.5.192/mkl/lib/intel64 LIBS = gfortran 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 = no CPP_DEBUG_FLAGS = -DCARPET_DEBUG FPP_DEBUG_FLAGS = -DCARPET_DEBUG C_DEBUG_FLAGS = # -check-uninit CXX_DEBUG_FLAGS = # -check-uninit #F77_DEBUG_FLAGS = -check bounds -check format # -check all F90_DEBUG_FLAGS = -check bounds -check format # -check all OPTIMISE = yes CPP_OPTIMISE_FLAGS = # -DCARPET_OPTIMISE FPP_OPTIMISE_FLAGS = # -DCARPET_OPTIMISE C_OPTIMISE_FLAGS = -Ofast CXX_OPTIMISE_FLAGS = -Ofast #F77_OPTIMISE_FLAGS = -Ofast F90_OPTIMISE_FLAGS = -Ofast C_NO_OPTIMISE_FLAGS = -O0 CXX_NO_OPTIMISE_FLAGS = -O0 #F77_NO_OPTIMISE_FLAGS = -O0 F90_NO_OPTIMISE_FLAGS = -O0 #CUCC_NO_OPTIMISE_FLAGS = -O0 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 = -fopenmp FPP_OPENMP_FLAGS = -fopenmp C_OPENMP_FLAGS = -fopenmp CXX_OPENMP_FLAGS = -fopenmp #F77_OPENMP_FLAGS = -fopenmp F90_OPENMP_FLAGS = -fopenmp WARN = yes CPP_WARN_FLAGS = FPP_WARN_FLAGS = -Wall C_WARN_FLAGS = CXX_WARN_FLAGS = #CUCC_WARN_FLAGS = #F77_WARN_FLAGS = F90_WARN_FLAGS = #BLAS_DIR = /opt/apps/libs/blas #BLAS_LIBS = #LAPACK_DIR = /opt/apps/lapack/lapack-3.8.0 #LAPACK_LIBS = #OPENBLAS_DIR = /opt/apps/libs/blas/openblas #OPENBLAS_LIBS = -mkl #PETSC_DIR = BUILD #PETSC_BLAS_EXTRA_LIB_DIRS = /opt/intel/composer_xe_2013.1.117/mkl/lib/intel64 #PETSC_BLAS_EXTRA_LIBS = mkl_intel_lp64 mkl_intel_thread mkl_core iomp5 #PETSC_LAPACK_EXTRA_LIB_DIRS = /opt/intel/composer_xe_2013.1.117/mkl/lib/intel64 #PETSC_LAPACK_EXTRA_LIBS = mkl_intel_lp64 mkl_intel_thread mkl_core iomp5 FFTW3_DIR = /opt/apps/FFTW/fftw-3.3.3-intel-double GSL_DIR = /opt/apps/gsl/gsl-1.16 HDF5_DIR = /opt/apps/HDF5/1.8.10 LIBJPEG_DIR = /opt/apps/lib/libjpeg/1.2.1 ZLIB_DIR = /opt/apps/libs/zlib/1.2.8/gnu OPENSSL_DIR = /opt/apps/openssl/1.1.1a #FFTW3_DIR = BUILD # HDF5_DIR = BUILD #HWLOC_EXTRA_LIBS = numa MPI_DIR = /opt/apps/openmpi-3.1.4-intel MPI_INC_DIRS = /opt/apps/openmpi-3.1.4-intel/include MPI_LIB_DIRS = /opt/apps/openmpi-3.1.4-intel/lib MPI_LIBS = mpi PTHREADS_DIR = NO_BUILD #PAPI_DIR = /home/diener/papi-5.1.0.2-intel #PAPI_LIBS = papi #CUDA_DIR = /usr/local/packages/cuda/7.5 #CUCC = /usr/local/packages/cuda/7.5/bin/nvcc #CUCC_EXTRA_FLAGS = --maxrregcount 60 -Drestrict=__restrict__ # CUDA, configured with the flesh #CUCC = /usr/local/packages/cuda/7.5/bin/nvcc #CUCCFLAGS = -m 64 -arch sm_35 -g -maxrregcount 60 -Drestrict=__restrict__ #CUCC_OPTIMISE_FLAGS = -O3 -use_fast_math #CUCC_WARN_FLAGS = # CUDA, configured via thorn CUDA #CUDA_DIR = /usr/local/packages/cuda/7.5 #CUCC_ARCH = sm_35 #CUCC_EXTRA_FLAGS = -maxrregcount 63 -Drestrict=__restrict__ #CUCC_EXTRA_OPTIMISE_FLAGS = -use_fast_math #CUCC_EXTRA_WARN_FLAGS = -use_fast_math #OPENCL_DIR = /usr/local/packages/cuda/7.5