<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Katie,<div class=""><br class=""></div><div class="">This particular error is asking you to change the</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class="">#undef DIAGSTATS_REGION_MASK</blockquote></div><div class=""><br class=""></div><div class="">line in your DIAG_OPTIONS.h file to </div><div class=""><br class=""></div><div class=""><blockquote type="cite" class="">#define DIAGSTATS_REGION_MASK</blockquote><br class=""></div><div class="">which “includes” the relevant code when you recompile to deal with pre-level/regional diagnostics. </div><div class=""><br class=""></div><div class="">Wondering if your symlink command needs an extra “/“, as in</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class="">ln -s ../input/* .</div></div></blockquote></div><div class=""><br class=""></div><div class="">Hope that helps!</div><div class=""><br class=""></div><div class="">Jonathan</div><div class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">___________________________________________________________________________<br class="">Dr. Jonathan M. Lauderdale<br class="">Research Scientist<br class="">Department of Earth, Atmosphere and Planetary Sciences <br class="">Massachusetts Institute of Technology <br class="">77 Massachusetts Avenue (54-1518)<br class="">Cambridge, MA 02139, USA <br class="">Office: +1 617 324 1568 </div><div class="">Cell   : +1 617 304 5661<br class="">Email:<span class="Apple-converted-space"> </span><a href="mailto:jml1@mit.edu" class="">mailto:jml1@mit.edu</a></div><div class=""><span style="text-align: -webkit-auto;" class="">Web: </span><span class=""></span><a href="http://paocweb.mit.edu/people/jml1" style="text-align: -webkit-auto;" class="">http://paocweb.mit.edu/people/jml1</a></div><span class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="">Twitter: </span><a href="https://twitter.com/jon_lauderdale" style="text-align: -webkit-auto;" class="">https://twitter.com/jon_lauderdale<br class=""></a><span style="text-align: -webkit-auto;" class="">Blog: </span><a href="https://seamanticscience.wordpress.com/" style="text-align: -webkit-auto;" class="">https://seamanticscience.wordpress.com/</a></div></span></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="">Git: </span><a href="https://github.com/seamanticscience" class="">https://github.com/seamanticscience</a><span class=""><br class=""></span><div class="">___________________________________________________________________________</div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Jul 31, 2020, at 2:44 PM, Katie Hughes <<a href="mailto:kestagl@ucdavis.edu" class="">kestagl@ucdavis.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div dir="ltr" class=""><div class="">That worked! I had to modify my genmake2 and change -np 12. But for some reason, my symbolic link (ln -s ../input* .) to my input folder is not working so I had to add all my input files to my "run" folder. <br class=""></div><div class=""><br class=""></div><div class=""><b class="">However my new error is:</b> (PID.TID 0000.0001) *** ERROR *** DIAGSTATS_SET_REGIONS: #define DIAGSTATS_REGION_MASK missing in DIAG_OPTIONS.h</div><div class=""><br class=""></div><div class="">See attached my "DIAG_OPTIONS.h" file.<br class=""></div><div class=""><br class=""></div><div class="">Thanks all!<br class=""></div><div class=""><div class=""><div class=""><div dir="ltr" data-smartmail="gmail_signature" class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><font size="2" class="">Katie Stagl Hughes</font><div class=""><font size="2" class=""><br class=""></font><div class="">Ph.D. Candidate | Dept. of Civil & Environmental Engineering</div><div class="">University of California, Davis</div><div class=""><a href="mailto:kestagl@ucdavis.edu" target="_blank" class="">kestagl@ucdavis.edu</a></div></div></div></div></div></div></div></div></div><br class=""></div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 31, 2020 at 11:05 AM Menemenlis, Dimitris (US 329C) <<a href="mailto:dimitris.menemenlis@jpl.nasa.gov" target="_blank" class="">dimitris.menemenlis@jpl.nasa.gov</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div class="">
… and also maybe try fixing:
<div class=""><br class="">
</div>
<div class=""><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:15.6933px;font-size:11pt;font-family:"Times New Roman",serif">
(PID.TID 0000.0001) *** ERROR *** INI_PROCS:  but presently usingMPI = False (in "eedata")</p>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Jul 31, 2020, at 11:00 AM, kaveh Purkiani <<a href="mailto:kavehpurkiani@googlemail.com" target="_blank" class="">kavehpurkiani@googlemail.com</a>> wrote:</div>
<br class="">
<div class="">
<div class="">
<div dir="auto" class="">Hi Katie,</div>
</div>
<div dir="auto" class=""><br class="">
</div>
<div dir="auto" class="">did you try -np 12 instead of 4.</div>
<div dir="auto" class="">Best</div>
<div dir="auto" class="">Kaveh</div>
<div class=""><br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri 31. Jul 2020 at 19:56, Katie Hughes <<a href="mailto:kestagl@ucdavis.edu" target="_blank" class="">kestagl@ucdavis.edu</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr" class="">Hello,
<div class=""><br class="">
</div>
<div class="">I'm new to MITgcm, so apologies if I leave out any pertinent information.</div>
<div class=""><br class="">
</div>
<div class="">I'm trying to run a 2D under-ice simulation with 12 tasks per node (12 horizontal partitions of the grid for parallelization). I'm receiving errors for 'eedata'. </div>
<div class=""><br class="">
</div>
<div class="">I'm running the model with the command <b class="">mpirun -np 4 ./mitgcmuv</b> but was previously just using
<b class="">./mitgcmuv</b> and getting the same errors.</div>
<div class=""><br class="">
</div>
<div class="">Here is an example of my eedata and the coinciding errors:</div>
<div class=""><b class="">If I use this eedata:</b></div>
<div class=""><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:"Times New Roman",serif">
&EEPARMS</p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:"Times New Roman",serif">
/</p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:"Times New Roman",serif">
<b class="">I get this error:</b></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:"Times New Roman",serif">
(PID.TID 0000.0001) *** ERROR *** INI_PROCS: needs MPI for multi-procs (nPx*nPy=    12) setup</p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:"Times New Roman",serif">
(PID.TID 0000.0001) *** ERROR *** INI_PROCS:  but presently usingMPI = False (in "eedata")</p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:"Times New Roman",serif">
(PID.TID 0000.0001) *** ERROR *** EEDIE: earlier error in multi-proc/thread setting</p>
<div style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:"Times New Roman",serif" class="">
<br class="">
</div><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:"Times New Roman",serif">
(PID.TID 0000.0001) *** ERROR *** PROGRAM MAIN: ends with fatal Error</p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:"Times New Roman",serif">
<br class="">
</p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:"Times New Roman",serif">
<b class="">If I use this eedata:</b></p>
</div>
<div class="">&EEPARMS<br class="">
 usingMPI=TRUE,<br class="">
