[MITgcm-support] Unable to build tutorial_barotropic_gyre with Intel compilers

John Miezitis john.miezitis at tpac.org.au
Mon Apr 27 02:06:22 EDT 2020


Hi All,

I am trying to build tutorial_barotropic_gyre on behalf of a 
researcher.  I have had no previous experience with MITgcm so thought to 
build the tutorial following the documentation here 
https://mitgcm.readthedocs.io/en/latest/getting_started/getting_started.html#where-to-find-information. 


Having cloned MITgcm I attempted to build tutorial_barotropic_gyre with 
no modifications.  The genmake2 and make depend completed without errors.

The make aborts when compiling mds_reclen.f with the following:

cat mds_reclen.F |  cpp -traditional -P -DHAVE_SYSTEM -DHAVE_FDATE 
-DHAVE_ETIME_FCT -DHAVE_CLOC -DHAVE_SETRLSTK -DHAVE_SIGREG -DHAVE_STAT 
-DHAVE_FLUSH  -I.  | ../../../tools/set64bitConst.sh  > mds_reclen.f
ifort   -c mds_reclen.f
mds_reclen.f(618): error #6404: This name does not have a type, and must 
have an explicit type.   [WORDLENGTH]
        MDS_RECLEN = nnn*WORDLENGTH
------------------------^
compilation aborted for mds_reclen.f (code 1)
make[1]: *** [mds_reclen.o] Error 1
make[1]: Leaving directory 
`/dstore1/software/apps/src/MITgcm/verification/tutorial_barotropic_gyre/build'
make: *** [fwd_exe_target] Error 2

Any suggestions welcome.

Thank you.

Cheers.
John Miezitis

Senior HPC Systems Engineer
Tasmanian Partnership for Advanced Computing (TPAC)
University of Tasmania

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20200427/f1577d33/attachment.html>


More information about the MITgcm-support mailing list