Skip to content

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

Irina K. Tezaur edited this page Nov 27, 2024 · 5 revisions

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.

Jerry Friesen ([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:

  1. Email Jerry Friesen ([email protected]) the name of your machine so he can add it to his list of machines that can access the modules.
  2. Create new /projects/sems directory (if it does not exist already):
sudo mkdir /projects
cd /projects
sudo mkdir sems
  1. Mount the modules from kahuna-sems.ca.sandia.gov:
sudo mount -o ro -v kahuna-sems.ca.sandia.gov:/projects/sems /projects/sems
  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.

  1. If this works, edit ``/etc/fstab``` (required elevation to sudo) to auto-mount the modules when the machine reboots:
kahuna-sems.ca.sandia.gov:/ /projects/sems nfs4 rw,relatime,hard,proto=tcp,port=10000,timeo=600 0 0
Clone this wiki locally