<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
{font-family:Menlo;
panose-1:2 11 6 9 3 8 4 2 2 4;}
@font-face
{font-family:"\@MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:10.0pt;
font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word;line-break:after-white-space">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Yes, posting the *.f and *.F files as attachment is fine.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The other error/warning message related to running compiled test-program is due to not being able to find netCDF modules in your system. I think it is a different issue from the one not being able to generating
diagnostics_ini_io.f.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Best,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Ou<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">MITgcm-support <mitgcm-support-bounces@mitgcm.org> on behalf of Madeleine Youngs <myoungs@umd.edu><br>
<b>Date: </b>Wednesday, August 14, 2024 at 11:53</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"> </span><span style="font-size:12.0pt;color:black">AM<br>
<b>To: </b>mitgcm-support@mitgcm.org <mitgcm-support@mitgcm.org><br>
<b>Cc: </b>dbonan@caltech.edu <dbonan@caltech.edu><br>
<b>Subject: </b>Re: [MITgcm-support] [EXTERNAL] Re: Compiling Problems<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Hi All,<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">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:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Would you want me to attach a file for the .f and .F files?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">I also noticed this:<o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo">original 'Makefile' generated but was unable to<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo"> run compiled test-program (please see 'genmake.log’)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo"><br>
<br>
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo"><br>
<br>
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo">Thanks,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo">Madeleine<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo"><br>
<br>
<o:p></o:p></span></p>
</div>
<div>
<p style="margin:0in"><span style="font-size:8.5pt;font-family:Menlo">running: check_fortran_compiler<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -O2 -align -ip -c genmake_tcomp.f<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">ifort: command line warning #10121: overriding '-march=core-avx2' with '-march=core-avx2'<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -O2 -align -ip -o genmake_tcomp genmake_tcomp.o<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">ifort: command line warning #10121: overriding '-march=core-avx2' with '-march=core-avx2'<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> mpirun -np 1 ./genmake_tcomp<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">No host list provided<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> --> set FC_CHECK= 3 /5<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal;min-height:13px"><span style="font-size:8.5pt;font-family:Menlo"><o:p> </o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">running: look_for_makedepend()<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> --> set MAKEDEPEND=$(TOOLSDIR)/xmakedepend<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal;min-height:13px"><span style="font-size:8.5pt;font-family:Menlo"><o:p> </o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">running: check_HAVE_CLOC()<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> running: get_fortran_c_namemangling()<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> cc -O2 -ip -fPIC -c genmake_test.c<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">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.<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">genmake_test.c(1): warning #266: function "tsub" declared implicitly<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> void tcall( char * string ) { tsub( string ); }<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> ^<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal;min-height:13px"><span style="font-size:8.5pt;font-family:Menlo"><o:p> </o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -c genmake_tcomp.f<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">ifort: command line warning #10121: overriding '-march=core-avx2' with '-march=core-avx2'<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> --> set FC_NAMEMANGLE='#define FC_NAMEMANGLE(X) X ## _'<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">cc -O2 -ip -fPIC -c genmake_tc_1.c<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">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.<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -o genmake_tc genmake_tc_2.f genmake_tc_1.o<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">ifort: command line warning #10121: overriding '-march=core-avx2' with '-march=core-avx2'<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> HELLO WORLD 1723660750.37632<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> --> set HAVE_CLOC='t'<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal;min-height:13px"><span style="font-size:8.5pt;font-family:Menlo"><o:p> </o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">running: check_HAVE_SETRLSTK()<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">cc -O2 -ip -fPIC -c genmake_tc_1.c<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">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.<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> program hello<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> external setrlstk<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> call setrlstk()<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> end<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -o genmake_tc genmake_tc_2.f genmake_tc_1.o<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">ifort: command line warning #10121: overriding '-march=core-avx2' with '-march=core-avx2'<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> --> set HAVE_SETRLSTK='t'<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal;min-height:13px"><span style="font-size:8.5pt;font-family:Menlo"><o:p> </o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">running: check_HAVE_SIGREG()<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">cc -O2 -ip -fPIC -c genmake_tc_1.c<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">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.<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">genmake_tc_1.c(11): warning #274: declaration is not visible outside of function<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> unsigned int sn, siginfo_t si, struct ucontext *sc )<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> ^<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo"><br>
<br>
<o:p></o:p></span></p>
</div>
</div>
<div>
<p style="margin:0in"><span style="font-size:8.5pt;font-family:Menlo"> program hello<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> integer anint<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> common /iv/ anint<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> external sigreg<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> call sigreg(anint)<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> end<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -o genmake_tc genmake_tc_2.f genmake_tc_1.o<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">ifort: command line warning #10121: overriding '-march=core-avx2' with '-march=core-avx2'<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> --> set HAVE_SIGREG='t'<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal;min-height:13px"><span style="font-size:8.5pt;font-family:Menlo"><o:p> </o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">running: check_HAVE_STAT()<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">cc -O2 -ip -fPIC -c genmake_tc_1.c<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> program hello<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> integer nbyte<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> call tfsize(nbyte)<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> print *," HELLO WORLD", nbyte<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> end<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -o genmake_tc genmake_tc_2.f genmake_tc_1.o<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> --> set HAVE_STAT='t'<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal;min-height:13px"><span style="font-size:8.5pt;font-family:Menlo"><o:p> </o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">running: check_netcdf_libs()<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">=== genmake_tnc.F >>><o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> program fgennc<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">#include "netcdf.inc"<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> integer iret, ncid, xid<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> iret = nf_create('genmake_tnc.nc', NF_CLOBBER, ncid)<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> IF (iret .NE. NF_NOERR) write(*,*) NF_STRERROR(iret)<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> iret = nf_def_dim(ncid, 'X', 11, xid)<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> IF (iret .NE. NF_NOERR) write(*,*) NF_STRERROR(iret)<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> iret = nf_close(ncid)<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> IF (iret .NE. NF_NOERR) write(*,*) NF_STRERROR(iret)<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> end<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"><<< genmake_tnc.F ===<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo"><br>
<br>
<o:p></o:p></span></p>
</div>
</div>
<div>
<p style="margin:0in"><span style="font-size:8.5pt;font-family:Menlo">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/<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> WARNING: CPP failed to pre-process the netcdf test.<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> Please check that $INCLUDES is properly set.<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -O2 -align -ip -c genmake_tnc.f \<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> && ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -O2 -align -ip -o genmake_tnc.o<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">ifort: command line warning #10121: overriding '-march=core-avx2' with '-march=core-avx2'<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">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
...<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> program fgennc<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">--------------------^<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">compilation aborted for genmake_tnc.f (code 1)<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal;min-height:13px"><span style="font-size:8.5pt;font-family:Menlo"><o:p> </o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">==> try again with added '-lnetcdf'<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">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 \<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> && ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -O2 -align -ip -c genmake_tnc.f \<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> && ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -O2 -align -ip -o genmake_tnc genmake_tnc.o -lnetcdf<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal;min-height:13px"><span style="font-size:8.5pt;font-family:Menlo"><o:p> </o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">==> try again with added '-lnetcdff -lnetcdf'<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">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 \<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> && ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -O2 -align -ip -c genmake_tnc.f \<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> && ftn -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g -O2 -align -ip -o genmake_tnc genmake_tnc.o -lnetcdf<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> --> set HAVE_NETCDF=''<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal;min-height:13px"><span style="font-size:8.5pt;font-family:Menlo"><o:p> </o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo">running: check_HAVE_FLUSH()<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> check_HAVE_FLUSH: successful<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"> --> set HAVE_FLUSH='t'<o:p></o:p></span></p>
<p style="margin:0in;font-stretch:normal"><span style="font-size:8.5pt;font-family:Menlo"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo"><br>
<br>
<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><br>
<br>
<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">On Aug 14, 2024, at 10:14 AM, Jody Klymak <jklymak@uvic.ca> wrote:<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Hi Madeleine <o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">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.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Just a shot in the dark.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Cheers, Jody<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><br>
<br>
<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">On Aug 14, 2024, at 10:05</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif"> </span><span style="font-size:12.0pt">AM, Wang, Ou (US 329B) <ou.wang@jpl.nasa.gov> wrote:<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<div>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" align="left" width="100%" style="width:100.0%;orphans:auto;widows:auto;display:table;float:none;word-spacing:0px">
<tbody>
<tr>
<td style="background:#A6A6A6;padding:5.25pt 1.5pt 5.25pt 1.5pt"></td>
<td width="100%" style="width:100.0%;background:#EAEAEA;padding:5.25pt 3.75pt 5.25pt 11.25pt">
<div>
<p class="MsoNormal" style="mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly">
<span style="font-size:9.0pt;font-family:"Segoe UI",sans-serif;color:#212121">You don't often get email from<span class="apple-converted-space"> </span><a href="mailto:ou.wang@jpl.nasa.gov">ou.wang@jpl.nasa.gov</a>.<span class="apple-converted-space"> </span><a href="https://urldefense.us/v3/__https:/aka.ms/LearnAboutSenderIdentification__;!!PvBDto6Hs4WbVuu7!KH725TbBJEI7MIlJLpQnN8eabPKjmhpEKwq5HuR2jxv1PbPahLcKS_MxXIyPkryZqzO8-g3zNi7bE8zw82RS$">Learn
why this is important</a><o:p></o:p></span></p>
</div>
</td>
<td width="75" style="width:56.25pt;background:#EAEAEA;padding:5.25pt 3.75pt 5.25pt 3.75pt">
</td>
</tr>
</tbody>
</table>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Madeleine,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">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?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">It would be helpful if you can also share your versions of diagnostics_check.f and diagnostics_check.F.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Best,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Ou Wang</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
</div>
<div id="mail-editor-reference-message-container">
<div>
<div>
<div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:currentcolor currentcolor">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt">From:<span class="apple-converted-space"> </span></span></b><span style="font-size:12.0pt">MITgcm-support <<a href="mailto:mitgcm-support-bounces@mitgcm.org">mitgcm-support-bounces@mitgcm.org</a>>
on behalf of Madeleine Youngs <<a href="mailto:myoungs@umd.edu">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:12.0pt;font-family:"Arial",sans-serif"> </span><span style="font-size:12.0pt">PM<br>
<b>To:<span class="apple-converted-space"> </span></b><a href="mailto:mitgcm-support@mitgcm.org">mitgcm-support@mitgcm.org</a><span class="apple-converted-space"> </span><<a href="mailto:mitgcm-support@mitgcm.org">mitgcm-support@mitgcm.org</a>><br>
<b>Subject:<span class="apple-converted-space"> </span></b>[EXTERNAL] Re: [MITgcm-support] Compiling Problems</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Hi Takaya,</span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">That didn’t seem to fix the issue, but thank you for sending this along!</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Madeleine</span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">On Aug 13, 2024, at 6:10 PM, Takaya Uchida <<a href="mailto:tu22@fsu.edu">tu22@fsu.edu</a>> wrote:</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Hi Madeleine,<span class="apple-converted-space"> </span></span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">I’ve copy and pasted below the opt file I ended up using to compile MITgcm on Derecho.</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#2CABBA">#</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#2CABBA"># Build options for Derecho at NCAR</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#2CABBA">#</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B"> </span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B">FC=ftn</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B">CC=cc</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B">DEFINES=</span><span style="font-family:Menlo;color:#740B8D">'-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4 -DNML_TERMINATOR'</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B">CPP=</span><span style="font-family:Menlo;color:#740B8D">'cpp -P -traditional'</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B">EXTENDED_SRC_FLAG=</span><span style="font-family:Menlo;color:#740B8D">'-132'</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B">NOOPTFLAGS=</span><span style="font-family:Menlo;color:#740B8D">'-O2 -g -march=core-avx2'</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B">LIBS=</span><span style="font-family:Menlo;color:#740B8D">''</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B">INCLUDES=</span><span style="font-family:Menlo;color:#740B8D">'-I/opt/cray/pe/mpich/8.1.25/ofi/intel/19.0/include/'</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B"> </span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B">if test<span class="apple-converted-space"> </span></span><span style="font-family:Menlo;color:#740B8D">"x$DEVEL"</span><span class="apple-converted-space"><span style="font-family:Menlo;color:#525B6B"> </span></span><span style="font-family:Menlo;color:#525B6B">!=
x ; then</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B"> FFLAGS=</span><span style="font-family:Menlo;color:#740B8D">"$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"</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B">else</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B"> FFLAGS=</span><span style="font-family:Menlo;color:#740B8D">"$FFLAGS -W0 -WB -convert big_endian -assume byterecl -fPIC -march=core-avx2 -g"</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B">fi</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B"> </span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B">if test<span class="apple-converted-space"> </span></span><span style="font-family:Menlo;color:#740B8D">"x$IEEE"</span><span class="apple-converted-space"><span style="font-family:Menlo;color:#525B6B"> </span></span><span style="font-family:Menlo;color:#525B6B">=
x ; then</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B"> FOPTIM=</span><span style="font-family:Menlo;color:#740B8D">'-O2 -align -ip'</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B"> else</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B"> FOPTIM=</span><span style="font-family:Menlo;color:#740B8D">'-O2 -align -ip -mp'</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B">fi</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B">CFLAGS=</span><span style="font-family:Menlo;color:#740B8D">'-O2 -ip -fPIC'</span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">The list of modules I load are:</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Menlo;color:#525B6B">module load ncarenv/</span><span style="font-family:Menlo;color:#740B8D">23</span><span style="font-family:Menlo;color:#525B6B">.</span><span style="font-family:Menlo;color:#740B8D">09</span><span class="apple-converted-space"><span style="font-family:Menlo;color:#525B6B"> </span></span><span style="font-family:Menlo;color:#525B6B">craype/</span><span style="font-family:Menlo;color:#740B8D">2</span><span style="font-family:Menlo;color:#525B6B">.</span><span style="font-family:Menlo;color:#740B8D">7</span><span style="font-family:Menlo;color:#525B6B">.</span><span style="font-family:Menlo;color:#740B8D">23</span><span class="apple-converted-space"><span style="font-family:Menlo;color:#525B6B"> </span></span><span style="font-family:Menlo;color:#525B6B">intel-classic/</span><span style="font-family:Menlo;color:#740B8D">2023</span><span style="font-family:Menlo;color:#525B6B">.</span><span style="font-family:Menlo;color:#740B8D">2</span><span style="font-family:Menlo;color:#525B6B">.</span><span style="font-family:Menlo;color:#740B8D">1</span><span class="apple-converted-space"><span style="font-family:Menlo;color:#525B6B"> </span></span><span style="font-family:Menlo;color:#525B6B">ncarcompilers/</span><span style="font-family:Menlo;color:#740B8D">1</span><span style="font-family:Menlo;color:#525B6B">.</span><span style="font-family:Menlo;color:#740B8D">0</span><span style="font-family:Menlo;color:#525B6B">.</span><span style="font-family:Menlo;color:#740B8D">0</span><span class="apple-converted-space"><span style="font-family:Menlo;color:#525B6B"> </span></span><span style="font-family:Menlo;color:#525B6B">cray-mpich/</span><span style="font-family:Menlo;color:#740B8D">8</span><span style="font-family:Menlo;color:#525B6B">.</span><span style="font-family:Menlo;color:#740B8D">1</span><span style="font-family:Menlo;color:#525B6B">.</span><span style="font-family:Menlo;color:#740B8D">27</span><span class="apple-converted-space"><span style="font-family:Menlo;color:#525B6B"> </span></span><span style="font-family:Menlo;color:#525B6B">hdf5/</span><span style="font-family:Menlo;color:#740B8D">1</span><span style="font-family:Menlo;color:#525B6B">.</span><span style="font-family:Menlo;color:#740B8D">12</span><span style="font-family:Menlo;color:#525B6B">.</span><span style="font-family:Menlo;color:#740B8D">2</span><span class="apple-converted-space"><span style="font-family:Menlo;color:#525B6B"> </span></span><span style="font-family:Menlo;color:#525B6B">netcdf/</span><span style="font-family:Menlo;color:#740B8D">4</span><span style="font-family:Menlo;color:#525B6B">.</span><span style="font-family:Menlo;color:#740B8D">9</span><span style="font-family:Menlo;color:#525B6B">.</span><span style="font-family:Menlo;color:#740B8D">2</span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica">----------------------------------</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica">Takaya Uchida (</span><span style="font-size:9.0pt;font-family:"MS Mincho"">内田貴也</span><span style="font-size:9.0pt;font-family:Helvetica">)</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica">Assistant Research Scientist<br>
Florida State University<br>
Center for Ocean-Atmospheric Prediction Studies</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><a href="https://urldefense.us/v3/__https:/roxyboy.github.io/__;!!PvBDto6Hs4WbVuu7!NnRx5vlbDYZWIRraW2gZnWzzXsE782jeSZ_0N-DP52xAVkHbj-uEwC3rZ_U5PHL8Ay0r9294n_QD_ImbsRJV$"><span style="font-size:9.0pt;font-family:Helvetica">https://roxyboy.github.io/</span></a><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><br>
<Center for Ocean-Atmospheric Prediction Studies signature alt.png><span class="apple-converted-space"> </span></span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">On Aug 13, 2024, at 8:51</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif"> </span><span style="font-size:12.0pt">PM, Madeleine Youngs <<a href="mailto:myoungs@umd.edu">myoungs@umd.edu</a>>
wrote:</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Hi Everyone,<span class="apple-converted-space"> </span></span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">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><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><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</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><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</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><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</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo">Cannot disable Fortran error message 6404</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><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]</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo"> IF ( diag_mdsio .AND. (diagMdsDir.NE.' ') .AND.</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo">-----------------------------^</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo">Cannot disable Fortran error message 6404</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><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]</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo"> & diagMdsDirCreate .AND. (mdsioLocalDir.EQ.' ') ) THEN</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo">-----------^</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo">Cannot disable Fortran error message 6514</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><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]</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo"> WRITE(namBuf,'(3A)') ' mkdir -p ', diagMdsDir(1:iL), ' '</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo">-------------------------------------------^</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo">compilation aborted for diagnostics_ini_io.f (code 1)</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo">make[1]: *** [Makefile:1776: diagnostics_ini_io.o] Error 1</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo">make[1]: Leaving directory '/glade/derecho/scratch/myoungs/MITgcm/MultiWidthExperiments/Present9.20.16/build'</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo">make: *** [Makefile:1688: fwd_exe_target] Error 2</span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Thanks,</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Madeleine</span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">_______________________________________________<br>
MITgcm-support mailing list<br>
<a href="mailto:MITgcm-support@mitgcm.org">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$"><span style="font-size:12.0pt">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</span></a><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">_______________________________________________<br>
MITgcm-support mailing list<br>
<a href="mailto:MITgcm-support@mitgcm.org">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$"><span style="font-size:12.0pt">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</span></a><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">_______________________________________________<br>
MITgcm-support mailing list<br>
</span><span style="font-size:12.0pt"><a href="mailto:MITgcm-support@mitgcm.org"><span style="font-size:10.5pt;font-family:Helvetica">MITgcm-support@mitgcm.org</span></a></span><span style="font-size:10.5pt;font-family:Helvetica"><br>
</span><span style="font-size:12.0pt"><a href="https://urldefense.us/v3/__http:/mailman.mitgcm.org/mailman/listinfo/mitgcm-support__;!!PvBDto6Hs4WbVuu7!KH725TbBJEI7MIlJLpQnN8eabPKjmhpEKwq5HuR2jxv1PbPahLcKS_MxXIyPkryZqzO8-g3zNi7bE792_4M5$"><span style="font-size:10.5pt;font-family:Helvetica">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</span></a><o:p></o:p></span></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt">_______________________________________________<br>
MITgcm-support mailing list<br>
MITgcm-support@mitgcm.org<br>
<a href="https://urldefense.us/v3/__http:/mailman.mitgcm.org/mailman/listinfo/mitgcm-support__;!!PvBDto6Hs4WbVuu7!KH725TbBJEI7MIlJLpQnN8eabPKjmhpEKwq5HuR2jxv1PbPahLcKS_MxXIyPkryZqzO8-g3zNi7bE792_4M5$">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><o:p></o:p></span></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>