weld predictor - slurm account error

Category: 
Resolution: 
Resolved

Updated on 09/08/2022:

Users can choose the project code from a dropdown list to use. 

Original Post:

Users of weld predictor software in ondemand will receive an error when trying to start these jobs.

The error shows:

Simulation failed to be submitted ... sbatch:error job failed to be submitted
Job invalid: must specify account for job
sbatch error

Workaround

Create file ~/.slurm/defaults and add entry for account.

mkdir ~/.slurm
echo "account = <project-code>" > ~/.slurm/defaults

Where <project-code> is the project that the job usage will be charged to.