Skip to content

Commit 31cf45d

Browse files
committed
Make with the parallel libraries
1 parent 7a858d0 commit 31cf45d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ OBJS := $(addprefix $(BUILD_DIR)/,$(notdir $(SRCS:.f90=.o)))
3939
MKLROOT ?= /opt/intel/oneapi/mkl/latest
4040
MKL_LIB_DIR = $(MKLROOT)/lib/intel64
4141
MKL_INCLUDE_DIR = $(MKLROOT)/include
42-
MKL_FLAGS = -L$(MKL_LIB_DIR) -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl
42+
#MKL_FLAGS = -L$(MKL_LIB_DIR) -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl
43+
MKL_FLAGS = -L$(MKL_LIB_DIR) -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -lgomp -lpthread -lm -ldl
4344

4445
FFLAGS = -O3 -I$(MKL_INCLUDE_DIR)
4546
MODULEFLAGS = -J$(BUILD_DIR)
@@ -79,4 +80,4 @@ OMP: $(programs)
7980
./util/DShell/omp_exec.sh
8081

8182
clean:
82-
rm -f $(BUILD_DIR)/*.o $(BUILD_DIR)/*.mod $(programs)
83+
rm -f $(BUILD_DIR)/*.o $(BUILD_DIR)/*.mod $(programs)

0 commit comments

Comments
 (0)