@@ -54,6 +54,22 @@ HDF5_LIBS=-L/n/Moorcroft_Lab/Users/mlongo/util/hdflib/hdf5_32/hdf5/lib \
5454# may benefit from collective I/O, then use this flag = 1
5555# Otherwise, set it to zero.
5656
57+
58+ #------------------------------------------------------------------------------------------#
59+ # Linear Algebra Package (LAPACK) libraries. #
60+ # #
61+ # Lapack is a well-established package for solving linear systems in Fortran. This is #
62+ # more efficient than the former built-in solution, and thus it became the new default. #
63+ # #
64+ # For those compiling the code with Intel compilers (ifort/icc), leave these empty and #
65+ # compile the code with the Math Kernel Library option instead (-mkl or -qmkl depending on #
66+ # the ifort/icc version). Otherwise, provide the path to Lapack installation. #
67+ #------------------------------------------------------------------------------------------#
68+ LAPACK_PATH=
69+ LAPACK_INCS=
70+ LAPACK_LIBS=
71+ #------------------------------------------------------------------------------------------#
72+
5773USE_COLLECTIVE_MPIO=0
5874
5975#---------------------------------------------------------------
@@ -222,11 +238,11 @@ MOD_EXT=mod
222238# face problems. If it successfully compiles, then you can switch to B. #
223239#------------------------------------------------------------------------------------------#
224240#USE_INTERF=0
225- #F_OPTS= -FR -O0 -recursive -Vaxlib -check all -g -fpe0 -ftz -gen-interfaces \
241+ #F_OPTS= -FR -O0 -recursive -qmkl - Vaxlib -check all -g -fpe0 -ftz -gen-interfaces \
226242 -warn interfaces -debug extended -debug inline_debug_info -debug-parameters all \
227243 -traceback -ftrapuv -fp-stack-check -implicitnone -openmp -static
228244#C_OPTS= -O0 -DLITTLE -g -traceback -debug extended -static
229- #LOADER_OPTS= -FR -O0 -Vaxlib -check all -g -fpe0 -ftz -gen-interfaces \
245+ #LOADER_OPTS= -FR -O0 -recursive -qmkl - Vaxlib -check all -g -fpe0 -ftz -gen-interfaces \
230246 -warn interfaces -debug extended -debug inline_debug_info \
231247 -debug-parameters all -traceback -ftrapuv -fp-stack-check -implicitnone -openmp -static
232248#C_LOADER_OPTS=-v -g -traceback
@@ -241,13 +257,13 @@ MOD_EXT=mod
241257# Note, however, that if you change arguments you should first try A. #
242258#------------------------------------------------------------------------------------------#
243259USE_INTERF=1
244- F_OPTS= -FR -O0 -recursive -Vaxlib -check all -g -fpe0 -ftz -debug extended \
260+ F_OPTS= -FR -O0 -recursive -qmkl - Vaxlib -check all -g -fpe0 -ftz -debug extended \
245261 -debug inline_debug_info -static -debug-parameters all -traceback -ftrapuv \
246262 -fp-stack-check -implicitnone -openmp
247263C_OPTS= -O0 -DLITTLE -g -traceback -debug extended -static
248- LOADER_OPTS= -FR -O0 -Vaxlib -static -check all -g -fpe0 -ftz -debug extended \
249- -debug inline_debug_info -debug-parameters all -traceback -ftrapuv \
250- -fp-stack-check -implicitnone -openmp
264+ LOADER_OPTS= -FR -O0 -recursive -qmkl - Vaxlib -static -check all -g -fpe0 -ftz \
265+ -debug extended -debug inline_debug_info -debug-parameters all -traceback \
266+ -ftrapuv - fp-stack-check -implicitnone -openmp
251267C_LOADER_OPTS=-v -g -traceback -static
252268#------------------------------------------------------------------------------------------#
253269
@@ -259,11 +275,11 @@ C_LOADER_OPTS=-v -g -traceback -static
259275# failing or giving instabilities, or funny results after a long time. #
260276#------------------------------------------------------------------------------------------#
261277#USE_INTERF=1
262- #F_OPTS= -FR -O2 -recursive -Vaxlib -check all -g -fpe0 -ftz -debug extended \
278+ #F_OPTS= -FR -O2 -recursive -qmkl - Vaxlib -check all -g -fpe0 -ftz -debug extended \
263279 -debug inline_debug_info -debug-parameters all -traceback -ftrapuv \
264280 -fp-stack-check -implicitnone -openmp -static
265281#C_OPTS= -O2 -DLITTLE -g -traceback -debug extended -static
266- #LOADER_OPTS= -FR -O2 -Vaxlib -check all -g -fpe0 -ftz -debug extended \
282+ #LOADER_OPTS= -FR -O2 -Vaxlib -recursive -qmkl -check all -g -fpe0 -ftz -debug extended \
267283 -debug inline_debug_info -debug-parameters all -traceback -ftrapuv \
268284 -fp-stack-check -implicitnone -openmp -static
269285#C_LOADER_OPTS=-v -g -traceback -static
@@ -276,10 +292,10 @@ C_LOADER_OPTS=-v -g -traceback -static
276292# or if you have a good idea of which problem you are dealing with. #
277293#------------------------------------------------------------------------------------------#
278294#USE_INTERF=1
279- #F_OPTS= -FR -O2 -recursive -Vaxlib -check all -fpe0 -ftz -traceback -ftrapuv \
295+ #F_OPTS= -FR -O2 -recursive -qmkl - Vaxlib -check all -fpe0 -ftz -traceback -ftrapuv \
280296 -fp-stack-check -implicitnone -openmp
281297#C_OPTS= -O2 -DLITTLE -traceback
282- #LOADER_OPTS= -FR -O2 -Vaxlib -check all -fpe0 -ftz -traceback -ftrapuv \
298+ #LOADER_OPTS= -FR -O2 -Vaxlib -recursive -qmkl -check all -fpe0 -ftz -traceback -ftrapuv \
283299 -fp-stack-check -implicitnone -openmp
284300#C_LOADER_OPTS=-v -traceback
285301#------------------------------------------------------------------------------------------#
@@ -292,9 +308,9 @@ C_LOADER_OPTS=-v -g -traceback -static
292308# velopers. #
293309#------------------------------------------------------------------------------------------#
294310#USE_INTERF=1
295- #F_OPTS= -FR -O3 -recursive -Vaxlib -traceback
311+ #F_OPTS= -FR -O3 -recursive -qmkl - Vaxlib -traceback
296312#C_OPTS= -O3 -DLITTLE -traceback
297- #LOADER_OPTS= -FR -O3 -Vaxlib -traceback
313+ #LOADER_OPTS= -FR -O3 -recursive -qmkl -Vaxlib -traceback
298314#C_LOADER_OPTS=-v -traceback
299315#------------------------------------------------------------------------------------------#
300316
0 commit comments