/</div>
<div class=""><b class="">I get this error:</b></div>
<div class=""><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:"Times New Roman",serif">
(PID.TID 0000.0001) *** ERROR *** INI_PROCS: needs MPI for multi-procs (nPx*nPy=    12) setup</p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:"Times New Roman",serif">
(PID.TID 0000.0001) *** ERROR *** INI_PROCS:  but presently usingMPI = False (in "eedata")</p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:"Times New Roman",serif">
(PID.TID 0000.0001) *** ERROR *** EEDIE: earlier error in multi-proc/thread setting</p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:"Times New Roman",serif">
(PID.TID 0000.0001) *** ERROR *** PROGRAM MAIN: ends with fatal Error</p>
</div>
<div class=""><br class="">
</div>
<div class="">Any suggestions?</div>
<div class=""><br class="">
</div>
<div class="">Thank you in advance!<br clear="all" class="">
<div class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class=""><font size="2" class="">Katie Stagl Hughes</font>
<div class=""><font size="2" class=""><br class="">
</font>
<div class="">Ph.D. Candidate | Dept. of Civil & Environmental Engineering</div>
<div class="">University of California, Davis</div>
<div class=""><a href="mailto:kestagl@ucdavis.edu" target="_blank" class="">kestagl@ucdavis.edu</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br class="">
MITgcm-support mailing list<br class="">
<a href="mailto:MITgcm-support@mitgcm.org" target="_blank" class="">MITgcm-support@mitgcm.org</a><br class="">
<a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" rel="noreferrer" target="_blank" class="">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br class="">
</blockquote>
</div>
</div>
_______________________________________________<br class="">
MITgcm-support mailing list<br class="">
<a href="mailto:MITgcm-support@mitgcm.org" target="_blank" class="">MITgcm-support@mitgcm.org</a><br class="">
<a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" target="_blank" class="">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>

_______________________________________________<br class="">
MITgcm-support mailing list<br class="">
<a href="mailto:MITgcm-support@mitgcm.org" target="_blank" class="">MITgcm-support@mitgcm.org</a><br class="">
<a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" rel="noreferrer" target="_blank" class="">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br class="">
</blockquote></div>
<span id="cid:f_kdakt5h20"><DIAG_OPTIONS.h></span>_______________________________________________<br class="">MITgcm-support mailing list<br class=""><a href="mailto:MITgcm-support@mitgcm.org" class="">MITgcm-support@mitgcm.org</a><br class="">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support<br class=""></div></blockquote></div><br class=""></div></body></html>