compilation errors on sgi machine

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
xwsha
Newbie
Newbie
Posts: 6
Joined: Wed Oct 24, 2007 3:07 pm
License Nr.: lic 26, upgraded to paw

compilation errors on sgi machine

#1 Post by xwsha » Wed Oct 24, 2007 3:20 pm

I was using the vasp makefile for sgi machines to compile the vasp 4.6 code on a sgi cluster, and got the following errors. Did anybody have the same experiences?

ccsgi3 6% make
f90 -O -c xml.f90

WRITE(uixml, '(A,"<i type=",1H","string",1H"," name=",1H",A,1H",">",A,"</i>")',ADVANCE="Yes") blank(1:inden),tag,str(1:i)
^
f90-197 f90: ERROR XML_INCAR, File = xml.f90, Line = 808, Column = 132
Unexpected syntax: "EOS" was expected but found "(".

WRITE(uixml, '(A,"<v type=",1H","string",1H"," name=",1H",A,1H",">",A,"</v>")',ADVANCE="Yes") blank(1:inden),tag,str(1:i)
^
f90-197 f90: ERROR XML_INCAR_V, File = xml.f90, Line = 861, Column = 132
Unexpected syntax: "EOS" was expected but found "(".

f90: SGI MIPSpro Fortran 90 Version 7.4 (f14) Wed Oct 24, 2007 11:41:00
f90: 1554 source lines
f90: 2 Error(s), 0 Warning(s), 0 Other message(s), 0 ANSI(s)
cf90: "explain cf90-message number" gives more information about each message
*** Error code 2 (bu21)
Last edited by xwsha on Wed Oct 24, 2007 3:20 pm, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

compilation errors on sgi machine

#2 Post by admin » Thu Oct 25, 2007 1:37 pm

it seems that the compiler does not accept lines which are longer that 132 characters, therefore these lines are not compiled correctly. Have you kept the -freeform compiler option in your makefile?, this should solve the problem.
If it does not, the easist solution (and least elegant one) would be to edit the xml.F file and insert a line break+continuation lines for these statements
Last edited by admin on Thu Oct 25, 2007 1:37 pm, edited 1 time in total.

Post Reply