This repository was archived by the owner on Mar 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -302,6 +302,16 @@ pipeline {
302302 sh ' sh tests/jenkins/run_corenrn.sh ringtest SoA ringtest 7'
303303 }
304304 }
305+ stage(' corenrn restore AoS' ){
306+ steps{
307+ sh ' sh tests/jenkins/run_corenrn_restore.sh AoS 6'
308+ }
309+ }
310+ stage(' corenrn restore SoA' ){
311+ steps{
312+ sh ' sh tests/jenkins/run_corenrn_restore.sh SoA 6'
313+ }
314+ }
305315 }
306316 }
307317 }
Original file line number Diff line number Diff line change 1+ #! /usr/bin/bash
2+
3+ set -e
4+
5+ module load hpe-mpi
6+
7+ CORENRN_TYPE=" $1 "
8+ MPI_RANKS=" $2 "
9+
10+ cd $WORKSPACE /ringtest
11+
12+ mpirun -n ${MPI_RANKS} ./${CORENRN_TYPE} /special-core -mpi -e 10 -d coredat --checkpoint part0 --outpath part0
13+ mpirun -n ${MPI_RANKS} ./${CORENRN_TYPE} /special-core -mpi -e 40 -d coredat --checkpoint part1 --restore part0 --outpath part1
14+ mpirun -n ${MPI_RANKS} ./${CORENRN_TYPE} /special-core -mpi -e 100 -d coredat --checkpoint part2 --restore part1 --outpath part2
15+
16+ cat part0/out.dat > ringtest/cnrn.dat
17+ cat part1/out.dat >> ringtest/cnrn.dat
18+ cat part2/out.dat >> ringtest/cnrn.dat
19+
20+ cat ringtest/cnrn.dat | sort -k 1n,1n -k 2n,2n > ringtest/out_cn_restore_ringtest.spk
21+ diff -w -q ringtest/out_nrn_ringtest.spk ringtest/out_cn_restore_ringtest.spk
You can’t perform that action at this time.
0 commit comments