<html xmlns:v="urn:schemas-microsoft-com:vml" 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)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Palatino;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Menlo;
        panose-1:2 11 6 9 3 8 4 2 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi John,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Are you trying to run on Kunanyi?
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I just tried the following<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:#EEFFCC"><span style="font-size:9.0pt;font-family:Menlo;color:#404040">module load intel<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#EEFFCC"><span style="font-size:9.0pt;font-family:Menlo;color:#404040">module load openmpi<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#EEFFCC"><span style="font-size:9.0pt;font-family:Menlo;color:#404040"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:#EEFFCC"><span style="font-size:9.0pt;font-family:Menlo;color:#404040">md build<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#EEFFCC"><span style="font-size:9.0pt;font-family:Menlo;color:#404040">../../../tools/genmake2 -mods ../code -of ../../../tools/build_options/linux_amd64_ifort+impi<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#EEFFCC"><span style="font-size:9.0pt;font-family:Menlo;color:#404040">make depend<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#EEFFCC"><span style="font-size:9.0pt;font-family:Menlo;color:#404040">make<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#EEFFCC"><span style="font-size:9.0pt;font-family:Menlo;color:#404040">cd ..<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#EEFFCC"><span style="font-size:9.0pt;font-family:Menlo;color:#404040"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:#EEFFCC"><span style="font-size:9.0pt;font-family:Menlo;color:#404040">cd run<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#EEFFCC"><span style="font-size:9.0pt;font-family:Menlo;color:#404040">ln -s ../input/* .<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#EEFFCC"><span style="font-size:9.0pt;font-family:Menlo;color:#404040">ln -s ../build/mitgcmuv .<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#EEFFCC"><span style="font-size:9.0pt;font-family:Menlo;color:#404040">./mitgcmuv > output.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">And it worked. Does you error persist if you use the above commands?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Ed<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:Palatino;color:black"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:Palatino;color:black"><img width="936" height="1" style="width:9.75in;height:.0104in" id="Rectangle_x0020_1" src="cid:image001.png@01D61CB4.5C8AF570"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:Palatino;color:black">Edward Doddridge</span></b><span style="font-size:10.0pt;font-family:Palatino;color:black"><br>
<i>Research Associate and Theme Leader</i></span><span style="font-family:Palatino"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:Palatino;color:black">Australian Antarctic Program Partnership (AAPP)</span></i><span style="font-family:Palatino;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:Palatino;color:black">Institute for Marine and Antarctic Studies (IMAS)</span></i><span style="font-family:Palatino;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:Palatino;color:black">University of Tasmania (UTAS)</span></i><span style="font-family:Palatino;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><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 John Miezitis <john.miezitis@tpac.org.au><br>
<b>Reply to: </b>"mitgcm-support@mitgcm.org" <mitgcm-support@mitgcm.org><br>
<b>Date: </b>Monday, 27 April 2020 at 16:07<br>
<b>To: </b>"mitgcm-support@mitgcm.org" <mitgcm-support@mitgcm.org><br>
<b>Subject: </b>[MITgcm-support] Unable to build tutorial_barotropic_gyre with Intel compilers<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p>Hi All,<o:p></o:p></p>
<p>I am trying to build tutorial_barotropic_gyre on behalf of a researcher.  I have had no previous experience with MITgcm so thought to build the tutorial following the documentation here
<a href="https://mitgcm.readthedocs.io/en/latest/getting_started/getting_started.html#where-to-find-information">
https://mitgcm.readthedocs.io/en/latest/getting_started/getting_started.html#where-to-find-information</a>.
<o:p></o:p></p>
<p>Having cloned MITgcm I attempted to build tutorial_barotropic_gyre with no modifications.  The genmake2 and make depend completed without errors.<o:p></o:p></p>
<p>The make aborts when compiling mds_reclen.f with the following:<o:p></o:p></p>
<p>cat mds_reclen.F |  cpp -traditional -P -DHAVE_SYSTEM -DHAVE_FDATE -DHAVE_ETIME_FCT -DHAVE_CLOC -DHAVE_SETRLSTK -DHAVE_SIGREG -DHAVE_STAT -DHAVE_FLUSH  -I.  | ../../../tools/set64bitConst.sh  > mds_reclen.f<br>
ifort   -c mds_reclen.f<br>
mds_reclen.f(618): error #6404: This name does not have a type, and must have an explicit type.   [WORDLENGTH]<br>
       MDS_RECLEN = nnn*WORDLENGTH<br>
------------------------^<br>
compilation aborted for mds_reclen.f (code 1)<br>
make[1]: *** [mds_reclen.o] Error 1<br>
make[1]: Leaving directory `/dstore1/software/apps/src/MITgcm/verification/tutorial_barotropic_gyre/build'<br>
make: *** [fwd_exe_target] Error 2<o:p></o:p></p>
<p>Any suggestions welcome.<o:p></o:p></p>
<p>Thank you.<o:p></o:p></p>
<p>Cheers.<br>
John Miezitis <o:p></o:p></p>
<pre>Senior HPC Systems Engineer<o:p></o:p></pre>
<pre>Tasmanian Partnership for Advanced Computing (TPAC)<o:p></o:p></pre>
<pre>University of Tasmania<o:p></o:p></pre>
</div>
<p style="font-size:10pt; line-height:10pt; font-family: Calibri,sans-serif;"><br>
<br>
University of Tasmania Electronic Communications Policy (December, 2014). <br>
This email is confidential, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone outside the intended recipient organisation is prohibited and may be a criminal offence. Please delete if obtained
 in error and email confirmation to the sender. The views expressed in this email are not necessarily the views of the University of Tasmania, unless clearly intended otherwise.
</p>
</body>
</html>