Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • arrhenius-upphandling-lagring/arrh-storage-benchmark
1 result
Show changes
Commits on Source (2)
  • Åke Sandgren's avatar
    Fix some minor issues · 7dd70a1c
    Åke Sandgren authored
    - Script should be /bin/bash in case one wants it to be able to use the module system inside
    - Must create the directory elbencho doesn't
    - One should wait for the background processes before exiting the script
    7dd70a1c
  • Sebastian Thorarensen's avatar
    Merge branch 'ake' into 'master' · 0efae463
    Sebastian Thorarensen authored
    Fix some minor issues
    
    See merge request arrhenius-upphandling-lagring/arrh-storage-benchmark!1
    0efae463
#!/bin/sh
#!/bin/bash
#SBATCH -J arrh-storage-benchmark
usage() {
......@@ -34,6 +34,8 @@ if [ -z "$DIRECTORY" ]
then usage
fi
mkdir -p $DIRECTORY
NNODES=$SLURM_NNODES
THREADS=$SLURM_CPUS_PER_TASK
HOSTS=$(scontrol show hostnames | tr '\n' ',')
......@@ -81,3 +83,5 @@ echo
info "Benchmark done"
elbencho --hosts "$HOSTS" --quit
wait