[MITgcm-support] Error: mnc_cw_model_attr.f

WangYang effwang at 126.com
Thu Aug 6 07:55:37 EDT 2015


Dear all,
I was trying to  run the example internal_wave, I modified the SIZE.h file as follows:
     &           sNx =  300,
     &           sNy =   1,
     &           OLx =   2,
     &           OLy =   2,
     &           nSx =   2,
     &           nSy =   1,
     &           nPx =   1,
     &           nPy =   1,
     &           Nx  = sNx*nSx*nPx,
     &           Ny  = sNy*nSy*nPy,
     &           Nr  =  20)
because I have changed the horizontal resolution from 60grids to 600grids;
I used the ifort compiler. When doing make,I got the error:
ifort -w95 -W0 -WB -convert big_endian -assume byterecl -fPIC  -O2 -align -xW -ip -c mnc_cw_missingvals.f
cat mnc_cw_model_attr.F |  cpp -traditional -P -DWORDLENGTH=4 -DHAVE_SYSTEM -DHAVE_FDATE -DHAVE_ETIME -DHAVE_CLOC -DHAVE_SETRLSTK -DHAVE_SIGREG -DHAVE_STAT -DHAVE_NETCDF -DHAVE_FLUSH  -I/public/soft/netcdf362-intel101/include | ../../../tools/set64bitConst.sh  > mnc_cw_model_attr.f
ifort -w95 -W0 -WB -convert big_endian -assume byterecl -fPIC  -O2 -align -xW -ip -c mnc_cw_model_attr.f
fortcom: Error: mnc_cw_model_attr.f, line 1795: This name does not have a type, and must have an explicit type.   [MNC_TAG_ID]
     &     MNC_TAG_ID, myThid )
-----------^
compilation aborted for mnc_cw_model_attr.f (code 1)
make[1]: *** [mnc_cw_model_attr.o] Error 1
make[1]: Leaving directory `/public/home/wang_yang/MITgcm01/verification/internal_wave/build'
make: *** [fwd_exe_target] Error 2


My MITgcm version is MITgcm_c61z, 
anybody can help me to solve the problem?
thanks a lot!
WangYang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20150806/a378a655/attachment.htm>


More information about the MITgcm-support mailing list