[mesa-users] modulefile for mesa
Brian W. Mulligan
bwmulligan at astro.as.utexas.edu
Fri Aug 15 11:59:43 EDT 2014
For those who use clusters or otherwise use environment modules, I have
written a modulefile to load mesa. You will need to modify the file for
your particular installation - specifically change the AppHome and
SDKHome variables to point to your particular installation paths for the
current mesa release and the SDK location. You will also want to change
OMP_NUM_THREADS to an appropriate value for your system.
You will need to place the file in a location where your private modules
can be found. For most installations this will be in your home folder
under ~/privatemodules
You may need to explicitly tell the system to make this folder
available. You can tell by placing the file under privatemodules, then
do *module avail* and see if it is listed. If not, try doing *module
load **use.own*
Once modules can find the path to the mesa modulefile, you can load and
unload it like any other module.
If you use this modulefile, make sure to remove all mesa and mesa SDK
related paths in your .bashrc/.cshrc/etc. file.
-Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20140815/83818d00/attachment.html>
-------------- next part --------------
#%Module1.0###############################################
proc ModulesHelp { } {
mesa release 6794 (15 July 2014)
}
set version "6794"
set AppHome ~bwmulligan/source/mesa-r6794
set SDKHome ~bwmulligan/source/mesasdk
module-whatis "Name: mesa"
module-whatis "Release 6794"
setenv MESASDK_ROOT $SDKHome
setenv MESA_DIR $AppHome
setenv OMP_NUM_THREADS 4
setenv GYRE_DIR $AppHome/gyre/gyre
prepend-path PATH $SDKHome/bin
prepend-path MANPATH $SDKHome/share/man
setenv PGPLOT_DIR $SDKHome/pgplot
More information about the Mesa-users
mailing list