[Ncep.list.nems.announce] Comment requested: removing environment functions from appBuilder files

Samuel Trahan - NOAA Affiliate samuel.trahan at noaa.gov
Fri Nov 18 16:17:39 UTC 2016


Hi all,

I plan on replacing the environment() functions in the appBuilder files
with app-level modulefiles specified by the appBuiler file.  This will
allow the compset runner to automatically use the modules that were used
when building.  It will also allow me to have the compset runner call the
appbuilder if requested.

In short, your appBuilder file looks like this right now:

environment_gaea(){
    module load something
... more module loads for gaea ...
}

envronment_theia() {
    module load something
... more module loads for theia ...
}

This will be replaced with:

APP_MODULE_GAEA=GSM-GOCART/gaea
APP_MODULE_THEIA=GSM-GOCART/theia

Those refer to modulefiles inside your app which contain exactly what was
inside the environment function:

nems/apps/UGCS-Seasonal/modulefiles/GSM-GOCART/gaea:
    module load something
... more module loads for gaea ...

nems/apps/UGCS-Seasonal/modulefiles/GSM-GOCART/theia:
    module load something
... more module loads for theia ...

Inside the NEMSAppBuilder, it will use the modulefile instead of the
environment() function, and copy the resulting modulefile to
src/conf/modules.nems.

The old and new regression test systems already know to go to that file to
get the correct environment and I will update the new compset runner to do
the same.

Sincerely,
Sam Trahan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.lstsrv.ncep.noaa.gov/pipermail/ncep.list.nems.announce/attachments/20161118/17721696/attachment.html 


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