[MITgcm-support] error compiling: rksign

samar khatiwala spk at ldeo.columbia.edu
Wed Jul 27 10:51:53 EDT 2005


Hi Ed, JMC

I did a fresh CVS checkout this morning, and sure enough everything works
now. FYI: I last cvs updated on 7/13/05 which is AFTER rkSign was
introduced. Looking at my update logs, it seems GRID.h did not
get updated in my local copy. Odd.

Thanks, Samar

On Tue, 26 Jul 2005, Ed Hill wrote:

> On Tue, 2005-07-26 at 17:10 -0400, samar khatiwala wrote:
> > Hello
> >
> > I am getting an error compiling the model:
> >
> > mpif77 -byteswapio -r8 -Mnodclchk -Mextend -O2 -c gad_advection.f
> > PGFTN-S-0038-Symbol, rksign, has not been explicitly declared
> > (gad_advection.f: 3664)
> >   0 inform,   0 warnings,   1 severes, 0 fatal for gad_advection
> > PGFTN/x86 Linux/x86 5.2-4: compilation completed with severe errors
> > make: *** [gad_advection.o] Error 2
> >
> > I searched in all the .h files and could find no sign of rkSign. I
> > cvs updated quite recently, and it seems rkSign replaces rkFac. But
> > it is not defined anywhere. Any ideas what is going on?
>
> Hi Samar,
>
> Are you certain that you've correctly updated everything?
>
> I just did a fresh check-out and the 'rkSign' variable is defined in
> model/src/GRID.h which is correctly #include-ed by gad_advection.F so
> the above error should not occur.  And just to double-check things, I
> ran a testreport job on all of the verification examples that use
> generic_advection:
>
>   MLAdjust adjust_nlfs.cs-32x32x1 cfc_example cfc_offline
>   dic_example lab_sea plume_on_slope rotating_tank
>   solid-body.cs-32x32x1 vermix
>
> and I didn't see any failures -- all tests passed.
>
> So, are you certain that you haven't somehow locally edited your sources
> or perhaps only updated some of your files?  Could you please get a
> fresh check-out from CVS and try again (and/or compare)?
>
> Ed
>
> --
> Edward H. Hill III, PhD
> office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
>              Cambridge, MA 02139-4307
> emails:  eh3 at mit.edu                ed at eh3.com
> URLs:    http://web.mit.edu/eh3/    http://eh3.com/
> phone:   617-253-0098
> fax:     617-253-4464
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
>



More information about the MITgcm-support mailing list