Commit f08ced4c authored by adelmann's avatar adelmann

OPAL IMPACT-T test, as in Appendix E

parent 2dda068c
......@@ -483,6 +483,33 @@ RegressionTests/Transfer-Line-fixme/reference/Transfer-Line.out -text
RegressionTests/Transfer-Line-fixme/reference/Transfer-Line.out.md5 -text
RegressionTests/Transfer-Line-fixme/reference/Transfer-Line.stat -text
RegressionTests/Transfer-Line-fixme/reference/Transfer-Line.stat.md5 -text
RegressionTests/opalimpact-1/IMPACTref-1/ImpactT.in -text
RegressionTests/opalimpact-1/IMPACTref-1/ImpactTmac -text
RegressionTests/opalimpact-1/IMPACTref-1/fort.18 -text
RegressionTests/opalimpact-1/IMPACTref-1/fort.24 -text
RegressionTests/opalimpact-1/IMPACTref-1/fort.25 -text
RegressionTests/opalimpact-1/IMPACTref-1/fort.26 -text
RegressionTests/opalimpact-1/IMPACTref-1/fort.27 -text
RegressionTests/opalimpact-1/IMPACTref-1/fort.28 -text
RegressionTests/opalimpact-1/IMPACTref-1/fort.29 -text
RegressionTests/opalimpact-1/IMPACTref-1/fort.30 -text
RegressionTests/opalimpact-1/IMPACTref-1/fort.60 -text
RegressionTests/opalimpact-1/IMPACTref-1/fort.70 -text
RegressionTests/opalimpact-1/opal-impact-1MHz-x.pdf -text
RegressionTests/opalimpact-1/opal-impact-1MHz-y.pdf -text svneol=unset#unset
RegressionTests/opalimpact-1/opal-impact-1MHz-z.pdf -text svneol=unset#unset
RegressionTests/opalimpact-1/opalimpact-1.in -text
RegressionTests/opalimpact-1/opalimpact-1.local -text
RegressionTests/opalimpact-1/opalimpact-1.rt -text
RegressionTests/opalimpact-1/opalimpact-1.sge -text
RegressionTests/opalimpact-1/opalimpact-1.stat -text
RegressionTests/opalimpact-1/plot.gpl -text
RegressionTests/opalimpact-1/reference/opalimpact-1.lbal -text
RegressionTests/opalimpact-1/reference/opalimpact-1.lbal.md5 -text
RegressionTests/opalimpact-1/reference/opalimpact-1.out -text
RegressionTests/opalimpact-1/reference/opalimpact-1.out.md5 -text
RegressionTests/opalimpact-1/reference/opalimpact-1.stat -text
RegressionTests/opalimpact-1/reference/opalimpact-1.stat.md5 -text
RegressionTests/run/README -text
RegressionTests/run/builder.py -text
RegressionTests/run/documentation.py -text
......
!Welcome to IMPACT-T input file.
!All comment lines start with "!" as the first character of the line.
! processor layout
! col row
1 1
!
! information needed by the integrator:
! step-size, number of steps, and number of bunches/bins (??)
!
! dt Ntstep Nbunch
1.0e-10 700 1
!
! more information needed by the integrator:
! phase-space dimension, number of particles, a series of flags
! that set the type of integrator, error study, diagnostics, and
! image charge, and the cutoff distance for the image charge
!
! PSdim Nptcl integF errF diagF imchgF imgCutOff (m)
6 100000 1 0 1 0 0.016
!
!
! information about mesh: number of points in x, y, and z, type
! of boundary conditions, transverse aperture size (m),
! and longitudinal domain size (m), which should be larger than the total
! beamline element length
!
! Nx Ny Nz bcF Rx Ry Lz
16 16 16 1 0.15 0.15 1.0e5
!
!
! distribution type number, restart flag, space-charge substep
! flag, number of emission steps, and max emission time
!
! distType restartF substepF Nemission Temission
2 0 0 -1 0.0
!
! the distribution type codes have the following correspondence
! # dist type nparam parameters (1..21)
! 1 Uniform 21 sigx, sigpx, muxpx, xscale, pxscale, xmu1, xmu2,
! sigy, sigpy, muypy, yscale, pyscale, xmu3, xmu4,
! sigz, sigpz, muzpz, zscale, pzscale, xmu5, xmu6
! 2 Gauss3 21 as in Uniform
! 3 Waterbag 21 as in Uniform
! 4 Semigauss 21 as in Uniform
! 5 KV3d 21 as in Uniform
! 16 read 21 none
! 24 read in Parmela particles 21
! 25 read in Elegant particles 21
! 27 Uniform cylinder with initial current modulation 21
! ijk Combined function distribution
! following three lines contain a total of 21 parameters (seven
! per degree of freedom) particular to the particle distribution
!
! in most cases, the columns are given by
! sig* sigp* mu*p* *scale p*scale xmu* xmu*
!
0.005 0.0 0.0 1. 1. 0.0 0.0
0.005 0.0 0.0 1. 1. 0.0 0.0
0.005 0.0 0.0 1. 1. 0.0 0.0462
!
!
! information about the beam: current, kinetic energy, particle
! rest energy, particle charge, scale frequency, and initial
! cavity phase
!
! I/A Ek/eV Mc2/eV Q/e freq/Hz phs/rad
0.010 1.0e6 938.271998e+06 1.0 1.0e6 0.0
!
!
! ======= machine description starts here =======
! the following lines, which must each be terminated with a '/',
! describe one beam-line element per line; the basic structure is
! element length, ???, ???, element type, and then a sequence of
! at most 24 numbers describing the element properties
!
! the numeric type codes have the following correspondence
! # element nparams parameters (v0..v23)
! < 0 bpm 8
! 0 drift tube 2 zedge radius
! 1 quadrupole 9 zedge, quad grad, fileID,
! radius, alignment error x, y
! rotation error x, y, z
! 2 constFocus 5 zedge, foc grads kx0^2, ky0^2, kz0^2, radius
! 3 solenoid 9 zedge, Bz0, fileID
! radius, alignment error x, y
! rotation error x, y, z
! 4 dipole 10 zedge, field strength x, y, fileID,
! radius, alignment error x, y
! rotation error x, y, z
! 5 multipole 10 zedge, typeID (2=sex,3=oct,4=dec),
! field strength, fileID,
! radius, alignment error x, y
! rotation error x, y, z
! 101 DTL 15 zedge, ...
! 102 CCDTL 11 zedge, ...
! 103 CCL 11 zedge, ...
! 104 SC cavity 11 zedge, scale, RF frequency, theta0, fileID,
! radius, alignment error x, y
! rotation error x, y, z
! 105 SolRF 12 zedge, scale, RF frequency, theta0, fileID,
! radius, alignment error x, y
! rotation error x, y, z,
! Bz0
! 110 EMfld 13 zedge, scale, RF frequency, theta0, fileID,
! radius, alignment error x, y
! rotation error x, y, z,
! field flag (=discrete,=analytic),
! coordinate system flag (=cart,=cyl)
! 111 EMfld cart 11 zedge, scale, RF frequency, theta0, fileID,
! radius, alignment error x, y
! rotation error x, y, z
! 112 EMfld cyl 11 zedge, scale, RF frequency, theta0, fileID,
! radius, alignment error x, y
! rotation error x, y, z
! 113 EMfld anal 11 zedge, scale, RF frequency, theta0, fileID,
! radius, alignment error x, y
! rotation error x, y, z
!
! L/m N/A N/A type location of starting edge v1 °°° v23 /
1.0 0 0 0 0.0 0.5 /
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
0.00000000E+00 0.49130999E-05 100000 100000 100000
0.50000000E-09 0.69227051E-02 100000 100000 100000
0.10000000E-08 0.13840458E-01 100000 100000 100000
0.15000000E-08 0.20758209E-01 100000 100000 100000
0.20000000E-08 0.27675960E-01 100000 100000 100000
0.25000000E-08 0.34593710E-01 100000 100000 100000
0.30000000E-08 0.41511461E-01 100000 100000 100000
0.35000000E-08 0.48429210E-01 100000 100000 100000
0.40000000E-08 0.55346960E-01 100000 100000 100000
0.45000000E-08 0.62264708E-01 100000 100000 100000
0.50000000E-08 0.69182456E-01 100000 100000 100000
0.55000000E-08 0.76100203E-01 100000 100000 100000
0.60000000E-08 0.83017950E-01 100000 100000 100000
0.65000000E-08 0.89935695E-01 100000 100000 100000
0.70000000E-08 0.96853440E-01 100000 100000 100000
0.75000000E-08 0.10377118E+00 100000 100000 100000
0.80000000E-08 0.11068893E+00 100000 100000 100000
0.85000000E-08 0.11760667E+00 100000 100000 100000
0.90000000E-08 0.12452441E+00 100000 100000 100000
0.95000000E-08 0.13144215E+00 100000 100000 100000
0.10000000E-07 0.13835988E+00 100000 100000 100000
0.10500000E-07 0.14527762E+00 100000 100000 100000
0.11000000E-07 0.15219536E+00 100000 100000 100000
0.11500000E-07 0.15911309E+00 100000 100000 100000
0.12000000E-07 0.16603082E+00 100000 100000 100000
0.12500000E-07 0.17294856E+00 100000 100000 100000
0.13000000E-07 0.17986629E+00 100000 100000 100000
0.13500000E-07 0.18678402E+00 100000 100000 100000
0.14000000E-07 0.19370175E+00 100000 100000 100000
0.14500000E-07 0.20061948E+00 100000 100000 100000
0.15000000E-07 0.20753720E+00 100000 100000 100000
0.15500000E-07 0.21445493E+00 100000 100000 100000
0.16000000E-07 0.22137265E+00 100000 100000 100000
0.16500000E-07 0.22829038E+00 100000 100000 100000
0.17000000E-07 0.23520810E+00 100000 100000 100000
0.17500000E-07 0.24212582E+00 100000 100000 100000
0.18000000E-07 0.24904355E+00 100000 100000 100000
0.18500000E-07 0.25596127E+00 100000 100000 100000
0.19000000E-07 0.26287899E+00 100000 100000 100000
0.19500000E-07 0.26979671E+00 100000 100000 100000
0.20000000E-07 0.27671443E+00 100000 100000 100000
0.20500000E-07 0.28363215E+00 100000 100000 100000
0.21000000E-07 0.29054986E+00 100000 100000 100000
0.21500000E-07 0.29746758E+00 100000 100000 100000
0.22000000E-07 0.30438530E+00 100000 100000 100000
0.22500000E-07 0.31130301E+00 100000 100000 100000
0.23000000E-07 0.31822073E+00 100000 100000 100000
0.23500000E-07 0.32513845E+00 100000 100000 100000
0.24000000E-07 0.33205616E+00 100000 100000 100000
0.24500000E-07 0.33897388E+00 100000 100000 100000
0.25000000E-07 0.34589159E+00 100000 100000 100000
0.25500000E-07 0.35280930E+00 100000 100000 100000
0.26000000E-07 0.35972702E+00 100000 100000 100000
0.26500000E-07 0.36664473E+00 100000 100000 100000
0.27000000E-07 0.37356244E+00 100000 100000 100000
0.27500000E-07 0.38048016E+00 100000 100000 100000
0.28000000E-07 0.38739787E+00 100000 100000 100000
0.28500000E-07 0.39431558E+00 100000 100000 100000
0.29000000E-07 0.40123329E+00 100000 100000 100000
0.29500000E-07 0.40815100E+00 100000 100000 100000
0.30000000E-07 0.41506871E+00 100000 100000 100000
0.30500000E-07 0.42198642E+00 100000 100000 100000
0.31000000E-07 0.42890413E+00 100000 100000 100000
0.31500000E-07 0.43582184E+00 100000 100000 100000
0.32000000E-07 0.44273955E+00 100000 100000 100000
0.32500000E-07 0.44965726E+00 100000 100000 100000
0.33000000E-07 0.45657497E+00 100000 100000 100000
0.33500000E-07 0.46349268E+00 100000 100000 100000
0.34000000E-07 0.47041039E+00 100000 100000 100000
0.34500000E-07 0.47732809E+00 100000 100000 100000
0.35000000E-07 0.48424580E+00 100000 100000 100000
0.35500000E-07 0.49116351E+00 100000 100000 100000
0.36000000E-07 0.49808121E+00 100000 100000 100000
0.36500000E-07 0.50499892E+00 100000 100000 100000
0.37000000E-07 0.51191663E+00 100000 100000 100000
0.37500000E-07 0.51883433E+00 100000 100000 100000
0.38000000E-07 0.52575204E+00 100000 100000 100000
0.38500000E-07 0.53266974E+00 100000 100000 100000
0.39000000E-07 0.53958745E+00 100000 100000 100000
0.39500000E-07 0.54650515E+00 100000 100000 100000
0.40000000E-07 0.55342285E+00 100000 100000 100000
0.40500000E-07 0.56034056E+00 100000 100000 100000
0.41000000E-07 0.56725826E+00 100000 100000 100000
0.41500000E-07 0.57417596E+00 100000 100000 100000
0.42000000E-07 0.58109367E+00 100000 100000 100000
0.42500000E-07 0.58801137E+00 100000 100000 100000
0.43000000E-07 0.59492907E+00 100000 100000 100000
0.43500000E-07 0.60184678E+00 100000 100000 100000
0.44000000E-07 0.60876448E+00 100000 100000 100000
0.44500000E-07 0.61568218E+00 100000 100000 100000
0.45000000E-07 0.62259988E+00 100000 100000 100000
0.45500000E-07 0.62951758E+00 100000 100000 100000
0.46000000E-07 0.63643529E+00 100000 100000 100000
0.46500000E-07 0.64335299E+00 100000 100000 100000
0.47000000E-07 0.65027069E+00 100000 100000 100000
0.47500000E-07 0.65718839E+00 100000 100000 100000
0.48000000E-07 0.66410609E+00 100000 100000 100000
0.48500000E-07 0.67102379E+00 100000 100000 100000
0.49000000E-07 0.67794149E+00 100000 100000 100000
0.49500000E-07 0.68485919E+00 100000 100000 100000
0.50000000E-07 0.69177689E+00 100000 100000 100000
0.50500000E-07 0.69869459E+00 100000 100000 100000
0.51000000E-07 0.70561229E+00 100000 100000 100000
0.51500000E-07 0.71252999E+00 100000 100000 100000
0.52000000E-07 0.71944769E+00 100000 100000 100000
0.52500000E-07 0.72636539E+00 100000 100000 100000
0.53000000E-07 0.73328309E+00 100000 100000 100000
0.53500000E-07 0.74020079E+00 100000 100000 100000
0.54000000E-07 0.74711849E+00 100000 100000 100000
0.54500000E-07 0.75403619E+00 100000 100000 100000
0.55000000E-07 0.76095389E+00 100000 100000 100000
0.55500000E-07 0.76787159E+00 100000 100000 100000
0.56000000E-07 0.77478929E+00 100000 100000 100000
0.56500000E-07 0.78170699E+00 100000 100000 100000
0.57000000E-07 0.78862469E+00 100000 100000 100000
0.57500000E-07 0.79554238E+00 100000 100000 100000
0.58000000E-07 0.80246008E+00 100000 100000 100000
0.58500000E-07 0.80937778E+00 100000 100000 100000
0.59000000E-07 0.81629548E+00 100000 100000 100000
0.59500000E-07 0.82321318E+00 100000 100000 100000
0.60000000E-07 0.83013087E+00 100000 100000 100000
0.60500000E-07 0.83704857E+00 100000 100000 100000
0.61000000E-07 0.84396627E+00 100000 100000 100000
0.61500000E-07 0.85088397E+00 100000 100000 100000
0.62000000E-07 0.85780167E+00 100000 100000 100000
0.62500000E-07 0.86471936E+00 100000 100000 100000
0.63000000E-07 0.87163706E+00 100000 100000 100000
0.63500000E-07 0.87855476E+00 100000 100000 100000
0.64000000E-07 0.88547245E+00 100000 100000 100000
0.64500000E-07 0.89239015E+00 100000 100000 100000
0.65000000E-07 0.89930785E+00 100000 100000 100000
0.65500000E-07 0.90622555E+00 100000 100000 100000
0.66000000E-07 0.91314324E+00 100000 100000 100000
0.66500000E-07 0.92006094E+00 100000 100000 100000
0.67000000E-07 0.92697864E+00 100000 100000 100000
0.67500000E-07 0.93389633E+00 100000 100000 100000
0.68000000E-07 0.94081403E+00 100000 100000 100000
0.68500000E-07 0.94773172E+00 100000 100000 100000
0.69000000E-07 0.95464942E+00 100000 100000 100000
0.69500000E-07 0.96156712E+00 100000 100000 100000
0.70000000E-07 0.96848481E+00 100000 100000 100000
This diff is collapsed.
This diff is collapsed.
-0.2066325E-01 0.3775497E+01 0.4108250E-01 0.0000000E+00 0.0000000E+00 0.9392728E+09 0.1755361E-06
-0.1790815E-01 0.3972330E+02 0.4322431E+00 0.0000000E+00 0.0000000E+00 0.9392728E+09 0.5159263E-06
-0.1515305E-01 0.2582038E+03 0.2809606E+01 0.0000000E+00 0.0000000E+00 0.9392728E+09 0.8588521E-06
-0.1239795E-01 0.1216357E+04 0.1323560E+02 0.0000000E+00 0.0000000E+00 0.9392728E+09 0.2133707E-06
-0.9642848E-02 0.3667368E+04 0.3990592E+02 0.0000000E+00 0.0000000E+00 0.9392728E+09 0.2589121E-05
-0.6887749E-02 0.8721635E+04 0.9490316E+02 0.0000000E+00 0.0000000E+00 0.9392728E+09 0.5679628E-05
-0.4132649E-02 0.1534650E+05 0.1669906E+03 0.0000000E+00 0.0000000E+00 0.9392728E+09 0.3704607E-05
-0.1377550E-02 0.2074284E+05 0.2257101E+03 0.0000000E+00 0.0000000E+00 0.9392728E+09 0.3928801E-05
0.1377550E-02 0.2070217E+05 0.2252675E+03 0.0000000E+00 0.0000000E+00 0.9392728E+09 0.5059287E-05
0.4132649E-02 0.1553736E+05 0.1690675E+03 0.0000000E+00 0.0000000E+00 0.9392728E+09 0.2366915E-05
0.6887749E-02 0.8644854E+04 0.9406768E+02 0.0000000E+00 0.0000000E+00 0.9392728E+09 0.2066997E-05
0.9642848E-02 0.3596463E+04 0.3913437E+02 0.0000000E+00 0.0000000E+00 0.9392728E+09 0.1101084E-05
0.1239795E-01 0.1183184E+04 0.1287463E+02 0.0000000E+00 0.0000000E+00 0.9392728E+09 0.2084342E-05
0.1515305E-01 0.2869029E+03 0.3121891E+01 0.0000000E+00 0.0000000E+00 0.9392728E+09 0.1116296E-05
0.1790815E-01 0.4551499E+02 0.4952645E+00 0.0000000E+00 0.0000000E+00 0.9392728E+09 0.1275916E-06
0.2066325E-01 0.7153253E+01 0.7783705E-01 0.0000000E+00 0.0000000E+00 0.9392728E+09 0.9318253E-07
-0.6400728E-01 0.1167093E+04 0.4099750E+01 0.1447701E-06 0.1447320E-06 0.9391433E+09 0.6413917E+04
-0.5547298E-01 0.4477171E+04 0.1572735E+02 0.5286929E-06 0.5310590E-06 0.9391559E+09 0.4502726E+04
-0.4693867E-01 0.6132766E+04 0.2154310E+02 0.1170395E-05 0.1164204E-05 0.9391737E+09 0.3754303E+04
-0.3840437E-01 0.6931268E+04 0.2434807E+02 0.1725365E-05 0.1799446E-05 0.9391924E+09 0.3115990E+04
-0.2987007E-01 0.7530780E+04 0.2645403E+02 0.2123448E-05 0.2196283E-05 0.9392112E+09 0.2423519E+04
-0.2133576E-01 0.8108017E+04 0.2848174E+02 0.2312238E-05 0.2398397E-05 0.9392304E+09 0.1904506E+04
-0.1280146E-01 0.8272186E+04 0.2905843E+02 0.2508785E-05 0.2544075E-05 0.9392495E+09 0.1540794E+04
-0.4267152E-02 0.8421644E+04 0.2958345E+02 0.2579924E-05 0.2618521E-05 0.9392684E+09 0.1377488E+04
0.4267152E-02 0.8088540E+04 0.2841332E+02 0.2661469E-05 0.2718460E-05 0.9392876E+09 0.1435359E+04
0.1280146E-01 0.8056109E+04 0.2829940E+02 0.2577609E-05 0.2622790E-05 0.9393068E+09 0.1740925E+04
0.2133576E-01 0.7685050E+04 0.2699595E+02 0.2377890E-05 0.2382059E-05 0.9393258E+09 0.2212639E+04
0.2987007E-01 0.7343621E+04 0.2579658E+02 0.2077891E-05 0.2135520E-05 0.9393451E+09 0.2850189E+04
0.3840437E-01 0.6690098E+04 0.2350090E+02 0.1684637E-05 0.1757865E-05 0.9393641E+09 0.3679943E+04
0.4693867E-01 0.5777064E+04 0.2029360E+02 0.1171718E-05 0.1167862E-05 0.9393829E+09 0.4577613E+04
0.5547298E-01 0.4231195E+04 0.1486329E+02 0.5421224E-06 0.5400993E-06 0.9394010E+09 0.5297455E+04
0.6400728E-01 0.1087398E+04 0.3819797E+01 0.1531320E-06 0.1449144E-06 0.9394139E+09 0.6893450E+04
OPTION, ECHO = FALSE,
PSDUMPFREQ = 10,
STATDUMPFREQ = 10,
REPARTFREQ = 1000,
PSDUMPLOCALFRAME = FALSE;
TITLE, string="Gaussian bunch drift test";
Edes = 0.001;
CURRENT = 0.01;
gamma=(Edes+PMASS)/PMASS;
beta=sqrt(1-(1/gamma^2));
gambet=gamma*beta;
P0 = gamma*beta*PMASS;
brho = (PMASS*1.0e9*gambet) / CLIGHT;
D1: DRIFT, ELEMEDGE = 0.0, L = 1.0;
L1: LINE = (D1);
Fs1: FIELDSOLVER, FSTYPE = FFT, MX = 16, MY = 16, MT = 16, BBOXINCR=0.1;
Dist1: DISTRIBUTION, DISTRIBUTION = GAUSS,
OFFSETX = 0.0, OFFSETY = 0.0, OFFSETZ = 15.0e-3, // Centroid of bunch (m)
SIGMAX = 5.0e-3, SIGMAY = 5.0e-3, SIGMAZ = 5.0e-3, // Sigmas of the Gaussian bunch (m)
OFFSETPX = 0.0, OFFSETPY = 0.0, OFFSETPZ = 0.0, // Mean momenta (eV)
SIGMAPX = 0.0 , SIGMAPY = 0.0 , SIGMAPZ = 0.0 , // Sigmas of the momenta (eV)
CORRX = 0.0, CORRY = 0.0, CORRZ = 0.0, // Correlations
CUTOFFX = 4.0, CUTOFFY = 4.0, CUTOFFLONG = 4.0; // Impact-t is calculatng 4 sigma distributions
Beam1: BEAM, PARTICLE = PROTON, CHARGE = 1.0, BFREQ = 1.0e6, PC = P0, NPART = 1E5, BCURRENT = CURRENT, FIELDSOLVER = Fs1;
SELECT, LINE = L1;
TRACK, LINE = L1, BEAM = Beam1, MAXSTEPS = 1000, ZSTOP = 1.0, DT = 1.0e-10;
RUN, METHOD = "PARALLEL-T", BEAM = Beam1, FIELDSOLVER = Fs1, DISTRIBUTION = Dist1;
ENDTRACK;
STOP;
#!/bin/bash
$OPAL_EXE_PATH/opal opalimpact-1.in --info 0 2>&1
"OPAL IMPACT-1 Drift test (test-1)"
stat "rms_x" last 1E-5 #this is a comment
stat "rms_y" last 1E-5 #this is a comment
stat "rms_s" last 1E-5 #this is a comment
stat "emit_x" last 1E-5 #this is a comment
stat "emit_y" last 1E-5 #this is a comment
stat "emiy_s" last 1E-5 #this is a comment
\ No newline at end of file
#!/bin/bash
#$ -cwd
#$ -j y
#$ -pe mpi 1
#$ -N opalimpact-1-RT
#$ -v OPENMPI,LD_LIBRARY_PATH,OPAL_EXE_PATH,REG_TEST_DIR
MACHINE_FILE=$TMPDIR/machinefile
awk '/^felsim/ {print $1" slots="$2}' $PE_HOSTFILE > $MACHINE_FILE
cp $MACHINE_FILE machinefile.last
echo "PE_HOSTFILE:"
cat $PE_HOSTFILE
echo "MACHINE_FILE:"
cat $MACHINE_FILE
echo "SLOTS=$NSLOTS"
cd $REG_TEST_DIR
OPAL="$OPAL_EXE_PATH/opal opalimpact-1.in --info 0 --warn 0 2>&1"
CMD="$MPIHOME/bin/mpirun -machinefile $MACHINE_FILE -np $NSLOTS --mca ras localhost --mca pls rsh $OPAL "
$CMD
This source diff could not be displayed because it is too large. You can view the blob instead.
FNO ='opalimpact-1.stat'
FNIX='IMPACTref-1/fort.24'
FNIY='IMPACTref-1/fort.25'
FNIZ='IMPACTref-1/fort.26'
#set title "OPAL ImpactT 1 MHz, 10 mA, H+"
#set time
set grid
set key right bottom
set pointsize 1.5
set y2tics
set xlabel "t (nS)" font "Times,24"
set ylabel "rms beam size [m]" font "Times,24"
set y2label 'rms emittance [mm-mr] ' font "Times,24"
#
plot FNO every 2 u ($1*1E9):6 w linesp ls 2 lc 1 t 'OPAL x '
repl FNIX every 2 u ($1*1E9):4 w linesp ls 2 lc 2 t 'ImpactT x'
#
repl FNO every 2 u ($1*1E9):($12*1E6) axes x1y2 w linesp ls 5 lc 1 t 'OPAL {/Symbol e}_x'
repl FNIX every 2 u ($1*1E9):($8*1E6) axes x1y2 w linesp ls 5 lc 2 t 'ImpactT {/Symbol e}_x'
set term post enh col
set out '|ps2pdf - opal-impact-1MHz-x.pdf'
repl
#
set term aqua
set out
#
plot FNO every 2 u ($1*1E9):7 w linesp ls 2 lc 1 t 'OPAL y '
repl FNIY every 2 u ($1*1E9):4 w linesp ls 2 lc 2 t 'ImpactT y'
#
repl FNO every 2 u ($1*1E9):($13*1E6) axes x1y2 w linesp ls 5 lc 1 t 'OPAL {/Symbol e}_y'
repl FNIY every 2 u ($1*1E9):($8*1E6) axes x1y2 w linesp ls 5 lc 2 t 'ImpactT {/Symbol e}_y'
set term post enh col
set out '|ps2pdf - opal-impact-1MHz-y.pdf'
repl
#
set term aqua
set out
#
plot FNO every 2 u ($1*1E9):8 w linesp ls 2 lc 1 t 'OPAL z'
repl FNIZ every 2 u ($1*1E9):3 w linesp ls 2 lc 2 t 'ImpactT z'
#
repl FNO every 2 u ($1*1E9):($14*1E6) axes x1y2 w linesp ls 5 lc 1 t 'OPAL {/Symbol e}_z'
repl FNIZ every 2 u ($1*1E9):($7*1E6) axes x1y2 w linesp ls 5 lc 2 t 'ImpactT {/Symbol e}_z'
set term post enh col
set out '|ps2pdf - opal-impact-1MHz-z.pdf'
repl
d41d8cd98f00b204e9800998ecf8427e opalimpact-1.lbal
This source diff could not be displayed because it is too large. You can view the blob instead.
3783eeffeaa9a7567f1f3f9d9bf6af5d opalimpact-1.out
This source diff could not be displayed because it is too large. You can view the blob instead.
e139577025d44a3dbc694309aaa9a0e7 opalimpact-1.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