[MITgcm-support] cal pkg, OSX, absoft f77, and pragma
m. r. schaferkotter
schaferk at bellsouth.net
Sat Jul 30 23:29:40 EDT 2005
andrea:
i went and checked the pkg/diagnostic*.h files,
and you are exactly correct. somehow i have obtained a
diagnostic_SIZE.h file (from some version)
and this file creates the problem. simply removing the diagnostic*
files from my code directory eliminated
the problem that you commented on.
thanx for the insight.
m. r.
> 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
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
>
More information about the MITgcm-support
mailing list