...
- Determine how many tokens your job requires. For
abaqus
use the Abaqus Token Calculator.
For a 1-core job (--nodes 1 --ntasks 1 --cpus-per-task 1
) you would need 5 tokens.
For a 28-core job (--nodes 1 --ntasks 1 --cpus-per-task 28
) you would need 20tokens. Submit your job passing the
--licenses
option tosrun
orsbatch
.
The syntax to use is<software>@<server>:<count>
. For the 1-core job this would look like:Code Block theme Midnight --licenses=abaqus@stilic3:5
...
To check how many licenses can be used in the cluster, and how many are free one can use:
Code Block theme Midnight scontrol show licenses
The output looks like (today on the Fidis cluster):
Code Block theme Midnight $ scontrol show licenses LicenseName=abaqus@stilic3 Total=80 Used=0 Free=80 Remote=yes
To check how many licenses are available from the license daemon perspective one needs to use a command that is specific to each software. in the case of
abaqus
it would be (after loading theabaqus
module):Code Block theme Midnight lmstat -c 27005@stilic3.epfl.ch -f abaqus
...