<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=us-ascii"><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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
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";
        color:black;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hi Moorthi,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>It is possible it was already there, but for some reason when I tried to do an &#8220;svn diff&#8221; it did not list it there.&nbsp; That is the only reason I thought it was a new file.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>tfe10.% pwd<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>/scratch4/NESCCINFRA/nesccmgmt/Raghu.Reddy/nems-trunk-2015-05-28/src/conf<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>tfe10.% ll modules.nems.Theia_ESMF_630*<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>-rwxr-xr-x 2 Raghu.Reddy nesccmgmt 163 May 28 20:25 modules.nems.Theia_ESMF_630rAPI_gsm*<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>-rwxr-xr-x 2 Raghu.Reddy nesccmgmt 163 May 28 20:25 modules.nems.Theia_ESMF_630rAPI_nmm*<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>tfe10.%<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>tfe10.% svn diff modules.nems.Theia_ESMF_630rAPI_gsm<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>svn: 'modules.nems.Theia_ESMF_630rAPI_gsm' is not under version control<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>tfe10.%<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>That is the reason I had listed it as a new file.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Raghu<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> ncep.list.nems.announce-bounces@lstsrv.ncep.noaa.gov [mailto:ncep.list.nems.announce-bounces@lstsrv.ncep.noaa.gov] <b>On Behalf Of </b>Shrinivas Moorthi<br><b>Sent:</b> Friday, May 29, 2015 9:49 AM<br><b>To:</b> ncep.list.nems.announce@lstsrv.ncep.noaa.gov<br><b>Subject:</b> Re: [Ncep.list.nems.announce] Compiling NEMS regression test on Theia<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>Raghu,<br>I though we already added &quot;modules.nems.Theia_ESMF_630rp1API_gsm&quot;.<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:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>Hi Ratko,<o:p></o:p></p><p class=MsoNormal>&nbsp;<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.&nbsp; After making a few minor changes I am able to get it to compile on Theia using nceplibs from Moorthi&#8217;s directory.<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>Since I don&#8217;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>&nbsp;<o:p></o:p></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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>&nbsp;<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 &nbsp;*.IN and *.sh files that I have not had time to do.<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>You can see the changes I have made by doing &#8220;svn diff&#8221;.<o:p></o:p></p><p class=MsoNormal>&nbsp;<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 &quot;Index:&quot;<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>&nbsp;<o:p></o:p></p><p class=MsoNormal>And the following two new files were added:<o:p></o:p></p><p class=MsoNormal>&nbsp;<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>&nbsp;<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>&nbsp;<o:p></o:p></p><p class=MsoNormal>The machine information as detected by detect_machine.sh is fairly robust and is good.&nbsp; <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>&nbsp;<o:p></o:p></p><p class=MsoNormal>The way machine is detected is very fragile:<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>&nbsp; SITE := $(patsubst fe%,zeus,$(SITE))<o:p></o:p></p><p class=MsoNormal>&nbsp; SITE := $(patsubst t%,wcoss,$(SITE))<o:p></o:p></p><p class=MsoNormal>&nbsp; SITE := $(patsubst g%,wcoss,$(SITE))<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>It looks like the frontends for WCOSS starts with the letter &#8220;t&#8221;, and so do the frontends for Theia!&nbsp; <o:p></o:p></p><p class=MsoNormal>&nbsp;<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>&nbsp;<o:p></o:p></p><p class=MsoNormal>227c241<o:p></o:p></p><p class=MsoNormal>&lt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gmake ${NEMS_VER} J=-j2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&gt; $COMPILE_LOG 2&gt;&amp;1<o:p></o:p></p><p class=MsoNormal>---<o:p></o:p></p><p class=MsoNormal>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gmake ${NEMS_VER} J=-j2 SITE=$MACHINE_ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&gt; $COMPILE_LOG 2&gt;&amp;1<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>I just wanted to share this information in case it&#8217;s useful.&nbsp; Please let me know if you need additional information.<o:p></o:p></p><p class=MsoNormal>&nbsp;<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>&nbsp;<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br><br><br><o:p></o:p></span></p><pre>_______________________________________________<o:p></o:p></pre><pre>Ncep.list.nems.announce mailing list<o:p></o:p></pre><pre><a href="mailto:Ncep.list.nems.announce@lstsrv.ncep.noaa.gov">Ncep.list.nems.announce@lstsrv.ncep.noaa.gov</a><o:p></o:p></pre><pre><a 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><o:p></o:p></pre></blockquote><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br><br><br><o:p></o:p></span></p><pre>-- <o:p></o:p></pre><pre>Dr. Shrinivas Moorthi<o:p></o:p></pre><pre>Research Meteorologist<o:p></o:p></pre><pre>Global Climate and Weather Modeling Branch<o:p></o:p></pre><pre>Environmental Modeling Center / National Centers for Environmental Prediction<o:p></o:p></pre><pre>5830 University Research Court - (W/NP23), College Park MD 20740 USA<o:p></o:p></pre><pre><a href="Tel:(301)683-3718">Tel:(301)683-3718</a><o:p></o:p></pre></div></body></html>