Skip to content
Snippets Groups Projects
Commit 0efae463 authored by Sebastian Thorarensen's avatar Sebastian Thorarensen
Browse files

Merge branch 'ake' into 'master'

Fix some minor issues

See merge request arrhenius-upphandling-lagring/arrh-storage-benchmark!1
parents fcc5a2f8 7dd70a1c
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/bash
#SBATCH -J arrh-storage-benchmark #SBATCH -J arrh-storage-benchmark
usage() { usage() {
...@@ -34,6 +34,8 @@ if [ -z "$DIRECTORY" ] ...@@ -34,6 +34,8 @@ if [ -z "$DIRECTORY" ]
then usage then usage
fi fi
mkdir -p $DIRECTORY
NNODES=$SLURM_NNODES NNODES=$SLURM_NNODES
THREADS=$SLURM_CPUS_PER_TASK THREADS=$SLURM_CPUS_PER_TASK
HOSTS=$(scontrol show hostnames | tr '\n' ',') HOSTS=$(scontrol show hostnames | tr '\n' ',')
...@@ -81,3 +83,5 @@ echo ...@@ -81,3 +83,5 @@ echo
info "Benchmark done" info "Benchmark done"
elbencho --hosts "$HOSTS" --quit elbencho --hosts "$HOSTS" --quit
wait
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment