34 lines
588 B
Bash
34 lines
588 B
Bash
|
#! /bin/bash
|
||
|
|
||
|
#SBATCH --account oasis
|
||
|
#SBATCH --partition oasis
|
||
|
#SBATCH --qos high # 16 cores
|
||
|
#SBATCH --nodes 1
|
||
|
#SBATCH --output test.out
|
||
|
#SBATCH --error test.out
|
||
|
|
||
|
filename="$@"
|
||
|
filename="${filename// /_}".output
|
||
|
echo $filename
|
||
|
|
||
|
#node="$1"
|
||
|
|
||
|
# if [[ -z "$node" ]]; then
|
||
|
# echo "Node not specified! Must be a name like oasis00."
|
||
|
# exit 1
|
||
|
# fi
|
||
|
#
|
||
|
# echo $node
|
||
|
#
|
||
|
# srun --nodelist $node --cpus-per-task 1 ./power.sh &
|
||
|
#
|
||
|
# wait
|
||
|
|
||
|
#srun --nodelist $node --cpus-per-task 1 power.sh &
|
||
|
#
|
||
|
#sleep 1s
|
||
|
#
|
||
|
#srun --nodelist $node --cpus-per-task 16 apptainer run ./testing.sif stress -c 16 &
|
||
|
#
|
||
|
#wait
|