make error

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
duckweed

make error

#1 Unread post by duckweed »

when i make a case,the error is:
PGF90-S-0034-Syntax error at or near : (analytical.f90: 323)
0 inform, 0 warnings, 1 severes, 0 fatal for ana_grid_tile
PGF90-S-0034-Syntax error at or near : (analytical.f90: 1101)
PGF90-S-0034-Syntax error at or near : (analytical.f90: 1114)
0 inform, 0 warnings, 2 severes, 0 fatal for ana_vmix_tile
make: *** [/Build/analytical.o] Error 2

how to do?
Thank you!

User avatar
m.hadfield
Posts: 521
Joined: Tue Jul 01, 2003 4:12 am
Location: NIWA

Re: make error

#2 Unread post by m.hadfield »

You might want to take a look at lines 323, 1101 and 1114 in analytical.f90. Your compiler thinks there are syntax errors at or near them. Perhaps it's right. :wink:

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: make error

#3 Unread post by kate »

Make sure you are obeying the Fortran 90 free format rules for line continuation if you happen to have long statements. Here's one description. Note that Hernan is obeying both the old and new Fortran styles simultaneously, but since you are compiling a file with a .f90 extension, most compilers will assume free format (the new style).

Post Reply