Page 1 of 1

Problems with the compilation of the library files...

Posted: Tue May 22, 2007 2:04 pm
by vasp
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!

Problems with the compilation of the library files...

Posted: Tue May 22, 2007 6:43 pm
by vasp
I fixed my own problem. I forgot to type in:

source ifortvars.sh before using the "make" command.