Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
ssg
Commits
2f43ab1d
Commit
2f43ab1d
authored
Jan 10, 2018
by
Philip Carns
Browse files
job script
- doesn't work right yet for margo tests
parent
d53eef2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/perf-regression/bebop/margo-p2p-latency.sbatch
0 → 100644
View file @
2f43ab1d
#!/bin/bash
#SBATCH -N 2
#SBATCH -A radix
#SBATCH --ntasks-per-node=1
#SBATCH --time=15:00
#SBATCH -p bdwall
export
FI_PSM2_NAME_SERVER
=
1
echo
"## MPI (one way, double the latency for round trip):"
mpirun ./osu_latency
echo
"## Margo CCI/VERBS (round trip):"
mpirun ./margo-p2p-latency
-i
100000
-n
psm2://ib0:5000
echo
"## Margo CCI/VERBS (round trip, Hg busy spin):"
mpirun ./margo-p2p-latency
-i
100000
-n
psm2://ib0:5000
-t
0,0
tests/perf-regression/bebop/run-regression.sh
View file @
2f43ab1d
...
...
@@ -24,8 +24,7 @@ mkdir $SANDBOX
# scratch area for job submission
mkdir
$JOBDIR
# TODO: add job script appropriate for Bebop
# cp margo-p2p-latency.qsub $JOBDIR
cp
margo-p2p-latency.sbatch
$JOBDIR
cd
$SANDBOX
git clone http://git.mpich.org/openpa.git/
...
...
@@ -155,23 +154,19 @@ CC=mpicc CXX=mpicxx CXXFLAGS='-D__STDC_FORMAT_MACROS' cmake -DCMAKE_PREFIX_PATH=
make
-j
3
make
install
# TODO: fix below after builds are working above
exit
0
# set up job to run
echo
"=== SUBMITTING AND WAITING FOR JOB ==="
cp
$SANDBOX
/ssg/build/tests/perf-regression/.libs/margo-p2p-latency
$JOBDIR
cp
$PREFIX
/libexec/osu-micro-benchmarks/mpi/pt2pt/osu_latency
$JOBDIR
cp
$PREFIX
/bin/mercury-runner
$JOBDIR
cd
$JOBDIR
JOBID
=
`
qsub
--env
LD_LIBRARY_PATH
=
$PREFIX
/lib ./margo-p2p-latency.qsub
`
cqwait
$JOBID
sbatch
--wait
--export
=
ALL ./margo-p2p-latency.sbatch
echo
"=== JOB DONE, COLLECTING AND SENDING RESULTS ==="
# gather output, strip out funny characters, mail
cat
$JOBID
.
*
>
combined.
$
JOBID
.
txt
dos2unix combined.
$
JOBID
.txt
mailx
-s
"margo-p2p-latency (
cooley)"
sds-commit
s@lists.mcs.anl.gov < combined.
$
JOBID
.txt
cat
*
.out
>
combined.JOBIDtxt
dos2unix combined.JOBID.txt
mailx
-s
"margo-p2p-latency (
bebop)"
carn
s@lists.mcs.anl.gov < combined.JOBID.txt
cd
/tmp
rm
-rf
$SANDBOX
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment