Instructions for obtaining sems modules on SRN RHEL workstation located in SNL CA

Glen Hansen edited this page May 24, 2018 · 1 revision

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 (jhu@sandia.gov) 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:

  1. Email Jonathan Hu (jhu@sandia.gov) the name of your machine so he can add it to his list of machines that can access the modules.
  2. Create new /projects directory (if it does not exist already):
sudo mkdir /projects
  1. 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
  1. 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 
  1. Run the following command:
sudo ln -s /projects/sems/modulefiles/utils/sems-modules-init.sh /etc/profile.d/sems-modules-init.sh
  1. Run the following command:
source /etc/profile.d/sems-modules-init.sh

Now, when you do module avail, you should see "sems-env" appear.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.