Skip to content

Suggested NAS Resources

Matt Thompson edited this page Jan 14, 2026 · 5 revisions

General user guide:

https://www.nas.nasa.gov/hecc/support/kb/new-user-orientation-161/

Logging into NAS

https://www.nas.nasa.gov/hecc/support/kb/logging-in-91/

It is highly recommended you go through each step under the page above.

Shell configuration

Users are recommended to configure their shell start up files as below.

Recommended .bashrc for NAS
umask 0022
ulimit -s unlimited

# We need to detect what OS we are on. Again.
# Most is on TOSS4 now, but new nodes are on TOSS5.
# We will use grep VERSION_ID /etc/os-release | cut -d= -f2 | cut -d. -f1 | sed 's/"//g' to find out
# where 8 means TOSS4 and 9 means TOSS5

OS_VERSION_ID=$(grep VERSION_ID /etc/os-release | cut -d= -f2 | cut -d. -f1 | sed 's/"//g')
if [ "$OS_VERSION_ID" == "8" ]; then
   export TOSS_VERSION="TOSS4"
   TEXINFO_PATH=${HOME}/TOSS4-Utils/texinfo-6.8/bin
elif [ "$OS_VERSION_ID" == "9" ]; then
   export TOSS_VERSION="TOSS5"
else
   export TOSS_VERSION="UNKNOWN"
fi

# Run things in this if-block only if we're in an interactive shell
if [[ $- == *i* ]]
then

   # Only put module use or other module commands here
   # We need to handle modules differently on TOSS4 vs TOSS5
   if [ "$TOSS_VERSION" == "TOSS4" ]; then
      module use -a /nobackup/gmao_SIteam/modulefiles

      module purge
      module load GEOSenv
   elif [ "$TOSS_VERSION" == "TOSS5" ]; then
      module use -a /nobackup/gmao_SIteam/modulefiles-TOSS5

      module purge
      module load GEOSenv
   fi
   # Add any other things you want with interactive shells here

fi
Recommended .tcshrc for NAS
umask 0022
limit stacksize unlimited

# We need to detect what OS we are on. Again.
# Most is on TOSS4 now, but new nodes are on TOSS5.
# We will use grep VERSION_ID /etc/os-release | cut -d= -f2 | cut -d. -f1 | sed 's/"//g' to find out
# where 8 means TOSS4 and 9 means TOSS5

set OS_VERSION_ID=`grep VERSION_ID /etc/os-release | cut -d= -f2 | cut -d. -f1 | sed 's/"//g'`
if ( "$OS_VERSION_ID" == "8" ) then
   setenv TOSS_VERSION TOSS4
else if ( "$OS_VERSION_ID" == "9" ) then
   setenv TOSS_VERSION TOSS5
else
   setenv TOSS_VERSION unknown
endif

# Run things in this if-block only if we are in an interactive shell
if ($?prompt) then

  # We need to handle modules differently based on TOSS version
  if ( "$TOSS_VERSION" == "TOSS4" ) then
     module use -a /nobackup/gmao_SIteam/modulefiles
     module use -a /u/scicon/tools/modulefiles

     module purge
     module load GEOSenv
  else if ( "$TOSS_VERSION" == "TOSS5" ) then
     module use -a /nobackup/gmao_SIteam/modulefiles-TOSS5

     module purge
     module load GEOSenv
  endif

   # Add any other things you want with interactive shells here

endif

File Systems & Software

https://www.nas.nasa.gov/hecc/support/kb/filesystems-software-99/

The quota for the home directory at NAS is usually quite small. Indeed, it may not even hold a build of GEOSgcm. So, we recommend building doing most work in nobackup or other project directories. This page details how to see your current quota

https://www.nas.nasa.gov/hecc/support/kb/quota-policy-on-disk-space-and-files_156.html

Customizing Your Unix Environment

https://www.nas.nasa.gov/hecc/support/kb/customizing-your-unix-environment_258.html

Running jobs

https://www.nas.nasa.gov/hecc/support/kb/running-jobs-with-pbs-121/

Archiving data

https://www.nas.nasa.gov/hecc/support/kb/backing-up-data-in-the-lou-mass-storage-system-136/

Transferring Data → shift

The recommended tool for transferring data at NAS is shift:

https://www.nas.nasa.gov/hecc/support/kb/using-shift-for-local-and-remote-transfers-(recommended)-162/


Contacts

For more information, you can contact either the NAS Support at support_AT_nas.nasa.gov or the SI Team at siteam_AT_gmao.gsfc.nasa.gov

Clone this wiki locally