Problem

You might experience the following error message when you request an interactive allocation with salloc or when you submit a Slurm job with sbatch:

Failed to allocate resources: Invalid account or account/partition combination specified.

Solution

The Slurm error message invalid account might depend on the lack of resources associated to your project. Suggested actions:

  1. Check your group membership with the command groups to verify which groups you are entitled to use with the Slurm account option -A or --account=

  2. If the project ID passed to the Slurm account option -A or --account= does not appear among your groups, then you won't be allowed to use it to run your jobs until you clarify group membership with the principal investigator (PI) of the project