Skip to content

Commit

Permalink
Update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Trovemaster committed Jun 13, 2024
1 parent a557123 commit a3fd26d
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ tarball:
checkin:
ci -l Makefile *.f90

EXE = j-duo-v218.v1.x

#FPATH =

EXE = j-duo-2605.x

FOR = ifort # Fortran compiler
#FOR = gfortran
##FOR = gfortran

# Lorenzo Lodi ---- meaning of some flags used by the Intel fortran compiler
# see (e.g.) file:https:///opt/intel/composer_xe_2011_sp1.8.273/Documentation/en_US/compiler_f/main_for/index.htm
Expand Down Expand Up @@ -47,18 +50,20 @@ FOR = ifort # Fortran compiler

#NOTE: -fpe0 will stop on floating-point exceptions. Do not use this flag because LAPACK makes use of divide by zero etc.
#
##FFLAGS = -O0 -fpe0 -fltconsistency -stand f03 -check all -warn all -traceback -fp-stack-check # debugging options
#FFLAGS = -O0 -fpe0 -fltconsistency -stand f03 -check all -warn all -traceback -fp-stack-check # debugging options

FFLAGS = -O3 -ipo -qopenmp -mkl=parallel # -xHost -fast

#FFLAGS = -C -check bounds -g -gen-interfaces -warn interfaces -check arg_temp_created -prof-value-profiling=all -warn all

FFLAGS = -O3 -ip -qopenmp -mkl=parallel # -xHost -fast
#FFLAGS = -O3
##FFLAGS = -C -check bounds -g -gen-interfaces -warn interfaces -check arg_temp_created -prof-value-profiling=all -warn all
##FFLAGS = -O3 -ip -openmp # no optimization -- fast compilation
##FFLAGS = -W -Wall -fbounds-check -pedantic-errors -std=f2003 -Wunderflow -O0 -fbacktrace -g -Wextra
#FFLAGS = -O3 -ipo -qopenmp # no optimization -- fast compilation
##FFLAGS = -W -Wall -fbounds-check -pedantic-errors -std=f2008 -Wunderflow -O0 -fbacktrace -g -Wextra


#ARPACK = ~/libraries/ARPACK/libarpack_omp_64.a

LAPACK = -Qmkl:parallel -static
LAPACK = -mkl=parallel -static
#LAPACK = -mkl=parallel -static

LIB = $(LAPACK)

Expand Down

0 comments on commit a3fd26d

Please sign in to comment.