launching from another SLURM job (e.g. OOD virtual desktop interface).master
parent
0331ea6ed3
commit
d68c1cc608
1 changed files with 17 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||||||
|
#!/bin/bash |
||||||
|
|
||||||
|
module load slurm comsol |
||||||
|
|
||||||
|
if [ $? -eq 0 ]; then |
||||||
|
echo This session will be terminated in 2 days to prevent comsol license |
||||||
|
echo being occupied by forgotten session. |
||||||
|
fi |
||||||
|
|
||||||
|
`/shared/apps/common/slurm/scripts/display_var_helper` \ |
||||||
|
salloc -t 2-0 \ |
||||||
|
--job-name=COMSOL-5.1 \ |
||||||
|
--ntasks=1 \ |
||||||
|
--cpus-per-task=4 \ |
||||||
|
srun --export=ALL comsol -np 4 -3drend sw -tmpdir /scratch/$USER & |
||||||
|
|
||||||
|
|
Loading…
Reference in new issue