[MITgcm-devel] genmake_tc_2

Martin Losch mlosch at awi-bremerhaven.de
Mon Sep 5 05:44:50 EDT 2005


Hi Ed,

on our XD1 (with pgf77, build_options/linux_amd64_pgf77+mpi), I keep 
getting this output
===  Checking system libraries  ===
   Do we have the system() command using mpif77...  yes
   Do we have the fdate() command using mpif77...  no
   Do we have the etime() command using mpif77...  yes
   Can we call simple C routines (here, "cloc()") using mpif77...  no
   Can we use stat() through C calls...  no
   Can we create NetCDF-enabled binaries...  no

When I look at the genmake_warnings it says:
PGFTN-S-0034-Syntax error at or near identifier programhello 
(genmake_tc_2.f: 6)

This is program in genmake2:
>     cat <<EOF > genmake_tc_2.$FS
>       program hello
>       Real*8 wtime
>       external cloc
>       call cloc(wtime)
>       print *," HELLO WORLD", wtime
>       end program hello
> EOF
I think the last line should be "end" instead of "end program hello" 
which is a Fortran90 construct, or is this there on purpose?

Martin




More information about the MITgcm-devel mailing list