[Wien] relinking the code, keeping compiled object files

Ilias Miroslav, doc. RNDr., PhD. miroslav.ilias at umb.sk
Tue May 30 10:38:27 CEST 2023


Dear Sirs,

thanks for your kind rerply. Indeed the $(MKLROOT) fixed the problem.

Ad: "You don't need to specify the full path of a library when you have MKLROOT defined. "

Wien2k offers the default
R_LIB (LAPACK+BLAS):     -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core

I specified, based on the MKL link line tool,   https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html  :

$(MKLROOT)/lib/intel64/libmkl_blas95_lp64.a $(MKLROOT)/lib/intel64/libmkl_lapack95_lp64.a -L$(MKLROOT)/lib/intel64 -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_lp64 -liomp5 -lpthread -lm -ldl

I put there scalapack also, intel_mpi and all other stuff, to be on the right side of the barricade. So you say the Wien2k installer finds everythink rergarding MKL ? I may try later...

Best,

Miro



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20230530/5e6e0928/attachment.htm>


More information about the Wien mailing list