<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Ed,</p>
<p>Thanks for that I missed the bit in the documentation referring
to the pre-built option files
(<a class="moz-txt-link-freetext" href="https://mitgcm.readthedocs.io/en/latest/getting_started/getting_started.html?highlight=mailing#genmake2-optfiles">https://mitgcm.readthedocs.io/en/latest/getting_started/getting_started.html?highlight=mailing#genmake2-optfiles</a>)
and tried to write my own.</p>
<p>Apologies to Jean-Michel for wasting his time.<br>
</p>
<pre class="moz-signature" cols="72">John Miezitis
Senior HPC Systems Engineer
Tasmanian Partnership for Advanced Computing (TPAC)
University of Tasmania</pre>
<div class="moz-cite-prefix">On 27/4/20 4:53 pm, Edward Doddridge
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:6E9A524F-C6AF-4F9D-BD49-3F8EEA6F798F@utas.edu.au">
<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>
<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" style="text-align:center" align="center"><span
style="font-size:12.0pt;font-family:Palatino;color:black"><img
style="width:9.75in;height:.0104in" id="Rectangle_x0020_1"
src="cid:part1.3F532624.CE112EB9@tpac.org.au" class=""
width="936" height="1"><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
<a class="moz-txt-link-rfc2396E" href="mailto:mitgcm-support-bounces@mitgcm.org"><mitgcm-support-bounces@mitgcm.org></a> on behalf of
John Miezitis <a class="moz-txt-link-rfc2396E" href="mailto:john.miezitis@tpac.org.au"><john.miezitis@tpac.org.au></a><br>
<b>Reply to: </b><a class="moz-txt-link-rfc2396E" href="mailto:mitgcm-support@mitgcm.org">"mitgcm-support@mitgcm.org"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:mitgcm-support@mitgcm.org"><mitgcm-support@mitgcm.org></a><br>
<b>Date: </b>Monday, 27 April 2020 at 16:07<br>
<b>To: </b><a class="moz-txt-link-rfc2396E" href="mailto:mitgcm-support@mitgcm.org">"mitgcm-support@mitgcm.org"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:mitgcm-support@mitgcm.org"><mitgcm-support@mitgcm.org></a><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"
moz-do-not-send="true">
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
MITgcm-support mailing list
<a class="moz-txt-link-abbreviated" href="mailto:MITgcm-support@mitgcm.org">MITgcm-support@mitgcm.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a>
</pre>
</blockquote>
</body>
</html>