-
Notifications
You must be signed in to change notification settings - Fork 90
Instructions for obtaining sems modules on SRN RHEL workstation located in SNL CA
The sems team at Sandia provides modules for many of the compilers/TPLs necessary for building Trilinos and Albany. These modules can be installed for use on RHEL machines on Sandia's SRN or SON networks.
Unfortunately, the standard approach for obtaining the sems modules (https://sems.sandia.gov/content/mount-sems-nfs-tpl-server-linux-workstation) does not work on machines located in SNL/CA. This is because it is not possible to ping the machines with the modules (sherlock, watson) from the SNL/CA network due to the firewall.
Jonathan Hu ([email protected]) has made it possible to get the sems modules on an SNL/CA machine on the SRN, fortunately. Here is how this can be done:
- Email Jonathan Hu ([email protected]) the name of your machine so he can add it to his list of machines that can access the modules.
- Create new /projects directory (if it does not exist already):
sudo mkdir /projects
- Edit the /etc/fstab file on your machine (requires elevation to sudo). Add the following line to it:
eleanor.ca.sandia.gov:/projects /projects nfs defaults,ro 0 0
- Run the following command (if you get an error the /projects is already mounted, first do sudo umount /projects, then try again):
sudo mount -a
- Run the following command:
sudo ln -s /projects/sems/modulefiles/utils/sems-modules-init.sh /etc/profile.d/sems-modules-init.sh
- Run the following command:
source /etc/profile.d/sems-modules-init.sh
Now, when you do module avail, you should see "sems-env" appear.