VASP v6.5.0 compiler error with oneapi

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
ydaniel
Newbie
Newbie
Posts: 2
Joined: Thu Jan 02, 2025 11:53 pm

VASP v6.5.0 compiler error with oneapi

#1 Post by ydaniel » Fri Jan 24, 2025 8:23 am

hello

I would like to inquire because an error occurred during the vasp v6.5.0 installation process.

The notion link below summarizes the installed contents.

I would appreciate it if you could let me know which parts of the installation process are problematic.

https://adorable-echo-f52.notion.site/2 ... 9cad?pvs=4

Plz.. HELP


ahampel
Global Moderator
Global Moderator
Posts: 71
Joined: Tue Feb 16, 2016 11:41 am

Re: VASP v6.5.0 compiler error with oneapi

#2 Post by ahampel » Fri Jan 24, 2025 7:29 pm

Hi ydaniel,

thank you for reaching out to us via the official VASP forum.

Okay it seems that there is a problem with finding the compiled libmbd module files, or better the includes:

Code: Select all

libmbd.F(57): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.  

You did set: LIBMBD_ROOT ?= /home/vasp/src/libmbd However you did set for libmbd

Code: Select all

cmake .. -DCMAKE_INSTALL_PREFIX=/home/vasp/libmbd

or does this give the the same error if you set

Code: Select all

LIBMBD_ROOT ?= /home/vasp/libmbd

?

Then I would encourage you to first try to build VASP without all the extras, i.e. without libmbd, elpa, dftd4, libbeef, libxc, wannier90, and without HDF5. If that works turn them on again one after each other. Then we can find out which one could be a problem and if the base setup works. Also note that you should check if all the manually compiled packages were build using the intel oneapi compilers to ensure compatibility.

Best,
Alex


ydaniel
Newbie
Newbie
Posts: 2
Joined: Thu Jan 02, 2025 11:53 pm

Re: VASP v6.5.0 compiler error with oneapi

#3 Post by ydaniel » Sat Jan 25, 2025 8:48 am

Thank you for your service.

Even if you remove all other libraries and install only oneapi, an error occurs.

Are there any options in the makefile.include file that need to be modified?

I am attaching an additional error section at the bottom of the above notion page. (only oneapi)

https://adorable-echo-f52.notion.site/2 ... 9cad?pvs=4


ahampel
Global Moderator
Global Moderator
Posts: 71
Joined: Tue Feb 16, 2016 11:41 am

Re: VASP v6.5.0 compiler error with oneapi

#4 Post by ahampel » Sat Jan 25, 2025 1:02 pm

Okay I see. I noticed that you are using intel oneapi 2022 and used the arch/makefile.include.intel . Could you try to use the arch/makefile.include.oneapi instead and see what the result is? In principle you should not need to adapt anything in it. Just make sure that echo $MKLROOT points to your mkl installation. But that should work after sourcing the intel compiler vars scripts as you did.

Best,
Alex


Post Reply