Skip to content
Snippets Groups Projects
Commit 0efdbb84 authored by Jan Thorbecke's avatar Jan Thorbecke
Browse files

adjusments

parent b6a80a31
No related branches found
No related tags found
No related merge requests found
...@@ -158,7 +158,7 @@ void dfti_status_print(MKL_LONG status) ...@@ -158,7 +158,7 @@ void dfti_status_print(MKL_LONG status)
char* error_message; char* error_message;
error_message = DftiErrorMessage(status); error_message = DftiErrorMessage(status);
printf("error_message = %s \n", error_message); printf("error_message = %s \n", error_message);
return; return;
} }
#endif #endif
......
...@@ -88,6 +88,8 @@ MKLLIB=${MKLROOT}/lib ...@@ -88,6 +88,8 @@ MKLLIB=${MKLROOT}/lib
#for GNU compilers #for GNU compilers
#you might need to add intel64 to : ${MKLROOT}/lib/intel64 #you might need to add intel64 to : ${MKLROOT}/lib/intel64
BLAS = -L${MKLROOT}/lib/ -lmkl_gf_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl BLAS = -L${MKLROOT}/lib/ -lmkl_gf_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl
#for GNU on OSX
#BLAS = -L${MKLROOT}/lib/ -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl
#on linux you want to use groups and MKL is in lib/intel64 #on linux you want to use groups and MKL is in lib/intel64
#MKLLIB=${MKLROOT}/lib/intel64 #MKLLIB=${MKLROOT}/lib/intel64
#BLAS = -Wl,-rpath ${MKLLIB} -Wl,--start-group -L${MKLLIB} -lmkl_gf_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group -lpthread -lm -ldl #BLAS = -Wl,-rpath ${MKLLIB} -Wl,--start-group -L${MKLLIB} -lmkl_gf_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group -lpthread -lm -ldl
...@@ -106,11 +108,13 @@ MKLLIB=${MKLROOT}/lib ...@@ -106,11 +108,13 @@ MKLLIB=${MKLROOT}/lib
OPTC += -DMKL -I$(MKLROOT)/include OPTC += -DMKL -I$(MKLROOT)/include
#for GNU compilers #for GNU compilers
FFT = -Wl,-rpath ${MKLLIB} -L${MKLLIB} -lmkl_gf_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl FFT = -Wl,-rpath ${MKLLIB} -L${MKLLIB} -lmkl_gf_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl
#for GNU on OSX
#FFT = -L${MKLROOT}/lib/ -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl
#on linux you want to use groups and MKL is in lib/intel64 #on linux you want to use groups and MKL is in lib/intel64
#MKLLIB=${MKLROOT}/lib/intel64 #MKLLIB=${MKLROOT}/lib/intel64
#FFT = -Wl,-rpath ${MKLLIB} -Wl,--start-group -L${MKLLIB} -lmkl_gf_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group -lpthread -lm -ldl #FFT = -Wl,-rpath ${MKLLIB} -Wl,--start-group -L${MKLLIB} -lmkl_gf_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group -lpthread -lm -ldl
#for Intel compilers #for Intel compilers
#FFT = -Wl,-rpath ${MKLLIB} -Wl,--start-group -L${MKLLIB} -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group -lpthread -lm -ldl #FFT = -Wl,-rpath ${MKLLIB} -L${MKLLIB} -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl
#LIBARIES #LIBARIES
LIBS= -L$L -lgenfft $(FFT) $(BLAS) LIBS= -L$L -lgenfft $(FFT) $(BLAS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment