# host-mahti-login1.mahti.csc.fi-GNU_Linux.conf # $Id$ #%include compilers/Intel_MPI %include compilers/Cray_MPI ####%include compilers/extensions/Intel_optimal %section Makefile # turn on software optimizations # for Intel, this should stay limited to -O2 at maximum for accuracy FFLAGS += -O0 -fPIC #-fopenmp FFLAGS += -I./astaroth/include CFLAGS += -O2 -fPIC -D_GNU_SOURCE LDFLAGS += -ldl -Wl,--no-relax # -fopenmp #LDFLAGS+=-Wl,-L/appl/lumi/SW/CrayEnv/EB/zlib/1.2.12-cpeCray-22.08/lib LDFLAGS+=-Wl,-L/appl/lumi/SW/LUMI-22.08/C/EB/zlib/1.2.12-cpeCray-22.08/lib #-l:libmt-fortran.a -l:libmt.a -lstdc++ # turn on inter-procedural optimizations (single- and multi-file) # FFLAGS += -ip -ipo # CFLAGS += -ip -ipo # FFLAGS += -ip # CFLAGS += -ip # turn on hardware optimizations #FFLAGS += -I${HDF5_ROOT}/include #FFLAGS += -march=core-avx2 -mcmodel=large -I${HDF5_INSTALL_ROOT}/include #CFLAGS += -march=core-avx2 %endsection Makefile %section runtime mpiexec = aprun %endsection runtime