Page 1 of 1

Compling errors with bdrpro.f

Posted: Tue May 25, 2010 3:07 am
by andyfan
Hi,

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.

Re: Compling errors with bdrpro.f

Posted: Tue May 25, 2010 7:05 pm
by Wenjie
I don't have any problem when compiling on our cluster. But I guess it is because one of the variable's name is the same as one of the modules. I've changed it and updated the dos webpage. Can you try to generate the bdrpro.F from the new files and compile? Let me know if there is still problem.

Re: Compling errors with bdrpro.f

Posted: Wed May 26, 2010 2:05 am
by andyfan
Hi, Wenjie,
Thanks very much for your reply. Now the compilation can be done with no errors but a few warnings, which are listed as follows.

/opt/mpich-gm/bin/mpif90 -Mfree -fast -tp k8-64 -c bdrpro.f
PGF90-W-0103-Type conversion of subscript expression for atomnum (bdrpro.f: 1262)
PGF90-W-0103-Type conversion of subscript expression for atomnum (bdrpro.f: 1262)
PGF90-W-0103-Type conversion of subscript expression for atomnum (bdrpro.f: 1262)
0 inform, 3 warnings, 0 severes, 0 fatal for bdrproj_set
PGF90-W-0103-Type conversion of subscript expression for atomnum (bdrpro.f: 1491)
PGF90-W-0103-Type conversion of subscript expression for atomnum (bdrpro.f: 1491)
PGF90-W-0103-Type conversion of subscript expression for atomnum (bdrpro.f: 1491)
0 inform, 3 warnings, 0 severes, 0 fatal for phaser
PGF90-W-0103-Type conversion of subscript expression for ptmax (bdrpro.f: 1599)
PGF90-W-0103-Type conversion of subscript expression for ptmax (bdrpro.f: 1599)
0 inform, 2 warnings, 0 severes, 0 fatal for read_charge_chgcar