Page 1 of 1

problems with compilation of vasp.4.lib

Posted: Mon Jun 11, 2007 11:18 am
by lanjh
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 ?

problems with compilation of vasp.4.lib

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

problems with compilation of vasp.4.lib

Posted: Mon Jun 11, 2007 11:35 pm
by lanjh
Hi ,sir! I have checked the preclib.f. It is truely empty. How to solve this problem?

problems with compilation of vasp.4.lib

Posted: Fri Jun 15, 2007 11:04 am
by admin
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.