Error compiling VASP 5.4.1 with intel compiler or gfortran

Questions regarding compilation of VASP on various platforms.

Moderators: Global Moderator, Moderator

Error compiling VASP 5.4.1 with intel compiler or gfortran

Postby tgomez » Wed Dec 28, 2016 9:58 pm

I use Ubuntu 16.04.1 LTS, intel compiler parallel_studio_xe_2017 and the VASP version 5.4.1.
The compilation is normal until a point when show that message:
make -C lib
make[2]: Entering directory '/home/tgomez/vasp/build/std/lib'
make libdmy.a
make[3]: Entering directory '/home/tgomez/vasp/build/std/lib'
make[3]: 'libdmy.a' is up to date.
make[3]: Leaving directory '/home/tgomez/vasp/build/std/lib'
make[2]: Leaving directory '/home/tgomez/vasp/build/std/lib'
rsync -u ../../src/*.F ../../src/*.inc .
rsync -u ../../src/*.f .
rsync: link_stat "/home/tgomez/vasp/src/*.f" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]
makefile:149: recipe for target 'sources' failed
make[1]: [sources] Error 23 (ignored)
make vasp ; cp vasp ../../bin/vasp_std
make[2]: Entering directory '/home/tgomez/vasp/build/std'
mpiifort -FR -free -names lowercase -assume byterecl -O3 -xCORE-AVX2 -I/opt/intel/compilers_and_libraries_2017.0.098/linux/mkl/include/fftw -c fock.f90
fock.F(4603): error #6404: This name does not have a type, and must have an explicit type. [NBLK]
DO N=1,NBLK
-----------^
compilation aborted for fock.f90 (code 1)
makefile:170: recipe for target 'fock.o' failed
make[2]: *** [fock.o] Error 1
make[2]: Leaving directory '/home/tgomez/vasp/build/std'
cp: cannot stat 'vasp': No such file or directory
makefile:142: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/home/tgomez/vasp/build/std'
makefile:10: recipe for target 'std' failed
make: *** [std] Error 2

I try many variants but no result.
Any suggestions?
Best regards
tgomez
Newbie
Newbie
 
Posts: 2
Joined: Mon Dec 10, 2012 7:27 pm
Location: Santiago-Chile

Re: Error compiling VASP 5.4.1 with intel compiler or gfortr

Postby admin » Wed Jul 18, 2018 10:12 am

I suggest to delete all remnants of previous compilation and re-start the installation of vasp
from sratch
admin
Administrator
Administrator
 
Posts: 2890
Joined: Tue Aug 03, 2004 8:18 am


Return to Installation problems

Who is online

Users browsing this forum: No registered users and 1 guest