Skip to content

Installing software

Guidance for installing programs.

All program installations should be performed with a Build node.

  1. Transfer your program files on to Hyak. Make note of any dependencies your program may need including Python (which can be loaded via a module) or another program.

  2. If your program installation has dependency installation as part of the install script, you will need to use a build node for installation and compiling, otherwise an interactive node will be adequate.

  3. Due to space limitations, and our desire to share with the rest of the lab, all programs should be installed here:


  1. Unzip the program files.

  2. Begin installation. Most software packages include a README text file that explains the installation procedure. There is a lot of trial and error in this step, and you'll get very good at reading and Googling error messages, StackExchange will be your friend. An example of the process involved can be found here

General Tips

  • Add cmake to your system $PATH by adding the following to your ~/.bashrc file:
# Append cmake to beginning of PATH (primarily for Trinity 2.8 install)
export PATH="/gscratch/srlab/programs/cmake-3.12.1/bin:$PATH"

(Ana) conda packages:

  1. Activate the default (base) conda environment:

    /gscratch/srlab/programs/anaconda3/condabin/conda activate

  2. Install your desired package (replace <package> with your package name):

    conda install <package>

  3. Deactivate the conda environment:

    conda deactivate

  4. The program should now be available in this directory:


Installing R Packages

This is a guide to change the default R library install location to avoid running into space limits in the default home directory. After following the instructions below, all package installations should be performed on a build node.

  1. Make a designated directory for your R packages, e.g.:

    mkdir --parents /gscratch/srlab/${USER}/R_libs

  2. Create an .Renviron file in your home directory, defining the R_USER_LIB location established in Step 1:

    echo "# Set local library installation path
    R_LIBS_USER=/gscratch/srlab/${USER}/R_libs" > ~/.Renviron
  3. Confirm success:

    # Start R
    # Check library paths
  4. The output should look something like this:

    [1] "/gscratch/srlab/sam/R_libs"          
    [2] "/gscratch/srlab/programs/R-3.6.2/library"