[Ncep.list.nems.announce] Compiling NEMS regression test on Theia

Raghu Reddy raghu.reddy at noaa.gov
Fri May 29 13:55:58 UTC 2015

Hi Moorthi,


It is possible it was already there, but for some reason when I tried to do
an "svn diff" it did not list it there.  That is the only reason I thought
it was a new file.


tfe10.% pwd


tfe10.% ll modules.nems.Theia_ESMF_630*

-rwxr-xr-x 2 Raghu.Reddy nesccmgmt 163 May 28 20:25

-rwxr-xr-x 2 Raghu.Reddy nesccmgmt 163 May 28 20:25


tfe10.% svn diff modules.nems.Theia_ESMF_630rAPI_gsm

svn: 'modules.nems.Theia_ESMF_630rAPI_gsm' is not under version control



That is the reason I had listed it as a new file.







From: ncep.list.nems.announce-bounces at lstsrv.ncep.noaa.gov
[mailto:ncep.list.nems.announce-bounces at lstsrv.ncep.noaa.gov] On Behalf Of
Shrinivas Moorthi
Sent: Friday, May 29, 2015 9:49 AM
To: ncep.list.nems.announce at lstsrv.ncep.noaa.gov
Subject: Re: [Ncep.list.nems.announce] Compiling NEMS regression test on


I though we already added "modules.nems.Theia_ESMF_630rp1API_gsm".
So what is new with your version for this?
On 05/29/2015 09:12 AM, Raghu Reddy wrote:

Hi Ratko,


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.


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.


-          I checked out the NEMS trunk yesterday.

-          Everything I am doing is in the following directory:

-          All the changes that have made are Theia specific, so it should
not impact anything else.


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.


You can see the changes I have made by doing "svn diff".


The following files were modified:

tfe10.% svn diff|grep "Index:"

Index: tests/default_vars.sh

Index: tests/rt.sh

Index: tests/rt.conf

Index: src/configure

Index: src/conf/configure.nems.Theia.intel

Index: src/chem/gocart/src/Config/ESMA_arch.mk



And the following two new files were added:


tfe10.% ll src/conf/modules.nems.Theia_ESMF_630*

-rwxr-xr-x 2 Raghu.Reddy nesccmgmt 163 May 28 20:25

-rwxr-xr-x 2 Raghu.Reddy nesccmgmt 163 May 28 20:25



There is one specific thing I can point to that was causing the problem and
will be good to address which is the following:


The machine information as detected by detect_machine.sh is fairly robust
and is good.  

However, in the file: src/chem/gocart/src/Config/ESMA_arch.mk


The way machine is detected is very fragile:


  SITE := $(patsubst fe%,zeus,$(SITE))

  SITE := $(patsubst t%,wcoss,$(SITE))

  SITE := $(patsubst g%,wcoss,$(SITE))


It looks like the frontends for WCOSS starts with the letter "t", and so do
the frontends for Theia!  


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:



<       gmake ${NEMS_VER} J=-j2                                     >>


>       gmake ${NEMS_VER} J=-j2 SITE=$MACHINE_ID                    >>


I just wanted to share this information in case it's useful.  Please let me
know if you need additional information.






Ncep.list.nems.announce mailing list
Ncep.list.nems.announce at lstsrv.ncep.noaa.gov

Dr. Shrinivas Moorthi
Research Meteorologist
Global Climate and Weather Modeling Branch
Environmental Modeling Center / National Centers for Environmental
5830 University Research Court - (W/NP23), College Park MD 20740 USA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.lstsrv.ncep.noaa.gov/pipermail/ncep.list.nems.announce/attachments/20150529/74004224/attachment.html 

More information about the Ncep.list.nems.announce mailing list