Commit fb495f79 authored by kraus's avatar kraus

RestartTest-8 tests now that the H5Part files written to disk remain the same;...

RestartTest-8 tests now that the H5Part files written to disk remain the same; Restart from the h5 file that was written in a first simulation
parent 30807166
......@@ -61,11 +61,8 @@ beam1: BEAM, PARTICLE=ELECTRON, GAMMA=gamma, pc=P0, NSLICE=101, BFREQ=bfreq, BCU
Select, Line = l1;
// Simulation of the gun with step size 0.1 ps
track, line=l1, beam=beam1, MAXSTEPS=1000000, DT=1.0e-12, ZSTOP=0.75;
track, line=l1, beam=beam1, MAXSTEPS=1000000, DT=1.0e-12, ZSTOP=0.5;
run, method = "PARALLEL-SLICE", beam = beam1, fieldsolver = Fs1, distribution = Dist1;
endtrack;
track, line=l1, beam=beam1, MAXSTEPS=1000000, DT=1.0e-12, ZSTOP=1.0;
run, method = "PARALLEL-SLICE", beam = beam1, fieldsolver = Fs1;
endtrack;
Quit;
# 4
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
#!/bin/bash
cp RestartTest-8.h5.bak RestartTest-8.h5
cp RestartTest-8.stat.bak RestartTest-8.stat
cp RestartTest-8.lbal.bak RestartTest-8.lbal
mpirun -np 4 $OPAL_EXE_PATH/opal RestartTest-8.in -restart -1 --commlib mpi --info 0 --warn 0
mpirun -np 4 $OPAL_EXE_PATH/opal RestartTest-8.in --commlib mpi --info 0 --warn 0
for X in lbal stat h5;do mv RestartTest-8.$X RestartTest-8.2.$X;done
mpirun -np 4 $OPAL_EXE_PATH/opal RestartTest-8.2.in -restart -1 --commlib mpi --info 0 --warn 0
for X in lbal stat h5;do mv RestartTest-8.2.$X RestartTest-8.$X;done
"Restart with Envelope-Tracker Phase1 regression from last step of RestartTest-8.h5 followed by a follow-up track"
"Restart in a second simulation from the H5Part file written by the first simulation with Envelope-Tracker"
stat "rms_x" last 1E-6 #this is a comment
stat "rms_y" last 1E-6 #this is a comment
stat "rms_s" last 1E-6 #this is a comment
......
......@@ -5,8 +5,6 @@
#$ -N RestartTest-8-RT
#$ -v LD_LIBRARY_PATH,OPENMPI,OPAL_EXE_PATH,REG_TEST_DIR
for X in lbal stat h5;do cp RestartTest-8.$X.bak RestartTest-8.$X;done
MACHINE_FILE=$TMPDIR/machinefile
awk '/^merlin/ {print $1" slots="$2}' $PE_HOSTFILE > $MACHINE_FILE
cp $MACHINE_FILE machinefile.last
......@@ -15,3 +13,9 @@ cd $REG_TEST_DIR
OPAL="$OPAL_EXE_PATH/opal RestartTest-8.in --commlib mpi --info 0 --warn 0 "
CMD="$OPENMPI/bin/mpirun -x LD_LIBRARY_PATH -machinefile $MACHINE_FILE -np $NSLOTS $OPAL "
$CMD
for X in lbal stat h5;do mv RestartTest-8.$X RestartTest-8.2.$X;done
OPAL="$OPAL_EXE_PATH/opal RestartTest-8.2.in -restart -1 --commlib mpi --info 0 --warn 0 "
CMD="$OPENMPI/bin/mpirun -x LD_LIBRARY_PATH -machinefile $MACHINE_FILE -np $NSLOTS $OPAL "
$CMD
for X in lbal stat h5;do mv RestartTest-8.2.$X RestartTest-8.$X;done
This source diff could not be displayed because it is too large. You can view the blob instead.
f8b264ddc5252b3af7f018f9adba96fa RestartTest-8.lbal
bccad54766a15a0724ae246bf98de7fc RestartTest-8.lbal
b101f5d59f86d70816b6bf962c4ac5a7 RestartTest-8.out
c48f8b8b6cea0b630d4b2059f529b825 RestartTest-8.out
1724b459ec41b2785e77a59495293dca RestartTest-8.stat
52d49c67d1b433adcb02bff45ece3eee RestartTest-8.stat
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment