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
Moderators: Global Moderator, Moderator
problems with compilation of vasp.4.lib
Last edited by lanjh on Mon Jun 11, 2007 11:18 am, edited 1 time in total.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
problems with compilation of vasp.4.lib
please check if
1) preclib.F is in the directory
2) if it is, if your precompiler has generated preclib.f correctly
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.
problems with compilation of vasp.4.lib
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.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
problems with compilation of vasp.4.lib
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.
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.