Page tree
Skip to end of metadata
Go to start of metadata

Problem

When the user obtains a Slurm job allocation using salloc within a tcsh environment, by default the "module" command will not be found. The reason for the issue is that on SuSE-Linux based systems, many startup files are only read if the CSHRCREAD environment variable does not exist. The environment variable must be explicitly removed to allow salloc to copy the environment to the job.

> module avail
module: Command not found.


Solution

Prior to obtaining a job allocation via salloc, execute the following:

unsetenv CSHRCREAD