Page 1 of 1

VASP v6.5.0 compiler error with oneapi

Posted: Fri Jan 24, 2025 8:23 am
by ydaniel

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


Re: VASP v6.5.0 compiler error with oneapi

Posted: Fri Jan 24, 2025 7:29 pm
by ahampel

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


Re: VASP v6.5.0 compiler error with oneapi

Posted: Sat Jan 25, 2025 8:48 am
by ydaniel

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


Re: VASP v6.5.0 compiler error with oneapi

Posted: Sat Jan 25, 2025 1:02 pm
by ahampel

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


Re: VASP v6.5.0 compiler error with oneapi

Posted: Tue Jan 28, 2025 5:58 am
by ydaniel

hello.

As you suggested, I did make without modifying the makefile.include.oneapi file, but an error occurred.

Are there any parts that need to be modified?

They say the problem is the INCLUDE reference, but the FFTW INCLUDE PATH is also well specified.

What is the cause of the INCLUDE problem that continues to occur?

It is summarized in the Notion link below (table of contents: error2)

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


Re: VASP v6.5.0 compiler error with oneapi

Posted: Tue Jan 28, 2025 9:28 am
by ahampel

Sorry that I did not notice this earlier but your command to compile VASP in parallel is wrong. You have to use

Code: Select all

make DEPS=1 -j8

Otherwise VASP will not compile its dependency in the correct order. Please try also just a normal make std without parallel build if there is still a problem.

Best,
Alex