Skip to content

Add a note to 5 Minute Limit of commands executed on Taurus

This was difficult to debug and we only found out through servicedesk.

There is a time limit set for commands issued directly on Taurus user shell of 5 Minutes.

Any command that runs longer will end with:

CPU time limit exceeded

..even if there is not CPU time limit exceeded.

This has hit me while creating a conda environment.

conda env create \
     --prefix /projects/p_lv_xxx/sample_env \
     --file ~/workshop.git/environment_sample.yml \
     --quiet
> Collecting package metadata (repodata.json): ...working... done
> Solving environment: ...working... CPU time limit exceeded

Even solving simple conda environments often takes longer than 5 Minutes.

Instead, create an interactive shell:

srun --account=p_lv_xxx--pty --ntasks=1 \
    --cpus-per-task=4 --time=1:00:00 \
    --mem-per-cpu=1700 bash -l
conda env create \
     --prefix /projects/p_lv_xxx/sample_env \
     --file ~/workshop.git/environment_sample.yml \
     --quiet
> Successful...

Perhaps a note could be added to the sections where long running commands are suggested, e.g. Python environments section.