Commit 1c6bac8d authored by russell's avatar russell

Added more regression tests.

parent 6f2ab76a
......@@ -193,6 +193,61 @@ RegressionTests/PerfectDiode/reference/PerfectDiode.out.md5 -text
RegressionTests/PerfectDiode/reference/PerfectDiode.stat -text
RegressionTests/PerfectDiode/reference/PerfectDiode.stat.md5 -text
RegressionTests/PerfectDiode/run -text
RegressionTests/RBend-Simple-Test-1/RBend-Simple-Test-1.dat -text
RegressionTests/RBend-Simple-Test-1/RBend-Simple-Test-1.in -text
RegressionTests/RBend-Simple-Test-1/RBend-Simple-Test-1.local -text
RegressionTests/RBend-Simple-Test-1/RBend-Simple-Test-1.rt -text
RegressionTests/RBend-Simple-Test-1/RBend-Simple-Test-1.sge -text
RegressionTests/RBend-Simple-Test-1/Trace3D/README -text
RegressionTests/RBend-Simple-Test-1/Trace3D/Trace3D[!!-~]Screen[!!-~]Shot.png -text
RegressionTests/RBend-Simple-Test-1/reference/RBend-Simple-Test-1.lbal -text
RegressionTests/RBend-Simple-Test-1/reference/RBend-Simple-Test-1.lbal.md5 -text
RegressionTests/RBend-Simple-Test-1/reference/RBend-Simple-Test-1.out -text
RegressionTests/RBend-Simple-Test-1/reference/RBend-Simple-Test-1.out.md5 -text
RegressionTests/RBend-Simple-Test-1/reference/RBend-Simple-Test-1.stat -text
RegressionTests/RBend-Simple-Test-1/reference/RBend-Simple-Test-1.stat.md5 -text
RegressionTests/RBend-Simple-Test-2/RBend-Simple-Test-2.dat -text
RegressionTests/RBend-Simple-Test-2/RBend-Simple-Test-2.in -text
RegressionTests/RBend-Simple-Test-2/RBend-Simple-Test-2.local -text
RegressionTests/RBend-Simple-Test-2/RBend-Simple-Test-2.rt -text
RegressionTests/RBend-Simple-Test-2/RBend-Simple-Test-2.sge -text
RegressionTests/RBend-Simple-Test-2/Trace3D/README -text
RegressionTests/RBend-Simple-Test-2/Trace3D/Trace3D[!!-~]Screen[!!-~]Shot.png -text
RegressionTests/RBend-Simple-Test-2/reference/RBend-Simple-Test-2.lbal -text
RegressionTests/RBend-Simple-Test-2/reference/RBend-Simple-Test-2.lbal.md5 -text
RegressionTests/RBend-Simple-Test-2/reference/RBend-Simple-Test-2.out -text
RegressionTests/RBend-Simple-Test-2/reference/RBend-Simple-Test-2.out.md5 -text
RegressionTests/RBend-Simple-Test-2/reference/RBend-Simple-Test-2.stat -text
RegressionTests/RBend-Simple-Test-2/reference/RBend-Simple-Test-2.stat.md5 -text
RegressionTests/RBend-Simple-Test-3/RBend-Simple-Test-3.dat -text
RegressionTests/RBend-Simple-Test-3/RBend-Simple-Test-3.in -text
RegressionTests/RBend-Simple-Test-3/RBend-Simple-Test-3.local -text
RegressionTests/RBend-Simple-Test-3/RBend-Simple-Test-3.rt -text
RegressionTests/RBend-Simple-Test-3/RBend-Simple-Test-3.sge -text
RegressionTests/RBend-Simple-Test-3/Trace3D/README -text
RegressionTests/RBend-Simple-Test-3/Trace3D/Trace3D[!!-~]Screen[!!-~]Shot.png -text
RegressionTests/RBend-Simple-Test-3/reference/RBend-Simple-Test-3.lbal -text
RegressionTests/RBend-Simple-Test-3/reference/RBend-Simple-Test-3.lbal.md5 -text
RegressionTests/RBend-Simple-Test-3/reference/RBend-Simple-Test-3.out -text
RegressionTests/RBend-Simple-Test-3/reference/RBend-Simple-Test-3.out.md5 -text
RegressionTests/RBend-Simple-Test-3/reference/RBend-Simple-Test-3.stat -text
RegressionTests/RBend-Simple-Test-3/reference/RBend-Simple-Test-3.stat.md5 -text
RegressionTests/RBend-Simple-Test-4/RBend-Simple-Test-4.dat -text
RegressionTests/RBend-Simple-Test-4/RBend-Simple-Test-4.in -text
RegressionTests/RBend-Simple-Test-4/RBend-Simple-Test-4.local -text
RegressionTests/RBend-Simple-Test-4/RBend-Simple-Test-4.local~ -text
RegressionTests/RBend-Simple-Test-4/RBend-Simple-Test-4.rt -text
RegressionTests/RBend-Simple-Test-4/RBend-Simple-Test-4.rt~ -text
RegressionTests/RBend-Simple-Test-4/RBend-Simple-Test-4.sge -text
RegressionTests/RBend-Simple-Test-4/RBend-Simple-Test-4.sge~ -text
RegressionTests/RBend-Simple-Test-4/Trace3D/README -text
RegressionTests/RBend-Simple-Test-4/Trace3D/Trace3D[!!-~]Screen[!!-~]Shot.png -text
RegressionTests/RBend-Simple-Test-4/reference/RBend-Simple-Test-4.lbal -text
RegressionTests/RBend-Simple-Test-4/reference/RBend-Simple-Test-4.lbal.md5 -text
RegressionTests/RBend-Simple-Test-4/reference/RBend-Simple-Test-4.out -text
RegressionTests/RBend-Simple-Test-4/reference/RBend-Simple-Test-4.out.md5 -text
RegressionTests/RBend-Simple-Test-4/reference/RBend-Simple-Test-4.stat -text
RegressionTests/RBend-Simple-Test-4/reference/RBend-Simple-Test-4.stat.md5 -text
RegressionTests/RestartTest-1/CTF3_Ez_ASTRA.opal -text
RegressionTests/RestartTest-1/NEW_SINGLE_SOL_NOFRINGE_ASTRA.opal -text
RegressionTests/RestartTest-1/RestartTest-1.h5.bak -text
......@@ -219,6 +274,56 @@ RegressionTests/RingCyclotron/reference/RingCyclotron.out.md5 -text
RegressionTests/RingCyclotron/reference/RingCyclotron.stat -text
RegressionTests/RingCyclotron/reference/RingCyclotron.stat.md5 -text
RegressionTests/RingCyclotron/s03av.nar -text
RegressionTests/SBend-Simple-Test-1/SBend-Simple-Test-1.dat -text
RegressionTests/SBend-Simple-Test-1/SBend-Simple-Test-1.in -text
RegressionTests/SBend-Simple-Test-1/SBend-Simple-Test-1.in~ -text
RegressionTests/SBend-Simple-Test-1/SBend-Simple-Test-1.local -text
RegressionTests/SBend-Simple-Test-1/SBend-Simple-Test-1.local~ -text
RegressionTests/SBend-Simple-Test-1/SBend-Simple-Test-1.rt -text
RegressionTests/SBend-Simple-Test-1/SBend-Simple-Test-1.rt~ -text
RegressionTests/SBend-Simple-Test-1/SBend-Simple-Test-1.sge -text
RegressionTests/SBend-Simple-Test-1/SBend-Simple-Test-1.sge~ -text
RegressionTests/SBend-Simple-Test-1/Trace3D/README -text
RegressionTests/SBend-Simple-Test-1/Trace3D/Trace3D[!!-~]Screen[!!-~]Shot.png -text
RegressionTests/SBend-Simple-Test-1/reference/SBend-Simple-Test-1.lbal -text
RegressionTests/SBend-Simple-Test-1/reference/SBend-Simple-Test-1.lbal.md5 -text
RegressionTests/SBend-Simple-Test-1/reference/SBend-Simple-Test-1.out -text
RegressionTests/SBend-Simple-Test-1/reference/SBend-Simple-Test-1.out.md5 -text
RegressionTests/SBend-Simple-Test-1/reference/SBend-Simple-Test-1.stat -text
RegressionTests/SBend-Simple-Test-1/reference/SBend-Simple-Test-1.stat.md5 -text
RegressionTests/SBend-Simple-Test-2/SBend-Simple-Test-2.dat -text
RegressionTests/SBend-Simple-Test-2/SBend-Simple-Test-2.in -text
RegressionTests/SBend-Simple-Test-2/SBend-Simple-Test-2.local -text
RegressionTests/SBend-Simple-Test-2/SBend-Simple-Test-2.local~ -text
RegressionTests/SBend-Simple-Test-2/SBend-Simple-Test-2.rt -text
RegressionTests/SBend-Simple-Test-2/SBend-Simple-Test-2.rt~ -text
RegressionTests/SBend-Simple-Test-2/SBend-Simple-Test-2.sge -text
RegressionTests/SBend-Simple-Test-2/SBend-Simple-Test-2.sge~ -text
RegressionTests/SBend-Simple-Test-2/Trace3D/README -text
RegressionTests/SBend-Simple-Test-2/Trace3D/Trace3D[!!-~]Screen[!!-~]Shot.png -text
RegressionTests/SBend-Simple-Test-2/reference/SBend-Simple-Test-2.lbal -text
RegressionTests/SBend-Simple-Test-2/reference/SBend-Simple-Test-2.lbal.md5 -text
RegressionTests/SBend-Simple-Test-2/reference/SBend-Simple-Test-2.out -text
RegressionTests/SBend-Simple-Test-2/reference/SBend-Simple-Test-2.out.md5 -text
RegressionTests/SBend-Simple-Test-2/reference/SBend-Simple-Test-2.stat -text
RegressionTests/SBend-Simple-Test-2/reference/SBend-Simple-Test-2.stat.md5 -text
RegressionTests/SBend-Simple-Test-3/SBend-Simple-Test-3.dat -text
RegressionTests/SBend-Simple-Test-3/SBend-Simple-Test-3.in -text
RegressionTests/SBend-Simple-Test-3/SBend-Simple-Test-3.in~ -text
RegressionTests/SBend-Simple-Test-3/SBend-Simple-Test-3.local -text
RegressionTests/SBend-Simple-Test-3/SBend-Simple-Test-3.local~ -text
RegressionTests/SBend-Simple-Test-3/SBend-Simple-Test-3.rt -text
RegressionTests/SBend-Simple-Test-3/SBend-Simple-Test-3.rt~ -text
RegressionTests/SBend-Simple-Test-3/SBend-Simple-Test-3.sge -text
RegressionTests/SBend-Simple-Test-3/SBend-Simple-Test-3.sge~ -text
RegressionTests/SBend-Simple-Test-3/Trace3D/README -text
RegressionTests/SBend-Simple-Test-3/Trace3D/Trace3D[!!-~]Screen[!!-~]Shot.png -text
RegressionTests/SBend-Simple-Test-3/reference/SBend-Simple-Test-3.lbal -text
RegressionTests/SBend-Simple-Test-3/reference/SBend-Simple-Test-3.lbal.md5 -text
RegressionTests/SBend-Simple-Test-3/reference/SBend-Simple-Test-3.out -text
RegressionTests/SBend-Simple-Test-3/reference/SBend-Simple-Test-3.out.md5 -text
RegressionTests/SBend-Simple-Test-3/reference/SBend-Simple-Test-3.stat -text
RegressionTests/SBend-Simple-Test-3/reference/SBend-Simple-Test-3.stat.md5 -text
RegressionTests/Scan-1/1T1.T7 -text
RegressionTests/Scan-1/1T2.T7 -text
RegressionTests/Scan-1/1T3.T7 -text
......@@ -232,6 +337,18 @@ RegressionTests/Scan-1/reference/Scan-1.out -text
RegressionTests/Scan-1/reference/Scan-1.out.md5 -text
RegressionTests/Scan-1/reference/Scan-1.stat -text
RegressionTests/Scan-1/reference/Scan-1.stat.md5 -text
RegressionTests/Transfer-Line/FAXA.T7 -text
RegressionTests/Transfer-Line/FSM4.T7 -text
RegressionTests/Transfer-Line/Transfer-Line.in -text
RegressionTests/Transfer-Line/Transfer-Line.local -text
RegressionTests/Transfer-Line/Transfer-Line.rt -text
RegressionTests/Transfer-Line/Transfer-Line.sge -text
RegressionTests/Transfer-Line/reference/Transfer-Line.lbal -text
RegressionTests/Transfer-Line/reference/Transfer-Line.lbal.md5 -text
RegressionTests/Transfer-Line/reference/Transfer-Line.out -text
RegressionTests/Transfer-Line/reference/Transfer-Line.out.md5 -text
RegressionTests/Transfer-Line/reference/Transfer-Line.stat -text
RegressionTests/Transfer-Line/reference/Transfer-Line.stat.md5 -text
RegressionTests/run/README -text
RegressionTests/run/builder.py -text
RegressionTests/run/documentation.py -text
......
This diff is collapsed.
This diff is collapsed.
#!/bin/bash
cd $REG_TEST_DIR
mpirun -np 1 $OPAL_EXE_PATH/opal RBend-Simple-Test-1.in --commlib mpi --info 9 --warn 0 2>&1
"One rectangular bend with a zero angle entrance angle. No space charge is considered"
stat "rms_x" last 2E-8
stat "rms_y" last 2E-8
stat "rms_s" last 2E-8
stat "emit_x" last 2E-8
stat "emit_y" last 2E-8
stat "emit_s" last 2E-8
#!/bin/bash
#$ -cwd
#$ -j y
#$ -pe orte 1
#$ -N BC1-1-RT
#$ -v LD_LIBRARY_PATH,OPAL_EXE_PATH,OPENMPI,REG_TEST_DIR
MACHINE_FILE=$TMPDIR/machinefile
awk '/^felsim/ {print $1" slots="$2}' $PE_HOSTFILE > $MACHINE_FILE
cp $MACHINE_FILE machinefile.last
cd $REG_TEST_DIR
OPAL="$OPAL_EXE_PATH/opal RBend-Simple-Test-1.in --commlib mpi --info 9 --warn 0 2>&1"
CMD="$OPENMPI/bin/mpirun -x LD_LIBRARY_PATH -machinefile $MACHINE_FILE -np $NSLOTS $OPAL "
$CMD
This test was checked with the linear matrix optics code, Trace3D. Trace3D is
an interactive graphical program and a screen shot of the short beam line for
this test is included in this directory.
Trace3D uses the following units:
Length: mm
Emittance (transverse): mm-mrad
Emittance (longitudinal): degress-keV
Trace3D uses and diplays the unnormalized emittance. To convert the transverse
emittance that Trace3D diplays to OPAL values multiply them by:
14.66
The longitudinal emittance is in degrees-keV, where the degrees refer to the
reference RF frequency, which is 700 MHz in this case. To convert the
longitudinal emittance in Trace3D to the OPAL units, multiply by:
2.278 x 10^-6
# 1
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
8412d52393a55721a4eafa0c16970208 RBend-Simple-Test-1.lbal
This source diff could not be displayed because it is too large. You can view the blob instead.
2e399ab5a9141994e98b2401fd4a561a RBend-Simple-Test-1.out
This source diff could not be displayed because it is too large. You can view the blob instead.
2434a8f3244db3651707b6f0c5091b51 RBend-Simple-Test-1.stat
This diff is collapsed.
This diff is collapsed.
#!/bin/bash
cd $REG_TEST_DIR
mpirun -np 1 $OPAL_EXE_PATH/opal RBend-Simple-Test-2.in --commlib mpi --info 9 --warn 0 2>&1
"One rectangular bend with an entrance angle the same as the bend angle. No space charge is considered"
stat "rms_x" last 2E-8
stat "rms_y" last 2E-8
stat "rms_s" last 2E-8
stat "emit_x" last 2E-8
stat "emit_y" last 2E-8
stat "emit_s" last 2E-8
#!/bin/bash
#$ -cwd
#$ -j y
#$ -pe orte 1
#$ -N BC1-1-RT
#$ -v LD_LIBRARY_PATH,OPAL_EXE_PATH,OPENMPI,REG_TEST_DIR
MACHINE_FILE=$TMPDIR/machinefile
awk '/^felsim/ {print $1" slots="$2}' $PE_HOSTFILE > $MACHINE_FILE
cp $MACHINE_FILE machinefile.last
cd $REG_TEST_DIR
OPAL="$OPAL_EXE_PATH/opal RBend-Simple-Test-2.in --commlib mpi --info 9 --warn 0 2>&1"
CMD="$OPENMPI/bin/mpirun -x LD_LIBRARY_PATH -machinefile $MACHINE_FILE -np $NSLOTS $OPAL "
$CMD
This test was checked with the linear matrix optics code, Trace3D. Trace3D is
an interactive graphical program and a screen shot of the short beam line for
this test is included in this directory.
Trace3D uses the following units:
Length: mm
Emittance (transverse): mm-mrad
Emittance (longitudinal): degress-keV
Trace3D uses and diplays the unnormalized emittance. To convert the transverse
emittance that Trace3D diplays to OPAL values multiply them by:
14.66
The longitudinal emittance is in degrees-keV, where the degrees refer to the
reference RF frequency, which is 700 MHz in this case. To convert the
longitudinal emittance in Trace3D to the OPAL units, multiply by:
2.278 x 10^-6
# 1
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000