makefile.include for intel compilers uses multithreaded mkl

Questions regarding compilation of VASP on various platforms.

Moderators: Global Moderator, Moderator

makefile.include for intel compilers uses multithreaded mkl

Postby fish » Thu Jun 09, 2016 5:06 pm

To everyone building VASP with the Intel compilers and MKL libraries,

The makefile.include provided with the vasp.5.4.1 distribution uses the "-mkl" option for the linker (or the FCL variable). Note that this will link to the multithreaded MKL libraries under v16 of the Inter compilers. This can lead to poor performance, if the number of openMP threads generated by multithreaded MKL is greater than the number of cores on your node.

I would recommend using the -mkl=sequential option or not using the -mkl option and explicitly listing the required MKL libraries in the BLAS variable of makefile.include.

I have attached an makefile.include with this change as an example.

John J. Low
Argonne National Laboratory
fish
Newbie
Newbie
 
Posts: 11
Joined: Tue Jun 14, 2005 1:13 pm
Location: Argonne National Lab

Re: makefile.include for intel compilers uses multithreaded

Postby tgomez » Mon Mar 27, 2017 12:50 am

Hi, could you upload the file sample?
I have problems with the compilation and your input would help me so much.
Thanks
tgomez
Newbie
Newbie
 
Posts: 2
Joined: Mon Dec 10, 2012 7:27 pm
Location: Santiago-Chile

Re: makefile.include for intel compilers uses multithreaded

Postby cacarden » Fri Sep 22, 2017 7:27 pm

Dear John:
It seems that you did not attach the make.iluclude. Would you please share with us?
Thanks,
Carlos
cacarden
Newbie
Newbie
 
Posts: 3
Joined: Wed Oct 04, 2006 2:13 pm
Location: Núcleo Milenio de Mecánica Cuántica Aplicada y Quimica Computacional


Return to Installation problems

Who is online

Users browsing this forum: No registered users and 1 guest