[MITgcm-support] Pb with compilation: make:

Ed Hill ed at eh3.com
Tue Jun 7 17:02:56 EDT 2005


On Mon, 2005-06-06 at 22:36 -0400, Nicolas Wienders wrote:
> 
> Dear Ed, i did, i did clean before, and still the same pb:


Hi Nicolas,

Your problem is due to a linking failure between your Fortran and C
compilers.  With access to your machine I could probably fix it in a few
minutes.  But without access, it will probably take a lot of tedious
trial and error.

So, I have a better fix!  I just checked into CVS a new genmake2 option
that completely throws out the C/Fortran linking problem by removing the
offending timing code.  This will disable your ability to get "wall
time" information about your runs but its just not as important as
completing the actual runs, right?

So, here are the steps:

  1) get a fresh copy of the very latest from CVS:

       cvs co MITgcm

  2) build with the new "-ignore_time" option:

       cd MITgcm/verification/YOUR_TEST/build
       ../../../tools/genmake2 -ignore_time ...YOUR_OTHER_OPTIONS...
       make depend
       make

and that should work since it completely throws out the timing code that
was giving us trouble.  And *please* let me if it still fails to build.

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