Problems with the compilation of the library files...

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
vasp
Newbie
Newbie
Posts: 29
Joined: Mon Jun 19, 2006 7:03 am
License Nr.: 853
Location: FAMU

Problems with the compilation of the library files...

#1 Post by vasp » Tue May 22, 2007 2:04 pm

Okay, so I entered the directory: vasp.4.lib

I copied what I believe to be the appropriate makefile.machine to Makefile. I am using the Intel Fortran Compiler (Version 9.1.043) on a computer that uses Ubuntu Linux (Version 7.0.4 or something), and the computer has a Pentium 4 processor, so I used the following command:

cp makefile.linux_ifc_P4 Makefile

I then used the command: make and I got the following error:

gcc -E -P -C preclib.F >preclib.f
ifc -O0 -FI -FR -c preclib.f
make: ifc: Command not found
make: *** [preclib.o] Error 127

Does anyone know what that means? I was thinking maybe the Makefile is trying to invoke the Intel Fortran Compiler using "ifc" instead of "ifort" like it should be, but I'm not sure. In any event, I certainly don't know how to fix it. Please help!
Last edited by vasp on Tue May 22, 2007 2:04 pm, edited 1 time in total.

vasp
Newbie
Newbie
Posts: 29
Joined: Mon Jun 19, 2006 7:03 am
License Nr.: 853
Location: FAMU

Problems with the compilation of the library files...

#2 Post by vasp » Tue May 22, 2007 6:43 pm

I fixed my own problem. I forgot to type in:

source ifortvars.sh before using the "make" command.
Last edited by vasp on Tue May 22, 2007 6:43 pm, edited 1 time in total.

Post Reply