Viewable by the world
Skip to end of metadata
Go to start of metadata

You would like to configure your environment differently depending on which supercomputer you are using.

Step-by-step guide

  1. NERSC maintains the copies of the .bashrc, .profile, .bash_profile. This sets the environment universally for all supercomputer users.
  2. Users can modify versions of these files which have the .ext file name. For example the equivalent .bashrc is .bashrc.ext. These can edited by the user.


Example .bashrc.ext
if [ "$NERSC_HOST" == "genepool" ]; then
  module load vim
  export PATH=$PATH:$HOME/.local/bin


  • If your environment ends up broken and you can't figure out how to fix it - the fixdots command (/usr/common/usg/bin/fixdots) will reset your dotfiles to the NERSC templates