diff --git a/AMSS_NCKU_source/makefile.inc b/AMSS_NCKU_source/makefile.inc index d9fa726..8068ef3 100755 --- a/AMSS_NCKU_source/makefile.inc +++ b/AMSS_NCKU_source/makefile.inc @@ -7,9 +7,8 @@ filein = -I/usr/include/ -I${MKLROOT}/include ## Using sequential MKL (OpenMP disabled for better single-threaded performance) -LDLIBS = -L/usr/lib/x86_64-linux-gnu -L/usr/lib64 -lifcore -limf -lmpi \ - -L${MKLROOT}/lib -lmkl_intel_lp64 -lmkl_sequential -lmkl_core \ - -lpthread -lm -ldl +## Added -lifcore for Intel Fortran runtime and -limf for Intel math library +LDLIBS = -L${MKLROOT}/lib -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lifcore -limf -lpthread -lm -ldl ## Aggressive optimization flags: ## -O3: Maximum optimization