Install error "fpp: Command not found"

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

Moderators: Global Moderator, Moderator

Locked
Message
Author
jethro_pryke
Newbie
Newbie
Posts: 6
Joined: Fri Mar 20, 2020 11:39 am

Install error "fpp: Command not found"

#1 Post by jethro_pryke » Tue Nov 17, 2020 3:25 pm

Hi

I am trying to install VASP using Intel parallel studio XE, following this youtube video (https://www.youtube.com/watch?v=cm_J2L6pwPE). However, I keep getting the errors shown in the "sdtout" file attached.

My processor is Intel® Core™ i7-9700 CPU, so I have edited the make.include file (also attached) with the corresponding OFLAG and Cache sizes.

I have also initialised the parallel studio tools using "source /home/jethro/Intel/parallel_studio_xe_2020.1.102/bin/psxevars.sh"

I have installed VASP using this method before on a different computer and it worked perfectly. But this time it seams to be failing to find the Intel commands. Do you know why this could be?

Thank you very much for the help
Jethro
You do not have the required permissions to view the files attached to this post.

ferenc_karsai
Global Moderator
Global Moderator
Posts: 422
Joined: Mon Nov 04, 2019 12:44 pm

Re: Install error "fpp: Command not found"

#2 Post by ferenc_karsai » Thu Nov 19, 2020 3:26 pm

From the output file it looks like your fortran compiler is not recognized.

Can you type "which mpiifort"? On some computers it's "mpifort" instead of "mpiifort".

jethro_pryke
Newbie
Newbie
Posts: 6
Joined: Fri Mar 20, 2020 11:39 am

Re: Install error "fpp: Command not found"

#3 Post by jethro_pryke » Fri Nov 20, 2020 10:28 am

Hi

Thanks for the reply. After typing "which mpiifort" it says "/home/jethro/Intel/compilers_and_libraries_2020.1.217/linux/mpi/intel64/bin/mpiifort". And similarly when I type "which fpp" it says
"/home/jethro/Intel/compilers_and_libraries_2020.1.217/linux/bin/intel64/fpp"

So I guess it is mpiifort on my computer and it knows that fpp exists. What to try next?

Thank you
Jethro

ferenc_karsai
Global Moderator
Global Moderator
Posts: 422
Joined: Mon Nov 04, 2019 12:44 pm

Re: Install error "fpp: Command not found"

#4 Post by ferenc_karsai » Fri Nov 20, 2020 11:30 am

Sorry I read it again and overlooked that the precompiler is not recognized.
Good that you checked that it recognizes it when you call "which fpp" from the terminal. But strangely It is not recognizing your precompiler fpp when you compile VASP with the makefile.
Your makefile.include looks ok.
Hard to tell.
So it could be that your environment variables and loaded modules change when you run your make in sudo mode?
Please also try to run without sudo.

jethro_pryke
Newbie
Newbie
Posts: 6
Joined: Fri Mar 20, 2020 11:39 am

Re: Install error "fpp: Command not found"

#5 Post by jethro_pryke » Mon Nov 23, 2020 12:23 pm

Hi

Attached is the output when I try "make all" without sudo. The bits that say "permission denied" is the reason why I was trying with sudo before.

Thanks
Jethro
You do not have the required permissions to view the files attached to this post.

martin.schlipf
Global Moderator
Global Moderator
Posts: 455
Joined: Fri Nov 08, 2019 7:18 am

Re: Install error "fpp: Command not found"

#6 Post by martin.schlipf » Mon Dec 14, 2020 8:34 am

Here are a couple of things, you can try:

Regarding the use of sudo: It may be that the permissions for the build folder are not set properly. Check whether you have permission to alter the directory or change it with chmod as necessary. It is not a good idea to use sudo, because it could then mess up important directories if you make a mistake in the makefile.include.

Can you check whether you can compile a dummy program

Code: Select all

program main
implicit none
write(*,*) 'Hello, World!'
end program main
using mpiifort? If that doesn't work, because mpiifort is not found, you PATH is not set up properly. When you are using the intel compilers, you usually ought to use something like
source /home/jethro/Intel/compilers_and_libraries_2020.1.217/linux/bin/compilervars.sh intel64
which exports mpiifort, sets the necessary variables like MKLROOT, etc. Did you do that? You can also check the environment variables MKLROOT and LD_LIBRARY_PATH contain references to your intel installation. Further note that if you open a new shell you need to reenter the command above, unless you put it in your .bashrc or .profile

If mpiifort works and really fpp is the culprit. First you can check whether fpp works outside of the VASP environment

Code: Select all

#ifdef HELLO
world
#endif
should print world if you provide the preprocessor flag fpp -DHELLO filename or just print comments if you just run fpp filename without any flag. In the unlikely scenario that it is really fpp and the whole intel setup, which is not working, you can switch to the cpp preprocessor.

Locked