[MITgcm-support] make on an Altix 3700

Ed Hill ed at eh3.com
Wed Nov 3 17:13:53 EST 2004


On Wed, 2004-11-03 at 16:19, Paola Cessi wrote:
> Thanks, that worked, but now I have this error after running make:
> 
> Creating mitgcmuv ...
> ifort  -o mitgcmuv -mp -132 -r8 -i4 -w95 -W0 -WB  -O3 -align 
> chksum_tiled.o ...THEN a whole list of .o...tim.o timer_stats.o 
> -L/opt/intel/ifort8119/lib -lmpi
> tim.o(.text+0x132): In function `cloc_':
> : undefined reference to `__divdf3'
> make: *** [mitgcmuv] Error 1
> 
> so it looks like it is in one of the timing routines...


Hi Paola,

Yes, thats a problem with our Fortran-calls-C bits where we're trying to
get the time.  And its failing to link Fortran code compiled with the
Intel compiler against C code created with the GNU C compiler.  Its
likely that you can fix this by specifying an Intel C compiler (which
should be more compatible with your Intel Fortran compiler) in your
optfile using:

  CC='icc'

or

  CC='icc -static'

where 'icc' is the Intel compiler name.

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