<div dir="ltr"><div><div><div><div><div><div><div><div>Hi all,<br><br></div><div>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.<br></div><br></div>In short, your appBuilder file looks like this right now:<br><br>environment_gaea(){<br></div><div>    module load something<br></div><div>... more module loads for gaea ...<br></div><div>}<br><br></div>envronment_theia() {<br><div>    module load something<br></div><div>... more module loads for theia ...<br></div>}<br><br></div>This will be replaced with:<br><br></div>APP_MODULE_GAEA=GSM-GOCART/gaea<br></div>APP_MODULE_THEIA=GSM-GOCART/theia<br><br></div>Those refer to modulefiles inside your app which contain exactly what was inside the environment function:<br><br></div><div>nems/apps/UGCS-Seasonal/modulefiles/GSM-GOCART/gaea:<br><div>    module load something<br></div><div>... more module loads for gaea ...<br><br>nems/apps/UGCS-Seasonal/modulefiles/GSM-GOCART/theia:<br></div><div>    module load something<br></div>... more module loads for theia ...<br><br></div><div>Inside the NEMSAppBuilder, it will use the modulefile instead of the environment() function, and copy the resulting modulefile to src/conf/modules.nems.  <br><br></div><div>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.<br><br></div><div>Sincerely,<br></div><div>Sam Trahan<br></div></div>