[MITgcm-support] compile-run error due to gcc update?

Ed Hill ed at eh3.com
Thu Feb 9 13:03:39 EST 2006


On Thu, 2006-02-09 at 11:57 -0500, Sergey Vinogradov wrote:
> Ed:
> Here is the result,

Hi Sergey,

I could be wrong, but I think you overlooked a *key* step in the
instructions that I sent:

> > Can you please try running this sequence of commands on a fresh
> > checkout:
> > 
> >   mkdir a_new_dir
> >   cd a_new_dir
> >   export CVSROOT=':pserver:cvsanon at mitgcm.org:/u/gcmpack'
> >   cvs login
> >    ==> cvsanon
> >   cvs co MITgcm
> >   cd MITgcm/verification/exp0/build
> >   ../../../tools/genmake2 -mods=../code
> >   make depend
> >   make

and that key step was getting a *fresh* checkout of the model.  The
instructions that you sent:

> anvil[41]> pwd
> /anvil/scratch/day07/p0808
> anvil[42]> cd MITgcm/verification/exp0/build
> anvil[43]> ../../../tools/genmake2 -mods=../code

seem to indicate that you were running the commands in an *existing*
directory that (probably?) contained junk from previous builds.  Can you
please confirm that you ran the tests with a fresh check-out of
everything as I specified above?

The errors that you're seeing:

> anvil[44]> make depend
> Makefile:1187: warning: overriding commands for target `SIZE.h'
> Makefile:1143: warning: ignoring old commands for target `SIZE.h'
> Makefile:1187: warning: ignoring old commands for target `SIZE.h'

strongly indicate that you skipped the get-a-fresh-checkout step.

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




More information about the MITgcm-support mailing list