installation VASP 6.2.0

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

Moderators: Global Moderator, Moderator

Post Reply
Message
Author
sang-woo_joo1
Newbie
Newbie
Posts: 6
Joined: Fri Jan 19, 2024 4:25 am

installation VASP 6.2.0

#1 Post by sang-woo_joo1 » Tue Jan 30, 2024 7:56 am

I have install all the VASP need in VASP wiki but it always error, can you
help me of this. This is an error
make: icpc: No such file or directory
make: *** Error 127
make: Leaving directory
'/home/hpc-ssu/.local/share/Trash/files/vasp.6.2.0/build/gam/parser'
make: *** Error 2
make: Leaving directory
'/home/hpc-ssu/.local/share/Trash/files/vasp.6.2.0/build/gam/parser'
make: *** Error 2
make: Leaving directory
'/home/hpc-ssu/.local/share/Trash/files/vasp.6.2.0/build/gam'
make: *** Error 2

manuel_engel1
Global Moderator
Global Moderator
Posts: 65
Joined: Mon May 08, 2023 4:08 pm

Re: installation VASP 6.2.0

#2 Post by manuel_engel1 » Tue Jan 30, 2024 1:27 pm

Please provide further information according to the Forum Posting Guidelines. In order to assist you, I need at least the makefile.include and the full output of the make/compilation process that contains the error messages.
Manuel
VASP developer

sang-woo_joo1
Newbie
Newbie
Posts: 6
Joined: Fri Jan 19, 2024 4:25 am

Re: installation VASP 6.2.0

#3 Post by sang-woo_joo1 » Wed Jan 31, 2024 4:16 am

manuel_engel1 wrote: Tue Jan 30, 2024 1:27 pm Please provide further information according to the Forum Posting Guidelines. In order to assist you, I need at least the makefile.include and the full output of the make/compilation process that contains the error messages.


This is a zip file that contain the make.file and error message in terminal
You do not have the required permissions to view the files attached to this post.

manuel_engel1
Global Moderator
Global Moderator
Posts: 65
Joined: Mon May 08, 2023 4:08 pm

Re: installation VASP 6.2.0

#4 Post by manuel_engel1 » Wed Jan 31, 2024 9:22 am

You are trying to compile VASP using Intel compilers. This includes the Intel C and C++ compilers icc and icpc. The errors you encounter suggest that these compilers do not exist or cannot be found in your environment. This often occurs when you haven't loaded the correct modules on your machine or when your PATH does not point to the correct compiler locations. Please make sure that the Intel compilers can be found during the VASP compilation process. This includes the Intel Fortran compilers used at the later stages of the compilation process.
Manuel
VASP developer

sang-woo_joo1
Newbie
Newbie
Posts: 6
Joined: Fri Jan 19, 2024 4:25 am

Re: installation VASP 6.2.0

#5 Post by sang-woo_joo1 » Thu Feb 01, 2024 5:45 am

manuel_engel1 wrote: Wed Jan 31, 2024 9:22 am You are trying to compile VASP using Intel compilers. This includes the Intel C and C++ compilers icc and icpc. The errors you encounter suggest that these compilers do not exist or cannot be found in your environment. This often occurs when you haven't loaded the correct modules on your machine or when your PATH does not point to the correct compiler locations. Please make sure that the Intel compilers can be found during the VASP compilation process. This includes the Intel Fortran compilers used at the later stages of the compilation process.
I have install a oneapi toolkit and add it .bashrc file source path of the complier, but it not still error the same.

Thank you for your help.

manuel_engel1
Global Moderator
Global Moderator
Posts: 65
Joined: Mon May 08, 2023 4:08 pm

Re: installation VASP 6.2.0

#6 Post by manuel_engel1 » Thu Feb 01, 2024 10:59 am

I'm happy to help. However, it is difficult for me to assess what exactly the issue is. Instead of trying to compile VASP, could you please do the following as a test:

In your terminal window, navigate to the VASP root folder (the one that has the makefile and makefile.include in it) and execute the following commands:

Code: Select all

icpc --version
which icpc
The first command invokes the icc compiler and simply prints its version to the console. The second prints the location of the icc compiler. Please, confirm for yourself that this location is indeed correct. If either of these commands fail, then the icc compiler is not found within your environment. In this case, please make sure that you have correctly installed the Intel toolchain and that it is made available to the environment where you compile VASP.
Manuel
VASP developer

sang-woo_joo1
Newbie
Newbie
Posts: 6
Joined: Fri Jan 19, 2024 4:25 am

Re: installation VASP 6.2.0

#7 Post by sang-woo_joo1 » Fri Feb 02, 2024 6:48 am

manuel_engel1 wrote: Thu Feb 01, 2024 10:59 am I'm happy to help. However, it is difficult for me to assess what exactly the issue is. Instead of trying to compile VASP, could you please do the following as a test:

In your terminal window, navigate to the VASP root folder (the one that has the makefile and makefile.include in it) and execute the following commands:

Code: Select all

icpc --version
which icpc
The first command invokes the icc compiler and simply prints its version to the console. The second prints the location of the icc compiler. Please, confirm for yourself that this location is indeed correct. If either of these commands fail, then the icc compiler is not found within your environment. In this case, please make sure that you have correctly installed the Intel toolchain and that it is made available to the environment where you compile VASP.
I have do icpc --version and it does not have it, because I have download the latest of oneapi toolkit and it does not include the icpc in the package, I think the lasest of the oneapi toolkit is the problem. I have search for the old version of oneapi toolkit (2022), but it does not available.

Thank you for your help.

manuel_engel1
Global Moderator
Global Moderator
Posts: 65
Joined: Mon May 08, 2023 4:08 pm

Re: installation VASP 6.2.0

#8 Post by manuel_engel1 » Mon Feb 05, 2024 9:20 am

Ah, I see now. We currently do not support direct compilation with the new compilers in the Intel oneAPI. This will be available in upcoming VASP versions. However, if you have access to the older (legacy) Intel compilers, you should be able to compile as usual using the Intel makefile.include. Let me know how it goes.
Manuel
VASP developer

sang-woo_joo1
Newbie
Newbie
Posts: 6
Joined: Fri Jan 19, 2024 4:25 am

Re: installation VASP 6.2.0

#9 Post by sang-woo_joo1 » Tue Feb 06, 2024 6:36 am

manuel_engel1 wrote: Mon Feb 05, 2024 9:20 am Ah, I see now. We currently do not support direct compilation with the new compilers in the Intel oneAPI. This will be available in upcoming VASP versions. However, if you have access to the older (legacy) Intel compilers, you should be able to compile as usual using the Intel makefile.include. Let me know how it goes.
I have fixed the file makefile.include and it run successfully.
Thank you for your help.

Post Reply