<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 Ou, All,<div><br></div><div>This solved the compilation issues! The old header file was floating around causing issues. Thank you for your help!</div><div><br></div><div>Madeleine<br><div><div><br><blockquote type="cite"><div>On Aug 20, 2024, at 3:01 PM, Wang, Ou (US 329B) <ou.wang@jpl.nasa.gov> wrote:</div><br class="Apple-interchange-newline"><div><meta charset="UTF-8"><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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 style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;">Hi Madeleine,<span class="Apple-converted-space"> </span><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;">Thanks for posting the two files that are related to your original posting regarding missing variables, such as diagMdsDir. Based on diagnostics_ini_io.f, which includes the header file DIAGNOSTICS.h, it appears that you are using an old version of DIAGNOSTICS.h that is not consistent with diagnostics_ini_io.F. In particular, I believe the version of DIAGNOSTICS.h you’re using is from<span class="Apple-converted-space"> </span><a href="https://github.com/MITgcm/MITgcm/commit/8a1f6fb317a4e4d7541359ca41ed638a2ea88ce5" style="color: blue; text-decoration: underline;">https://github.com/MITgcm/MITgcm/commit/8a1f6fb317a4e4d7541359ca41ed638a2ea88ce5</a>, as the diagnostics_ini_io.f file has the following line:<o:p></o:p></span></div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;">C $Header: /u/gcmpack/MITgcm/pkg/diagnostics/DIAGNOSTICS.h,v 1.20 2013/08/14 00:54:05 jmc Exp $<o:p></o:p></span></div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;">This version of DIAGNOSTICS.h does not declare the missing variables, e.g., diagMdsDir, and therefore the compilation will fail. Please use an up-to-date version of DIAGNOSTICS.h that is consistent with your diagnostics_ini_io.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 id="mail-editor-reference-message-container"><div><div><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(181, 196, 223); 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 20, 2024 at 1:59</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>Cc:<span class="Apple-converted-space"> </span></b><a href="mailto:dbonan@caltech.edu" style="color: blue; text-decoration: underline;">dbonan@caltech.edu</a><span class="Apple-converted-space"> </span><<a href="mailto:dbonan@caltech.edu" style="color: blue; text-decoration: underline;">dbonan@caltech.edu</a>><br><b>Subject:<span class="Apple-converted-space"> </span></b>Re: [MITgcm-support] [EXTERNAL] Re: Compiling Problems<o:p></o:p></span></p></div><div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">Here are the files requested. <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 style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"><o:p> </o:p></span></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;"><div><div><div><div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;"><div><div><div><div><div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;"><div><div><div><div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;"><div><div><div><div id="x_mail-editor-reference-message-container"><div><div><div><div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;"><div><div><div><div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;"><div><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 <</span><a href="mailto:myoungs@umd.edu" style="color: blue; text-decoration: underline;"><span style="font-size: 12pt;">myoungs@umd.edu</span></a><span style="font-size: 12pt;">> wrote:</span></div></div></div><div><p class="MsoNormal" style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"> </span></p></div><div><div><div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">Hi Everyone,<span class="xapple-converted-space"> </span></span></div></div><div><div><p class="MsoNormal" style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"> </span></p></div></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></div></div></div><div><div><p class="MsoNormal" style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"> </span></p></div></div><div><div><p class="MsoNormal" style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"> </span></p></div></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</span></div></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;">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></div></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_ini_io.f</span></div></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;">Cannot disable Fortran error message 6404</span></div></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;">diagnostics_ini_io.f(2005): error #6404: This name does not have a type, and must have an explicit type. [DIAGMDSDIR]</span></div></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;"> IF ( diag_mdsio .AND. (diagMdsDir.NE.' ') .AND.</span></div></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;">-----------------------------^</span></div></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;">Cannot disable Fortran error message 6404</span></div></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;">diagnostics_ini_io.f(2006): error #6404: This name does not have a type, and must have an explicit type. [DIAGMDSDIRCREATE]</span></div></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;"> & diagMdsDirCreate .AND. (mdsioLocalDir.EQ.' ') ) THEN</span></div></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;">-----------^</span></div></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;">Cannot disable Fortran error message 6514</span></div></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;">diagnostics_ini_io.f(2009): error #6514: Substring or array slice notation requires CHARACTER type or array. [DIAGMDSDIR]</span></div></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;"> WRITE(namBuf,'(3A)') ' mkdir -p ', diagMdsDir(1:iL), ' '</span></div></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;">-------------------------------------------^</span></div></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;">compilation aborted for diagnostics_ini_io.f (code 1)</span></div></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;">make[1]: *** [Makefile:1776: diagnostics_ini_io.o] Error 1</span></div></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;">make[1]: Leaving directory '/glade/derecho/scratch/myoungs/MITgcm/MultiWidthExperiments/Present9.20.16/build'</span></div></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;">make: *** [Makefile:1688: fwd_exe_target] Error 2</span></div></div></div></div><div><div><p class="MsoNormal" style="margin: 0in 0in 12pt; font-size: 10pt; font-family: Aptos, sans-serif;"><o:p> </o:p></p></div></div><div><div><p class="MsoNormal" style="margin: 0in 0in 12pt; font-size: 10pt; font-family: Aptos, sans-serif;"><o:p> </o:p></p></div></div><div><div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">Thanks,</span></div></div></div><div><div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">Madeleine</span></div></div></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></span><a href="mailto:MITgcm-support@mitgcm.org" style="color: blue; text-decoration: underline;"><span style="font-size: 12pt;">MITgcm-support@mitgcm.org</span></a><span style="font-size: 12pt;"><br></span><a href="https://urldefense.us/v3/__http:/mailman.mitgcm.org/mailman/listinfo/mitgcm-support__;!!PvBDto6Hs4WbVuu7!NnRx5vlbDYZWIRraW2gZnWzzXsE782jeSZ_0N-DP52xAVkHbj-uEwC3rZ_U5PHL8Ay0r9294n_QD_GmOPdGy$" style="color: blue; text-decoration: underline;"><span style="font-size: 12pt;">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</span></a></div></div></div></blockquote></div><div><p class="MsoNormal" style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"> </span></p></div></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></span><a href="mailto:MITgcm-support@mitgcm.org" style="color: blue; text-decoration: underline;"><span style="font-size: 12pt;">MITgcm-support@mitgcm.org</span></a><span style="font-size: 12pt;"><br></span><a href="https://urldefense.us/v3/__http:/mailman.mitgcm.org/mailman/listinfo/mitgcm-support__;!!PvBDto6Hs4WbVuu7!NnRx5vlbDYZWIRraW2gZnWzzXsE782jeSZ_0N-DP52xAVkHbj-uEwC3rZ_U5PHL8Ay0r9294n_QD_GmOPdGy$" style="color: blue; text-decoration: underline;"><span style="font-size: 12pt;">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</span></a></div></div></div></blockquote></div><div><p class="MsoNormal" style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;"> </span></p></div></div></div></div></div></div></div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.5pt; font-family: Helvetica;">_______________________________________________<br>MITgcm-support mailing list<br></span><a href="mailto:MITgcm-support@mitgcm.org" style="color: blue; text-decoration: underline;"><span style="font-size: 10.5pt; font-family: Helvetica;">MITgcm-support@mitgcm.org</span></a><span style="font-size: 10.5pt; font-family: Helvetica;"><br></span><a href="https://urldefense.us/v3/__http:/mailman.mitgcm.org/mailman/listinfo/mitgcm-support__;!!PvBDto6Hs4WbVuu7!N15SMRSDHusDwG0iUnHuzvgHvGSCoOaUki6NUan4Czv9NRP0rF7OGjELWU6BPLmzi_MP9ryN_bnRWM1PrfC5$" style="color: blue; text-decoration: underline;"><span style="font-size: 10.5pt; font-family: Helvetica;">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!N15SMRSDHusDwG0iUnHuzvgHvGSCoOaUki6NUan4Czv9NRP0rF7OGjELWU6BPLmzi_MP9ryN_bnRWM1PrfC5$" 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></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></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: 12px; 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: 12px; 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: 12px; 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: 12px; 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: 12px; 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-size-adjust: auto; -webkit-text-stroke-width: 0px;">MITgcm-support@mitgcm.org</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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: 12px; 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-size-adjust: auto; -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: 12px; 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></body></html>