[MITgcm-support] cal pkg, OSX, absoft f77, and pragma
Andrea Molod
molod at ocean.mit.edu
Sat Jul 30 22:20:39 EDT 2005
hi m.r.,
there is a lot in your note that i cannot address, but here is
a response to one peice:
> the build breaks in the diagnostic pkg file
>
> /Applications/Absoft/bin/f77 -w -W -f -N15 -N113 -q -O -U -c
> diag_readparms.for
> error on line 2252 of diag_readparms.for: duplicate variable
> declaration
> error on line 2254 of diag_readparms.for: PARAMETER declaration error
>
> this is happening because both diagnostic.h and diagnostic_SIZE.h
> instantiate numlists and numperlist.
>
i am wondering if something is confused with the code version you
are using. because in the current version of the diagnostics package the
variables numlists and numperlist are instantiated in DIAGNOSTICS_SIZE.h
and not in DIAGNOSTICS.h (here they are used). and i can't remember
a version where these variables would have been instantiated in
DIAGNOSTICS.h, except when there was not a separate DIAGNOSTICS_SIZE.h.
can you check into this? because certainly if you go to the
mitgcm.org web-driven source browser you will see these 2 .h files
and see what i mean.
good luck with the rest,
andrea molod
More information about the MITgcm-support
mailing list