[MITgcm-support] make on an Altix 3700

Paola Cessi pcessi at ucsd.edu
Wed Nov 3 16:19:47 EST 2004


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...

paola






-------------------------------------------------------------------------
Paola Cessi                            Tel: +1 858 534 0622
Scripps Institution of Oceanography    Fax: +1 858 534 8045
UCSD-0213                              e-mail: pcessi at ucsd.edu
La Jolla, CA 92093-0213
USA                      Web:  http://www-pord.ucsd.edu/~pcessi

Delivery Address: 
8851 Shellback Way - Room 366
La Jolla, CA 92037
USA


On Wed, 3 Nov 2004, Ed Hill wrote:

> On Wed, 2004-11-03 at 13:26, Paola Cessi wrote:
>> Hi - I am trying to install the MITgcm on a 256 Intel Itanium 2 processor
>> SGI Altix at ORNL. I have tried the following build options
>>
>> -------------------------------------------------------------
>>
>> CPP='/lib/cpp  -traditional -P'
>>
>>      FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB '
>>
>> (also tried FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -convert big_endian')
>>
>> FOPTIM='-O3 -align'
>>
>> LIBS='-L/opt/intel/ifort8119/lib -lmpi'
>>
>> FC=ifort
>>
>> DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
>>
>> INCLUDES='-I/opt/intel/ifort8119/include'
>>
>> INCLUDEDIRS='/opt/intel/ifort8119/include'
>>
>> ---------------------------------------------
>>
>> I get the following error after make
>>
>> fortcom: Error: mdsio_reclen.f, line 1444: Syntax error, found
>> END-OF-STATEMENT when expecting one of: ( <IDENTIFIER>
>> <CHAR_CON_KIND_PARAM> <CHAR_NAM_KIND_PARAM> <CHARACTER_CONSTANT>
>> <INTEGER_CONSTANT> ...
>>         MDS_RECLEN=nnn**
>> -----------------------^
>> fortcom: Error: mdsio_reclen.f, line 1446: Syntax error, found '*' when
>> expecting one of: ( <IDENTIFIER> <CHAR_CON_KIND_PARAM>
>> <CHAR_NAM_KIND_PARAM> <CHARACTER_CONSTANT> <INTEGER_CONSTANT> ...
>>         MDS_RECLEN=nnn***2
>> -----------------------^
>> compilation aborted for mdsio_reclen.f (code 1)
>> make: *** [mdsio_reclen.o] Error 1
>>
>> Any suggestion?
>
>
> Hi Paola,
>
> You have a CPP problem and its causing the WORDLENGTH macro to be
> undefined.  Two things that will probably fix it are:
>
> 1) remove the "CPP=" definition from your optfile and let
>    genmake2 find your cpp program
>
> 2) locate where "cpp" is installed on your system
>    (use "which cpp") and then specify that with "CPP=..." in
>    your optfile.
>
> And if you still have problems, please let us know.
>
> 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://dev.mitgcm.org/mailman/listinfo/mitgcm-support
>



More information about the MITgcm-support mailing list