[Wien] static linking of ifort-libraries

Gavin Abo gsabo at crimson.ua.edu
Wed Oct 11 05:02:51 CEST 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20171010/3de31244/attachment.html>


More information about the Wien mailing list