... | ... | @@ -54,7 +54,34 @@ function setup_directories { |
|
|
|
|
|
### srun io500.sh
|
|
|
|
|
|
XXX @Ramon
|
|
|
We need a similar approach for systems using `srun` (or that do not work with `mpirun`), for example running with 10 nodes using 24 clients per node. The script is for the SC20 version. The system needs some environment variables to deal with PSM2 compatibility.
|
|
|
|
|
|
```bash
|
|
|
function setup_paths {
|
|
|
io500_ior_cmd=$PWD/bin/ior
|
|
|
io500_mdtest_cmd=$PWD/bin/mdtest
|
|
|
io500_mpirun="srun"
|
|
|
io500_mpiargs="-N 10 -n ${NPROCS_MPI} --export=ALL,PSM2_DEVICES=self,hfi,shm,PSM2_MULTIRAIL=1,PSM2_MULTI_EP=0,LD_PRELOAD=${GKFS_PRLD}"
|
|
|
}
|
|
|
|
|
|
# Set directories where benchmark files are created and where the results go.
|
|
|
# If you want to set up stripe tuning on your output directories or anything
|
|
|
# similar, then this is the right place to do it.
|
|
|
function setup_directories {
|
|
|
local workdir
|
|
|
local resultdir
|
|
|
local ts
|
|
|
PSM2_MULTIRAIL=1 PSM2_MULTI_EP=0 LD_PRELOAD=$GKFS_PRLD mkdir -p $io500_workdir
|
|
|
PSM2_MULTIRAIL=1 PSM2_MULTI_EP=0 LD_PRELOAD=$GKFS_PRLD mkdir -p $io500_workdir/ior-easy $io500_workdir/ior-hard
|
|
|
PSM2_MULTIRAIL=1 PSM2_MULTI_EP=0 LD_PRELOAD=$GKFS_PRLD mkdir -p $io500_workdir/mdtest-easy $io500_workdir/mdtest-hard
|
|
|
|
|
|
mkdir -p $io500_workdir $io500_resultdir
|
|
|
|
|
|
}
|
|
|
|
|
|
# ***** YOU SHOULD NOT EDIT ANYTHING BELOW THIS LINE *****
|
|
|
```
|
|
|
|
|
|
|
|
|
### io500 config
|
|
|
|
... | ... | |