problems with compilation of vasp.4.lib

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
lanjh

problems with compilation of vasp.4.lib

#1 Post by lanjh » Mon Jun 11, 2007 11:18 am

Hi,
my server is P4,Xeon CPU . When compiling the vasp.4.lib, I fist use: ln -s makefile.linux_ifc_P4 Makefile, then replace ifc with ifort, after make, but the following appears:

ifort -O0 -FI -FR -c preclib.f
fortcom: Severe: The input stream is empty
compilation aborted for preclib.f (code 1)
make: *** [preclib.o] Error 1

Is anyone know what problem it is ?
Last edited by lanjh on Mon Jun 11, 2007 11:18 am, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

problems with compilation of vasp.4.lib

#2 Post by admin » Mon Jun 11, 2007 1:01 pm

please check if
1) preclib.F is in the directory
2) if it is, if your precompiler has generated preclib.f correctly
Last edited by admin on Mon Jun 11, 2007 1:01 pm, edited 1 time in total.

lanjh

problems with compilation of vasp.4.lib

#3 Post by lanjh » Mon Jun 11, 2007 11:35 pm

Hi ,sir! I have checked the preclib.f. It is truely empty. How to solve this problem?
Last edited by lanjh on Mon Jun 11, 2007 11:35 pm, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

problems with compilation of vasp.4.lib

#4 Post by admin » Fri Jun 15, 2007 11:04 am

this must be a problem of your precompiler, (which converts preclib.F to preclib.f).
please check
--) whether the gcc preprocessor is installed (properly) on your machine
--) preclib.f is generated if you give
gcc -E -P -C preclib.F > preclib.f
as a command-line in your shell.
Last edited by admin on Fri Jun 15, 2007 11:04 am, edited 1 time in total.

Post Reply