GOTHIC: include exit code, add --x11/interactive
This commit is contained in:
parent
0d606942ec
commit
5719e247ef
@ -127,12 +127,12 @@ section.
|
||||
#### Interactive allocations: examples
|
||||
* Requesting a full node,
|
||||
```bash
|
||||
salloc --partition=hourly -N 1 -n 1 -c 88 --hint=multithread --exclusive --mem=0
|
||||
salloc --partition=hourly -N 1 -n 1 -c 88 --hint=multithread --x11 --exclusive --mem=0
|
||||
```
|
||||
* Requesting 22 CPUs from a node, with default memory per CPU (4000MB/CPU):
|
||||
```bash
|
||||
num_cpus=22
|
||||
salloc --partition=hourly -N 1 -n 1 -c $num_cpus --hint=multithread
|
||||
salloc --partition=hourly -N 1 -n 1 -c $num_cpus --hint=multithread --x11
|
||||
```
|
||||
|
||||
### Batch job
|
||||
@ -180,6 +180,7 @@ the job, as showed above.
|
||||
export GTHTMP=/scratch/$USER/$SLURM_JOB_ID
|
||||
|
||||
/data/project/general/software/gothic/gothic8.3qa/bin/gothic_s.sh $INPUT_FILE -m -np $SLURM_CPUS_PER_TASK
|
||||
gth_exit_code=$?
|
||||
|
||||
rm -rf /scratch/$USER/$SLURM_JOB_ID
|
||||
```
|
||||
@ -201,6 +202,8 @@ the job, as showed above.
|
||||
export GTHTMP=/scratch/$USER/$SLURM_JOB_ID
|
||||
|
||||
/data/project/general/software/gothic/gothic8.3qa/bin/gothic_s.sh $INPUT_FILE -m -np $SLURM_CPUS_PER_TASK
|
||||
|
||||
gth_exit_code=$?
|
||||
|
||||
rm -rf /scratch/$USER/$SLURM_JOB_ID
|
||||
exit $gth_exit_code
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user