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

Ed Hill ed at eh3.com
Tue Feb 7 08:03:22 EST 2006


On Mon, 2006-02-06 at 17:01 -0500, Sergey Vinogradov wrote:
> Hi:
> 
> After recent gcc update, I'm getting compile-run error on my 
> previously-working configuration. Error is something like this:

Hi Sergey,

I'm surprised to hear that you're having problems with the gcc version
(Red Hat 3.4.3-22.1) that you report because its very similar
(essentially identical) to many of the 3.x versions we use for our
routine testing.  It looks like you're missing the SIZE.h file as if
you'd left off the "-mods=../code" argument to genmake2.  Or, somehow,
your system makedepend isn't installed or working.  Or, cpp isn't
installed or working.

So, could you please check the following things:

 - make sure you either have a system-wide makedepend installed 
     (for Red Hat its in one of the xorg-x11-devel RPMs) OR 
     you've specified the "cyrus" makedepend included with 
     MITgcm in your optfile:

     MAKEDEPEND='$(TOOLSDIR)/cyrus-imapd-makedepend/makedepend'

 - make sure that you have the C pre-processor (cpp) installed

 - you're using the latest code from us (please get it from CVS
     or one of the daily tar-balls)

 - you're doing a clean build (please remove any leftover junk 
     from previous builds using "make CLEAN")

 - you're building things in a manner similar to:

     cd MITgcm/verification/exp0/build/
     ../../../tools/genmake2 -mods=../code
     make CLEAN
     make

and if you still have problems we'll do our best to help track it down. 

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