<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Raghu,<br>
I though we already added "modules.nems.Theia_ESMF_630rp1API_gsm".<br>
So what is new with your version for this?<br>
Thanks<br>
Moorthi<br>
On 05/29/2015 09:12 AM, Raghu Reddy wrote:<br>
</div>
<blockquote cite="mid:017201d09a11$2c5bce40$85136ac0$@noaa.gov"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1499081025;
        mso-list-type:hybrid;
        mso-list-template-ids:100457652 -1847848680 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi Ratko,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I wanted some user application as a test
for compilation and decided to try the latest NEMS trunk on
Theia. After making a few minor changes I am able to get it
to compile on Theia using nceplibs from Moorthi’s directory.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Since I don’t have access to the WCOSS
there is no way for me to do any verification and checking on
other platforms, but some of the things I found may be helpful
when you need to get everything working on Theia.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph"
style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="mso-list:Ignore">-<span style="font:7.0pt "Times
New Roman""> </span></span><!--[endif]-->I
checked out the NEMS trunk yesterday.<o:p></o:p></p>
<p class="MsoListParagraph"
style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="mso-list:Ignore">-<span style="font:7.0pt "Times
New Roman""> </span></span><!--[endif]-->Everything
I am doing is in the following directory:
/scratch4/NESCCINFRA/nesccmgmt/Raghu.Reddy/nems-trunk-2015-05-28<o:p></o:p></p>
<p class="MsoListParagraph"
style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="mso-list:Ignore">-<span style="font:7.0pt "Times
New Roman""> </span></span><!--[endif]-->All
the changes that have made are Theia specific, so it should
not impact anything else.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have only verified the compilation part,
because actually running the tests requires more changes,
particularly to the *.IN and *.sh files that I have not had
time to do.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">You can see the changes I have made by
doing “svn diff”.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The following files were modified:<o:p></o:p></p>
<p class="MsoNormal">tfe10.% svn diff|grep "Index:"<o:p></o:p></p>
<p class="MsoNormal">Index: tests/default_vars.sh<o:p></o:p></p>
<p class="MsoNormal">Index: tests/rt.sh<o:p></o:p></p>
<p class="MsoNormal">Index: tests/rt.conf<o:p></o:p></p>
<p class="MsoNormal">Index: src/configure<o:p></o:p></p>
<p class="MsoNormal">Index: src/conf/configure.nems.Theia.intel<o:p></o:p></p>
<p class="MsoNormal">Index:
src/chem/gocart/src/Config/ESMA_arch.mk<o:p></o:p></p>
<p class="MsoNormal">tfe10.%<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">And the following two new files were added:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">tfe10.% ll
src/conf/modules.nems.Theia_ESMF_630*<o:p></o:p></p>
<p class="MsoNormal">-rwxr-xr-x 2 Raghu.Reddy nesccmgmt 163 May
28 20:25 src/conf/modules.nems.Theia_ESMF_630rAPI_gsm*<o:p></o:p></p>
<p class="MsoNormal">-rwxr-xr-x 2 Raghu.Reddy nesccmgmt 163 May
28 20:25 src/conf/modules.nems.Theia_ESMF_630rAPI_nmm*<o:p></o:p></p>
<p class="MsoNormal">tfe10.%<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">There is one specific thing I can point to
that was causing the problem and will be good to address which
is the following:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The machine information as detected by
detect_machine.sh is fairly robust and is good. <o:p></o:p></p>
<p class="MsoNormal">However, in the file:
src/chem/gocart/src/Config/ESMA_arch.mk<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The way machine is detected is very
fragile:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> SITE := $(patsubst fe%,zeus,$(SITE))<o:p></o:p></p>
<p class="MsoNormal"> SITE := $(patsubst t%,wcoss,$(SITE))<o:p></o:p></p>
<p class="MsoNormal"> SITE := $(patsubst g%,wcoss,$(SITE))<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It looks like the frontends for WCOSS
starts with the letter “t”, and so do the frontends for
Theia! <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Since the host name for theia also begins
with the same letter it causes some problems unless the host
names in that makefile are capitalized etc., However there is
a much simpler solution, which is to pass SITE on the gmake
command and the ./tests/rt.sh file:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">227c241<o:p></o:p></p>
<p class="MsoNormal">< gmake ${NEMS_VER}
J=-j2 >>
$COMPILE_LOG 2>&1<o:p></o:p></p>
<p class="MsoNormal">---<o:p></o:p></p>
<p class="MsoNormal">> gmake ${NEMS_VER} J=-j2
SITE=$MACHINE_ID >> $COMPILE_LOG
2>&1<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I just wanted to share this information in
case it’s useful. Please let me know if you need additional
information.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Raghu<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Ncep.list.nems.announce mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ncep.list.nems.announce@lstsrv.ncep.noaa.gov">Ncep.list.nems.announce@lstsrv.ncep.noaa.gov</a>
<a class="moz-txt-link-freetext" href="https://www.lstsrv.ncep.noaa.gov/mailman/listinfo/ncep.list.nems.announce">https://www.lstsrv.ncep.noaa.gov/mailman/listinfo/ncep.list.nems.announce</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dr. Shrinivas Moorthi
Research Meteorologist
Global Climate and Weather Modeling Branch
Environmental Modeling Center / National Centers for Environmental Prediction
5830 University Research Court - (W/NP23), College Park MD 20740 USA
Tel:(301)683-3718</pre>
</body>
</html>