[MITgcm-support] Compiling Problems

Madeleine Youngs myoungs at umd.edu
Tue Aug 13 20:51:50 EDT 2024


Hi Everyone,

I am working on compiling checkpoint68y on Derecho using no opt file (?) and I am getting this error.  Any advice on what the issue is?


mpif90 -W0 -WB -msse2 -convert big_endian -assume byterecl -O2 -align -lmpich -lnetcdff -lnetcdf  -c diagnostics_fract_fill.f
cat diagnostics_ini_io.F |  cpp  -traditional -P -DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4 -DALLOW_USE_MPI -DHAVE_SYSTEM -DHAVE_FDATE -DHAVE_ETIME_FCT -DHAVE_CLOC -DHAVE_SETRLSTK -DHAVE_SIGREG -DHAVE_STAT -DHAVE_FLUSH  -I.  | ../../../tools/set64bitConst.sh  > diagnostics_ini_io.f
mpif90 -W0 -WB -msse2 -convert big_endian -assume byterecl -O2 -align -lmpich -lnetcdff -lnetcdf  -c diagnostics_ini_io.f
Cannot disable Fortran error message 6404
diagnostics_ini_io.f(2005): error #6404: This name does not have a type, and must have an explicit type.   [DIAGMDSDIR]
      IF ( diag_mdsio .AND. (diagMdsDir.NE.' ') .AND.
-----------------------------^
Cannot disable Fortran error message 6404
diagnostics_ini_io.f(2006): error #6404: This name does not have a type, and must have an explicit type.   [DIAGMDSDIRCREATE]
     &     diagMdsDirCreate .AND. (mdsioLocalDir.EQ.' ') ) THEN
-----------^
Cannot disable Fortran error message 6514
diagnostics_ini_io.f(2009): error #6514: Substring or array slice notation requires CHARACTER type or array.   [DIAGMDSDIR]
        WRITE(namBuf,'(3A)') ' mkdir -p ', diagMdsDir(1:iL), ' '
-------------------------------------------^
compilation aborted for diagnostics_ini_io.f (code 1)
make[1]: *** [Makefile:1776: diagnostics_ini_io.o] Error 1
make[1]: Leaving directory '/glade/derecho/scratch/myoungs/MITgcm/MultiWidthExperiments/Present9.20.16/build'
make: *** [Makefile:1688: fwd_exe_target] Error 2


Thanks,
Madeleine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20240813/c7a363f7/attachment.html>


More information about the MITgcm-support mailing list