Problem to compiler hydro

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
soares_mauricio
Posts: 1
Joined: Wed Feb 13, 2013 6:11 pm
Location: Federal University of Rio de Janeiro - UFRJ

Problem to compiler hydro

#1 Unread post by soares_mauricio »

I'm trying to compile the lev_hydro.F.

For this, I modify the Makefile.Gnu, but the follow error appears:

g77 -c -DNO_EXIT -g -O2 hydro.F
g77 -c -DNO_EXIT -g -O2 caldate.F
g77 -c -DNO_EXIT -g -O2 day_code.F
g77 -c -DNO_EXIT -g -O2 get_date.F
g77 -c -DNO_EXIT -g -O2 get_hydro.F
g77 -c -DNO_EXIT -g -O2 gregorian.F
g77 -c -DNO_EXIT -g -O2 lenstr.F
g77 -c -DNO_EXIT -g -O2 wrt_header.F
g77 -c -DNO_EXIT -g -O2 wrt_hydro.F
wrt_hydro.F: In subroutine `wrt_hydro':
wrt_hydro.F:104:
& <nvar>(1x,1pe8.2))
^
Variable-expression FORMAT specifier at (^) -- unsupported
make: *** [wrt_hydro.o] Error 1

Thanks,

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

Re: Problem to compiler hydro

#2 Unread post by kate »

I'm not sure where these files come from - they aren't trunk myroms ROMS.

That said, I highly recommend using gfortran over g77.

Post Reply