See the Intel MKL Link Line Advisor:
https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor
In the "Select dynamic or static linking" drop down box, you could
select "Static" instead of "Dynamic".
On 10/10/2017 10:20 AM, Nacir GUECHI wrote:
Dear wien2k users,
I want to install wien2k-17 version with static linking of all
libraries. so, how set *compiler options*, *Linker Flags*,
*Preprocessor flags* and *R_LIBS (**LAPACK+BLAS*) ?
-
i used for dynamic compilation ifort and icc (version 15) with the
following settings:
*O Compiler options*: -O1 -FR -mp1 -w -prec_div -pc80 -pad -ip
-DINTEL_VML -traceback -assume buffered_io -I$(MKLROOT)/include
*L Linker Flags*: $(FOPT) -L$(MKLROOT)/lib/$(MKL_TARGET_ARCH) -pthread
*P Preprocessor flags* '-DParallel'
*R R_LIBS (LAPACK+BLAS)*: -lmkl_lapack95_lp64 -lmkl_intel_lp64
-lmkl_intel_thread -lmkl_core -openmp -lpthread
-
Best regards;
N. GUECHI
___
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html