<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Hi Madeleine,
<div><br>
</div>
<div>It doesn’t seem you're using a derecho-specific optfile when invoking genmake. Nor do you appear to be specifying the path to the MPI library.</div>
<div><br>
</div>
<div>If I remember, on derecho the compiler wrappers mpif90 etc don’t automatically link to the MPI libraries. You need to explicitly specify the path in your optfile. You can find out what libraries/include paths are being used by doing 'mpif90 -v’ (or 'mpif90
-show' on sensible MPI installations which unfortunately cray isn’t).</div>
<div><br>
</div>
<div>
<div>Samar</div>
<div><br>
<blockquote type="cite">
<div>On Aug 20, 2024, at 9:50 PM, Madeleine Youngs <myoungs@umd.edu> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Hi All,
<div><br>
</div>
<div>I have done some digging on my own. I ran testreport, which seemed to work fine with a single processor, but seems to be having similar issues for building with MPI. I thought to do this so it wasn’t dependent on my particular experiement. For example:</div>
<div><br>
</div>
<div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">Experiment: adjustment.128x64x1</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;">
<span style="font-variant-ligatures: no-common-ligatures"></span><br>
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">genmake ... successful</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">clean build-dir: make Clean ... </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">successful</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">make depend ... </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">successful</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">make ... </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">all_proc_die.f(789): error #5082: Syntax error, found END-OF-FILE when expecting one of: <LABEL> <END-OF-STATEMENT> ; <IDENTIFIER> TYPE MODULE ELEMENTAL IMPURE NON_RECURSIVE ...</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">C-- Include MPI standard Fortran header file</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">----------------------------------------------^</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">all_proc_die.f(270): error #6404: This name does not have a type, and must have an explicit type. [MYTHARG]</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures"> SUBROUTINE ALL_PROC_DIE( myThArg )</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">-------------------------------^</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">compilation aborted for all_proc_die.f (code 1)</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">make[1]: *** [Makefile:1223: all_proc_die.o] Error 1</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">make[1]: Leaving directory '/glade/derecho/scratch/myoungs/MITgcm/verification/adjustment.128x64x1/build'</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">make: *** [Makefile:1135: fwd_exe_target] Error 2</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">failed</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;">
<span style="font-variant-ligatures: no-common-ligatures"></span><br>
</div>
<div><br>
<blockquote type="cite">
<div>On Aug 14, 2024, at 11:51 AM, Madeleine Youngs <myoungs@umd.edu> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div dir="auto" style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Hi All,
<div><br>
</div>
<div>Thanks for all the support! I have tried the make CLEAN and the gfort compiler and I get the same error. I do not have any code mods so it can’t be that. I did successfully create diagnostics_check.f:</div>
<div><br>
</div>
<div>Would you want me to attach a file for the .f and .F files?</div>
<div><br>
</div>
<div>I also noticed this:</div>
<div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">original 'Makefile' generated but was unable to</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures"> run compiled test-program (please see 'genmake.log’)</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">Thanks,</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">Madeleine</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">running: check_fortran_compiler</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -O2 -align -ip -c genmake_tcomp.f</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">ifort: command line warning #10121: overriding '-march=core-avx2' with '-march=core-avx2'</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -O2 -align -ip -o genmake_tcomp genmake_tcomp.o</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">ifort: command line warning #10121: overriding '-march=core-avx2' with '-march=core-avx2'</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> mpirun -np 1 ./genmake_tcomp</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">No host list provided</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> --> set FC_CHECK= 3 /5</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<span style="font-variant-ligatures: no-common-ligatures"></span><br>
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">running: look_for_makedepend()</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> --> set MAKEDEPEND=$(TOOLSDIR)/xmakedepend</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<span style="font-variant-ligatures: no-common-ligatures"></span><br>
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">running: check_HAVE_CLOC()</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> running: get_fortran_c_namemangling()</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> cc -O2 -ip -fPIC -c genmake_test.c</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">icc: remark #10441: The Intel(R) C++ Compiler Classic (ICC) is deprecated and will be removed from product release in the second half
of 2023. The Intel(R) oneAPI DPC++/C++ Compiler (ICX) is the recommended compiler moving forward. Please transition to use this compiler. Use '-diag-disable=10441' to disable this message.</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">genmake_test.c(1): warning #266: function "tsub" declared implicitly</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> void tcall( char * string ) { tsub( string ); }</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> ^</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<span style="font-variant-ligatures: no-common-ligatures"></span><br>
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -c genmake_tcomp.f</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">ifort: command line warning #10121: overriding '-march=core-avx2' with '-march=core-avx2'</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> --> set FC_NAMEMANGLE='#define FC_NAMEMANGLE(X) X ## _'</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">cc -O2 -ip -fPIC -c genmake_tc_1.c</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">icc: remark #10441: The Intel(R) C++ Compiler Classic (ICC) is deprecated and will be removed from product release in the second half
of 2023. The Intel(R) oneAPI DPC++/C++ Compiler (ICX) is the recommended compiler moving forward. Please transition to use this compiler. Use '-diag-disable=10441' to disable this message.</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -o genmake_tc genmake_tc_2.f genmake_tc_1.o</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">ifort: command line warning #10121: overriding '-march=core-avx2' with '-march=core-avx2'</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> HELLO WORLD 1723660750.37632</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> --> set HAVE_CLOC='t'</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<span style="font-variant-ligatures: no-common-ligatures"></span><br>
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">running: check_HAVE_SETRLSTK()</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">cc -O2 -ip -fPIC -c genmake_tc_1.c</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">icc: remark #10441: The Intel(R) C++ Compiler Classic (ICC) is deprecated and will be removed from product release in the second half
of 2023. The Intel(R) oneAPI DPC++/C++ Compiler (ICX) is the recommended compiler moving forward. Please transition to use this compiler. Use '-diag-disable=10441' to disable this message.</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> program hello</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> external setrlstk</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> call setrlstk()</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> end</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -o genmake_tc genmake_tc_2.f genmake_tc_1.o</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">ifort: command line warning #10121: overriding '-march=core-avx2' with '-march=core-avx2'</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> --> set HAVE_SETRLSTK='t'</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<span style="font-variant-ligatures: no-common-ligatures"></span><br>
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">running: check_HAVE_SIGREG()</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">cc -O2 -ip -fPIC -c genmake_tc_1.c</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">icc: remark #10441: The Intel(R) C++ Compiler Classic (ICC) is deprecated and will be removed from product release in the second half
of 2023. The Intel(R) oneAPI DPC++/C++ Compiler (ICX) is the recommended compiler moving forward. Please transition to use this compiler. Use '-diag-disable=10441' to disable this message.</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">genmake_tc_1.c(11): warning #274: declaration is not visible outside of function</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> unsigned int sn, siginfo_t si, struct ucontext *sc )</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> ^</span></div>
<div><span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> program hello</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> integer anint</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> common /iv/ anint</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> external sigreg</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> call sigreg(anint)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> end</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -o genmake_tc genmake_tc_2.f genmake_tc_1.o</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">ifort: command line warning #10121: overriding '-march=core-avx2' with '-march=core-avx2'</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> --> set HAVE_SIGREG='t'</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<span style="font-variant-ligatures: no-common-ligatures"></span><br>
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">running: check_HAVE_STAT()</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">cc -O2 -ip -fPIC -c genmake_tc_1.c</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> program hello</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> integer nbyte</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> call tfsize(nbyte)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> print *," HELLO WORLD", nbyte</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> end</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -o genmake_tc genmake_tc_2.f genmake_tc_1.o</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> --> set HAVE_STAT='t'</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<span style="font-variant-ligatures: no-common-ligatures"></span><br>
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">running: check_netcdf_libs()</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">=== genmake_tnc.F >>></span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> program fgennc</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">#include "netcdf.inc"</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> integer iret, ncid, xid</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> iret = nf_create('genmake_tnc.nc', NF_CLOBBER, ncid)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> IF (iret .NE. NF_NOERR) write(*,*) NF_STRERROR(iret)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> iret = nf_def_dim(ncid, 'X', 11, xid)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> IF (iret .NE. NF_NOERR) write(*,*) NF_STRERROR(iret)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> iret = nf_close(ncid)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> IF (iret .NE. NF_NOERR) write(*,*) NF_STRERROR(iret)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> end</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"><<< genmake_tnc.F ===</span></div>
<div><span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">cat genmake_tnc.F | cpp -P -traditional -DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4 -DNML_TERMINATOR -DALLOW_USE_MPI -DHAVE_SYSTEM
-DHAVE_FDATE -DHAVE_ETIME_FCT -DHAVE_CLOC -DHAVE_SETRLSTK -DHAVE_SIGREG -DHAVE_STAT -I/opt/cray/pe/mpich/8.1.25/ofi/intel/19.0/include/</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> WARNING: CPP failed to pre-process the netcdf test.</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> Please check that $INCLUDES is properly set.</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -O2 -align -ip -c genmake_tnc.f \</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> && ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -O2 -align -ip -o genmake_tnc.o</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">ifort: command line warning #10121: overriding '-march=core-avx2' with '-march=core-avx2'</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">genmake_tnc.f(12): error #5082: Syntax error, found END-OF-FILE when expecting one of: <LABEL> <END-OF-STATEMENT> ; <IDENTIFIER> TYPE
MODULE ELEMENTAL IMPURE NON_RECURSIVE ...</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> program fgennc</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">--------------------^</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">compilation aborted for genmake_tnc.f (code 1)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<span style="font-variant-ligatures: no-common-ligatures"></span><br>
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">==> try again with added '-lnetcdf'</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">cat genmake_tnc.F | cpp -P -traditional -DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4 -DNML_TERMINATOR -DALLOW_USE_MPI -DHAVE_SYSTEM
-DHAVE_FDATE -DHAVE_ETIME_FCT -DHAVE_CLOC -DHAVE_SETRLSTK -DHAVE_SIGREG -DHAVE_STAT -I/opt/cray/pe/mpich/8.1.25/ofi/intel/19.0/include/ > genmake_tnc.f \</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> && ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -O2 -align -ip -c genmake_tnc.f \</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> && ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -O2 -align -ip -o genmake_tnc genmake_tnc.o -lnetcdf</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<span style="font-variant-ligatures: no-common-ligatures"></span><br>
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">==> try again with added '-lnetcdff -lnetcdf'</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">cat genmake_tnc.F | cpp -P -traditional -DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4 -DNML_TERMINATOR -DALLOW_USE_MPI -DHAVE_SYSTEM
-DHAVE_FDATE -DHAVE_ETIME_FCT -DHAVE_CLOC -DHAVE_SETRLSTK -DHAVE_SIGREG -DHAVE_STAT -I/opt/cray/pe/mpich/8.1.25/ofi/intel/19.0/include/ > genmake_tnc.f \</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> && ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -O2 -align -ip -c genmake_tnc.f \</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> && ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -O2 -align -ip -o genmake_tnc genmake_tnc.o -lnetcdf</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> --> set HAVE_NETCDF=''</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<span style="font-variant-ligatures: no-common-ligatures"></span><br>
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">running: check_HAVE_FLUSH()</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> check_HAVE_FLUSH: successful</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"> --> set HAVE_FLUSH='t'</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;"><br>
</div>
<div><span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
</div>
</div>
<div><br>
</div>
<div><br>
<div><br>
<blockquote type="cite">
<div>On Aug 14, 2024, at 10:14 AM, Jody Klymak <jklymak@uvic.ca> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Hi Madeleine
<div><br>
</div>
<div>When I have linking problems like this I sometimes fine `make CLEAN` to be a useful step if I’m not starting from a clean install.</div>
<div><br>
</div>
<div>Just a shot in the dark.</div>
<div><br>
</div>
<div>Cheers, Jody<br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On Aug 14, 2024, at 10:05 AM, Wang, Ou (US 329B) <ou.wang@jpl.nasa.gov> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<table border="0" cellspacing="0" cellpadding="0" width="100%" align="left" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; letter-spacing: normal; orphans: auto; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; border: 0px; display: table; width: 852px; table-layout: fixed; float: none;">
<tbody style="display: block;">
<tr>
<td valign="middle" width="1px" bgcolor="#A6A6A6" cellpadding="7px 2px 7px 2px" style="padding: 7px 2px; background-color: rgb(166, 166, 166);">
</td>
<td valign="middle" width="100%" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 15px" style="width: 818px; background-color: rgb(234, 234, 234); padding: 7px 5px 7px 15px; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 12px; font-weight: normal; color: rgb(33, 33, 33); text-align: left; overflow-wrap: break-word;">
<div>You don't often get email from<span class="Apple-converted-space"> </span><a href="mailto:ou.wang@jpl.nasa.gov" style="color: blue; text-decoration: underline;">ou.wang@jpl.nasa.gov</a>.<span class="Apple-converted-space"> </span><a href="https://aka.ms/LearnAboutSenderIdentification" style="color: blue; text-decoration: underline;">Learn
why this is important</a></div>
</td>
<td valign="middle" align="left" width="75px" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 5px" style="width: 75px; background-color: rgb(234, 234, 234); padding: 7px 5px; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 12px; font-weight: normal; color: rgb(33, 33, 33); text-align: left; overflow-wrap: break-word;">
</td>
</tr>
</tbody>
</table>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<div class="WordSection1" style="page: WordSection1;">
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;">Hi Madeleine,<o:p></o:p></span></div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;"><o:p> </o:p></span></div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;">Can you share your version of diagnostics_ini_io.f and diagnostics_ini_io.F? I would think the error is related to a broken link to “DIAGNOSTICS.h”, not
something related to the opt file. Also, did the compilation successfully generate diagnostics_check.f, which uses the variable “diagMdsDir” as well?<o:p></o:p></span></div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;">It would be helpful if you can also share your versions of diagnostics_check.f and diagnostics_check.F.<o:p></o:p></span></div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;"><o:p> </o:p></span></div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;">Best,<o:p></o:p></span></div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;">Ou Wang<o:p></o:p></span></div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;"><o:p> </o:p></span></div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;"><o:p> </o:p></span></div>
<div id="mail-editor-reference-message-container">
<div>
<div>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) currentcolor currentcolor; border-image: none; padding: 3pt 0in 0in;">
<p class="MsoNormal" style="margin: 0in 0in 12pt; font-size: 10pt; font-family: Aptos, sans-serif;">
<b><span style="font-size: 12pt;">From:<span class="Apple-converted-space"> </span></span></b><span style="font-size: 12pt;">MITgcm-support <<a href="mailto:mitgcm-support-bounces@mitgcm.org" style="color: blue; text-decoration: underline;">mitgcm-support-bounces@mitgcm.org</a>>
on behalf of Madeleine Youngs <<a href="mailto:myoungs@umd.edu" style="color: blue; text-decoration: underline;">myoungs@umd.edu</a>><br>
<b>Date:<span class="Apple-converted-space"> </span></b>Tuesday, August 13, 2024 at 8:08</span><span style="font-size: 12pt; font-family: Arial, sans-serif;"> </span><span style="font-size: 12pt;">PM<br>
<b>To:<span class="Apple-converted-space"> </span></b><a href="mailto:mitgcm-support@mitgcm.org" style="color: blue; text-decoration: underline;">mitgcm-support@mitgcm.org</a><span class="Apple-converted-space"> </span><<a href="mailto:mitgcm-support@mitgcm.org" style="color: blue; text-decoration: underline;">mitgcm-support@mitgcm.org</a>><br>
<b>Subject:<span class="Apple-converted-space"> </span></b>[EXTERNAL] Re: [MITgcm-support] Compiling Problems<o:p></o:p></span></p>
</div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">Hi Takaya,<o:p></o:p></span></div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><o:p> </o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">That didn’t seem to fix the issue, but thank you for sending this along!<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><o:p> </o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">Madeleine<o:p></o:p></span></div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><br>
<br>
<o:p></o:p></span></div>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;">
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">On Aug 13, 2024, at 6:10 PM, Takaya Uchida <<a href="mailto:tu22@fsu.edu" style="color: blue; text-decoration: underline;">tu22@fsu.edu</a>> wrote:<o:p></o:p></span></div>
</div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><o:p> </o:p></span></div>
<div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">Hi Madeleine,<span class="Apple-converted-space"> </span><o:p></o:p></span></div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><o:p> </o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">I’ve copy and pasted below the opt file I ended up using to compile MITgcm on Derecho.<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><o:p> </o:p></span></div>
</div>
<div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(44, 171, 186);">#<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(44, 171, 186);"># Build options for Derecho at NCAR<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(44, 171, 186);">#<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);"><o:p> </o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);">FC=ftn<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);">CC=cc<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);">DEFINES=</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">'-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4 -DNML_TERMINATOR'<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);">CPP=</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">'cpp -P -traditional'<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);">EXTENDED_SRC_FLAG=</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">'-132'</span><span style="font-family: Menlo; color: rgb(82, 91, 107);"><o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);">NOOPTFLAGS=</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">'-O2 -g -march=core-avx2'<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);">LIBS=</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">''</span><span style="font-family: Menlo; color: rgb(82, 91, 107);"><o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);">INCLUDES=</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">'-I/opt/cray/pe/mpich/8.1.25/ofi/intel/19.0/include/'<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);"><o:p> </o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);">if test<span class="Apple-converted-space"> </span></span><span style="font-family: Menlo; color: rgb(116, 11, 141);">"x$DEVEL"</span><span style="font-family: Menlo; color: rgb(82, 91, 107);"><span class="Apple-converted-space"> </span>!=
x ; then<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);"> FFLAGS=</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">"$FFLAGS -W0 -WB -convert big_endian -assume byterecl -fPIC -O0 -g -noalign -fpstkchk -check all -fpe0 -traceback -ftrapuv
-fpmodel except -warn all -march=core-avx2"<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);">else<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);"> FFLAGS=</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">"$FFLAGS -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g"<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);">fi<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);"><o:p> </o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);">if test<span class="Apple-converted-space"> </span></span><span style="font-family: Menlo; color: rgb(116, 11, 141);">"x$IEEE"</span><span style="font-family: Menlo; color: rgb(82, 91, 107);"><span class="Apple-converted-space"> </span>=
x ; then<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);"> FOPTIM=</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">'-O2 -align -ip'<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);"> else<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);"> FOPTIM=</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">'-O2 -align -ip -mp'<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);">fi<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);">CFLAGS=</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">'-O2 -ip -fPIC'<o:p></o:p></span></div>
</div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><o:p> </o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">The list of modules I load are:<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><o:p> </o:p></span></div>
</div>
<div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif; background: white;">
<span style="font-family: Menlo; color: rgb(82, 91, 107);">module load ncarenv/</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">23</span><span style="font-family: Menlo; color: rgb(82, 91, 107);">.</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">09</span><span style="font-family: Menlo; color: rgb(82, 91, 107);"><span class="Apple-converted-space"> </span>craype/</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">2</span><span style="font-family: Menlo; color: rgb(82, 91, 107);">.</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">7</span><span style="font-family: Menlo; color: rgb(82, 91, 107);">.</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">23</span><span style="font-family: Menlo; color: rgb(82, 91, 107);"><span class="Apple-converted-space"> </span>intel-classic/</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">2023</span><span style="font-family: Menlo; color: rgb(82, 91, 107);">.</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">2</span><span style="font-family: Menlo; color: rgb(82, 91, 107);">.</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">1</span><span style="font-family: Menlo; color: rgb(82, 91, 107);"><span class="Apple-converted-space"> </span>ncarcompilers/</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">1</span><span style="font-family: Menlo; color: rgb(82, 91, 107);">.</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">0</span><span style="font-family: Menlo; color: rgb(82, 91, 107);">.</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">0</span><span style="font-family: Menlo; color: rgb(82, 91, 107);"><span class="Apple-converted-space"> </span>cray-mpich/</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">8</span><span style="font-family: Menlo; color: rgb(82, 91, 107);">.</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">1</span><span style="font-family: Menlo; color: rgb(82, 91, 107);">.</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">27</span><span style="font-family: Menlo; color: rgb(82, 91, 107);"><span class="Apple-converted-space"> </span>hdf5/</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">1</span><span style="font-family: Menlo; color: rgb(82, 91, 107);">.</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">12</span><span style="font-family: Menlo; color: rgb(82, 91, 107);">.</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">2</span><span style="font-family: Menlo; color: rgb(82, 91, 107);"><span class="Apple-converted-space"> </span>netcdf/</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">4</span><span style="font-family: Menlo; color: rgb(82, 91, 107);">.</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">9</span><span style="font-family: Menlo; color: rgb(82, 91, 107);">.</span><span style="font-family: Menlo; color: rgb(116, 11, 141);">2</span><span style="font-family: Menlo; color: rgb(82, 91, 107);"><o:p></o:p></span></div>
</div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><o:p> </o:p></span></div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 9pt; font-family: Helvetica;">----------------------------------<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 9pt; font-family: Helvetica;">Takaya Uchida (</span><span style="font-size: 9pt; font-family: "MS Mincho";">内田貴也</span><span style="font-size: 9pt; font-family: Helvetica;">)<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 9pt; font-family: Helvetica;">Assistant Research Scientist<br>
Florida State University<br>
Center for Ocean-Atmospheric Prediction Studies<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><a href="https://urldefense.us/v3/__https:/roxyboy.github.io/__;!!PvBDto6Hs4WbVuu7!NnRx5vlbDYZWIRraW2gZnWzzXsE782jeSZ_0N-DP52xAVkHbj-uEwC3rZ_U5PHL8Ay0r9294n_QD_ImbsRJV$" originalsrc="https://urldefense.us/v3/__https:/roxyboy.github.io/__;!!PvBDto6Hs4WbVuu7!NnRx5vlbDYZWIRraW2gZnWzzXsE782jeSZ_0N-DP52xAVkHbj-uEwC3rZ_U5PHL8Ay0r9294n_QD_ImbsRJV$" shash="p8cjG6rhuL/qPDoNiyPKpfVh9dn+kbLwyIBU6CdOAF7NTFl4b/zxRqe6SgphMmts0ynuVDthN9I6ZcZe106LStRlh3cPsHfk3ui+jVU9gsiK0oGWg1UJqUTBYqNCCrv146lAh1VQV/4h8q0A1t8Ne1wfOsJ0RzZejYs+c+cGS3U=" style="color: blue; text-decoration: underline;"><span style="font-size: 9pt; font-family: Helvetica;">https://roxyboy.github.io/</span></a><span style="font-size: 9pt; font-family: Helvetica;"><o:p></o:p></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><br>
<Center for Ocean-Atmospheric Prediction Studies signature alt.png><span class="Apple-converted-space"> </span><o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><br>
<br>
<o:p></o:p></span></div>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;">
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">On Aug 13, 2024, at 8:51</span><span style="font-size: 12pt; font-family: Arial, sans-serif;"> </span><span style="font-size: 12pt;">PM, Madeleine Youngs
<<a href="mailto:myoungs@umd.edu" style="color: blue; text-decoration: underline;">myoungs@umd.edu</a>> wrote:<o:p></o:p></span></div>
</div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><o:p> </o:p></span></div>
<div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">Hi Everyone,<span class="Apple-converted-space"> </span><o:p></o:p></span></div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><o:p> </o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">I am working on compiling </span><span style="font-size: 8.5pt; font-family: Menlo;">checkpoint68y on Derecho using no opt file (?) and I am getting this
error. Any advice on what the issue is?</span><span style="font-size: 12pt;"><o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><o:p> </o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><o:p> </o:p></span></div>
</div>
<div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;">mpif90 -W0 -WB -msse2 -convert big_endian -assume byterecl -O2 -align -lmpich -lnetcdff -lnetcdf -c diagnostics_fract_fill.f<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;">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<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;">mpif90 -W0 -WB -msse2 -convert big_endian -assume byterecl -O2 -align -lmpich -lnetcdff -lnetcdf -c diagnostics_ini_io.f<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;">Cannot disable Fortran error message 6404<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;">diagnostics_ini_io.f(2005): error #6404: This name does not have a type, and must have an explicit type. [DIAGMDSDIR]<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;"> IF ( diag_mdsio .AND. (diagMdsDir.NE.' ') .AND.<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;">-----------------------------^<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;">Cannot disable Fortran error message 6404<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;">diagnostics_ini_io.f(2006): error #6404: This name does not have a type, and must have an explicit type. [DIAGMDSDIRCREATE]<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;"> & diagMdsDirCreate .AND. (mdsioLocalDir.EQ.' ') ) THEN<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;">-----------^<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;">Cannot disable Fortran error message 6514<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;">diagnostics_ini_io.f(2009): error #6514: Substring or array slice notation requires CHARACTER type or array. [DIAGMDSDIR]<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;"> WRITE(namBuf,'(3A)') ' mkdir -p ', diagMdsDir(1:iL), ' '<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;">-------------------------------------------^<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;">compilation aborted for diagnostics_ini_io.f (code 1)<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;">make[1]: *** [Makefile:1776: diagnostics_ini_io.o] Error 1<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;">make[1]: Leaving directory '/glade/derecho/scratch/myoungs/MITgcm/MultiWidthExperiments/Present9.20.16/build'<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 8.5pt; font-family: Menlo;">make: *** [Makefile:1688: fwd_exe_target] Error 2<o:p></o:p></span></div>
</div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><br>
<br>
<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><br>
<br>
<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">Thanks,<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">Madeleine<o:p></o:p></span></div>
</div>
</div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">_______________________________________________<br>
MITgcm-support mailing list<br>
<a href="mailto:MITgcm-support@mitgcm.org" style="color: blue; text-decoration: underline;">MITgcm-support@mitgcm.org</a><br>
</span><a href="https://urldefense.us/v3/__http:/mailman.mitgcm.org/mailman/listinfo/mitgcm-support__;!!PvBDto6Hs4WbVuu7!NnRx5vlbDYZWIRraW2gZnWzzXsE782jeSZ_0N-DP52xAVkHbj-uEwC3rZ_U5PHL8Ay0r9294n_QD_GmOPdGy$" originalsrc="https://urldefense.us/v3/__http:/mailman.mitgcm.org/mailman/listinfo/mitgcm-support__;!!PvBDto6Hs4WbVuu7!NnRx5vlbDYZWIRraW2gZnWzzXsE782jeSZ_0N-DP52xAVkHbj-uEwC3rZ_U5PHL8Ay0r9294n_QD_GmOPdGy$" shash="Yom8HE7o7N+m+WxOBP9BNyNMQ+MhjLAPKiSgUtYQh3AOBiadqAZM1AdJnRRD8AxumLV0FYvE9dOjtapX7CiAtDJ8tces6KQke20CsHRFwKWX/AuJ9g0T3UqbMmR3+kqDuVPsKDUYWVCz0m53GI9nZ3fOod+VP+EHZitmhuUZEwI=" style="color: blue; text-decoration: underline;"><span style="font-size: 12pt;">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</span></a><span style="font-size: 12pt;"><o:p></o:p></span></div>
</div>
</blockquote>
</div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><o:p> </o:p></span></div>
</div>
</div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">_______________________________________________<br>
MITgcm-support mailing list<br>
<a href="mailto:MITgcm-support@mitgcm.org" style="color: blue; text-decoration: underline;">MITgcm-support@mitgcm.org</a><br>
</span><a href="https://urldefense.us/v3/__http:/mailman.mitgcm.org/mailman/listinfo/mitgcm-support__;!!PvBDto6Hs4WbVuu7!NnRx5vlbDYZWIRraW2gZnWzzXsE782jeSZ_0N-DP52xAVkHbj-uEwC3rZ_U5PHL8Ay0r9294n_QD_GmOPdGy$" originalsrc="https://urldefense.us/v3/__http:/mailman.mitgcm.org/mailman/listinfo/mitgcm-support__;!!PvBDto6Hs4WbVuu7!NnRx5vlbDYZWIRraW2gZnWzzXsE782jeSZ_0N-DP52xAVkHbj-uEwC3rZ_U5PHL8Ay0r9294n_QD_GmOPdGy$" shash="yZ+3TOz+Byu0kR3FTViAA3vHnuU7gRlOTmPIHjMv0LO+nu7gVivoJeATFFJBoc6cmD6A2Y1XzERwCkfgZjdqbcTTyoMqJntOwkFQD17cH57VVCYMOQz9c+YM0xyhx7IwqRFn+4QQcLLEI68Et5eiFJzRBrKEazv8QrAkUo+wc2I=" style="color: blue; text-decoration: underline;"><span style="font-size: 12pt;">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</span></a><span style="font-size: 12pt;"><o:p></o:p></span></div>
</div>
</blockquote>
</div>
<div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><o:p> </o:p></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">MITgcm-support
mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<a href="mailto:MITgcm-support@mitgcm.org" style="color: blue; text-decoration: underline; font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">MITgcm-support@mitgcm.org</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" style="color: blue; text-decoration: underline; font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
</div>
</blockquote>
</div>
<br>
</div>
</div>
_______________________________________________<br>
MITgcm-support mailing list<br>
MITgcm-support@mitgcm.org<br>
http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
_______________________________________________<br>
MITgcm-support mailing list<br>
MITgcm-support@mitgcm.org<br>
http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support<br>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>