make error

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
mashinde
Posts: 135
Joined: Mon Jun 22, 2009 3:46 pm
Location: Indian Institute of Tropical Meteorology, Pune, INDIA

make error

#1 Unread post by mashinde »

when i run make file ....following error occurs.....even i solve these errors but still this error persists even after i write make clean and make
______________________________________________________________________________________
ROMS/Utility/set_scoord.F > Build/set_scoord.f90
ROMS/Bin/cpp_clean Build/set_scoord.f90

cd Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math set_scoord.f90
set_scoord.f90:390.57:

& SCALARS(ng)%Cs_w(k)*hmin(ng))/
1
Error: Invalid character in name at (1)
set_scoord.f90:391.6:

& (hc(ng)+hmin(ng))
1
Error: Invalid character in name at (1)
make: *** [Build/set_scoord.o] Error 1

______________________________________________________________

please help

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

Re: make error

#2 Unread post by kate »

Can you look at set_scoord.f90 at the lines listed (390 and 391) and see the problem? It is something to do with the continuations - it looks like one is missing at the end of line 390. I expect gfortran compiling a .f90 file will be expecting free format.

Indeed, updating to the version du jour shows that set_scoord.F has a missing & at the end of line 397.

Post Reply