I have downloaded the latest code on http://theory.cm.utexas.edu/vtsttools/dos/
, and re-compied VASP exactly as the suggestions on the website.
However, there were always some similr errors occured while compling the bdrpro.f file. The error messages are as follows.
PGF90-S-0043-Illegal attempt to redefine symbol lattice (bdrpro.f: 1548)
PGF90-S-0044-Multiple declaration for symbol lattice (bdrpro.f: 1548)
0 inform, 0 warnings, 2 severes, 0 fatal for read_charge_chgcar
0 inform, 0 warnings, 2 severes, 0 fatal for dpbc_car
PGF90/any Linux/x86-64 6.1-6: compilation completed with severe errors
make: *** [bdrpro.o] Error 2
I am quite confident that there is no other mistakes in my makefile, since if I delete bdrpro.o in the makefile, the compilation can be done successfully.
Additionally, according to the error messages, I commented out the line 1548( REAL(q),DIMENSION(3,3) :: lattice ) and line 1577 (READ(100,'(3F13.6)') (lattice(i,1:3) , i=1,3)) in the bdrpro.f , the compilation can be, however, done only with some warnings but no errors.
The compiler is pgi 6.1 and mpich 1.2.7. I tried both 4.6.36 and 5.2.2 version of VASP, and the errors are same.
Could anybody help me with the problem? Thanks.