Commit 9fbeeabf authored by snuverink_j's avatar snuverink_j
Browse files

Opal maps

parent b71af7bb
......@@ -16,6 +16,9 @@
*_Monitors.stat
*_3D.opal
# For OPAL-maps
*.dispersion
*.map
RegressionTests/*/*-RT.o
RegressionTests/*/*.lbal
......@@ -59,6 +62,10 @@ RegressionTests/HKick-Test-1/HKick-Test-1.h5
RegressionTests/HKick-Test-2/HKick-Test-2.h5
RegressionTests/Kick-Test-1/Kick-Test-1.h5
RegressionTests/LaserEmission-1/LaserEmission-1.h5
RegressionTests/MAP-Circular/MAP-Circular.h5
RegressionTests/MAP-FODO/MAP-FODO.h5
RegressionTests/MAP-FODODipole/MAP-FODODipole.h5
RegressionTests/MAP-Gantry2/MAP-Gantry2.h5
RegressionTests/OpalRingTest/OpalRingTest-trackOrbit.dat
RegressionTests/OpalRingTest/OpalRingTest.h5
RegressionTests/OpalRingTest/PROBE1.hist
......
This diff is collapsed.
#!/bin/bash
timeout 300 mpirun -np 1 $OPAL_EXE_PATH/opal MAP-Circular.in --warn 0 2>&1
"MAP test with FODO lattice"
stat "mean_x" last 1E-9
stat "mean_y" last 1E-9
stat "mean_s" last 1E-9
#!/bin/bash
#$ -cwd
#$ -j y
#$ -pe orte 4
#$ -N MAP-Circular-RT
#$ -v LD_LIBRARY_PATH,OPAL_EXE_PATH,OPENMPI,REG_TEST_DIR
MACHINE_FILE=$TMPDIR/machinefile
awk '/^merlin/ {print $1" slots="$2}' $PE_HOSTFILE > $MACHINE_FILE
cp $MACHINE_FILE machinefile.last
cd $REG_TEST_DIR
OPAL="$OPAL_EXE_PATH/opal MAP-Circular.in --commlib mpi --info 3 --warn 0 2>&1"
CMD="$OPENMPI/bin/mpirun -x LD_LIBRARY_PATH -machinefile $MACHINE_FILE -np $NSLOTS $OPAL "
$CMD
This diff is collapsed.
SDDS1
&description
text="Processor statistics 'MAP-Circular.in' 19/09/201816:07:56",
contents="stat parameters"
&end
&parameter
name=processors,
type=long,
description="Number of Cores used"
&end
&parameter
name=revision,
type=string,
description="git revision of opal"
&end
&parameter
name=flavor,
type=string,
description="OPAL flavor that wrote file"
&end
&column
name=t,
type=double,
units=ns,
description="1 Time"
&end
&column
name=processor-0,
type=long,
units=1,
description="2 Number of particles of processor 0"
&end
&data
mode=ascii,
no_row_counts=1
&end
1
OPAL 2.0.0 git rev. #9e63da24f252b4259ec9217a276216e63f2af8f4
opal-env
0.000000000000000e+00 200
1.667820693741358e+00 200
5.003459918934568e+00 200
6.671280612675925e+00 200
7.338408890172468e+00 200
9.006229583913827e+00 200
1.234186880910704e+01 200
1.400968950284839e+01 200
1.467681778034494e+01 200
1.634463847408630e+01 200
1.968027769927950e+01 200
2.134809839302086e+01 200
2.201522667051741e+01 200
2.368304736425877e+01 200
2.701868658945198e+01 200
2.868650728319334e+01 200
2.935363556068988e+01 200
3.102145625443124e+01 200
3.435709547962445e+01 200
3.602491617336581e+01 200
3.669204445086235e+01 200
3.835986514460370e+01 200
4.169550436979691e+01 200
4.336332506353828e+01 200
4.403045334103481e+01 200
4.569827403477618e+01 200
4.903391325996938e+01 200
5.070173395371074e+01 200
5.136886223120728e+01 200
5.303668292494864e+01 200
5.637232215014185e+01 200
5.804014284388321e+01 200
5.870727112137975e+01 200
6.037509181512111e+01 200
6.371073104031432e+01 200
6.537855173405568e+01 200
6.604568001155222e+01 200
6.771350070529357e+01 200
7.104913993048677e+01 200
7.271696062422814e+01 200
7.338408890172468e+01 200
7.505190959546603e+01 200
7.838754882065925e+01 200
8.005536951440060e+01 200
8.072249779189714e+01 200
8.239031848563849e+01 200
8.572595771083171e+01 200
8.739377840457306e+01 200
8.806090668206960e+01 200
8.972872737581095e+01 200
9.306436660100417e+01 200
9.473218729474551e+01 200
9.539931557224206e+01 200
9.706713626598342e+01 200
1.004027754911766e+02 200
1.020705961849180e+02 200
1.027377244624145e+02 200
1.044055451561559e+02 200
1.077411843813491e+02 200
1.094090050750904e+02 200
1.100761333525870e+02 200
1.117439540463283e+02 200
1.150795932715215e+02 200
1.167474139652629e+02 200
1.174145422427595e+02 200
1.190823629365008e+02 200
1.224180021616940e+02 200
1.240858228554354e+02 200
1.247529511329319e+02 200
1.264207718266733e+02 200
1.297564110518665e+02 200
1.314242317456079e+02 200
1.320913600231044e+02 200
1.337591807168458e+02 200
1.370948199420390e+02 200
1.387626406357804e+02 200
1.394297689132769e+02 200
1.410975896070183e+02 200
1.444332288322115e+02 200
1.461010495259529e+02 200
1.467681778034494e+02 200
1.484359984971908e+02 200
1.517716377223840e+02 200
1.534394584161254e+02 200
1.541065866936219e+02 200
1.557744073873633e+02 200
1.591100466125565e+02 200
1.607778673062979e+02 200
1.614449955837945e+02 200
1.631128162775358e+02 200
1.664484555027290e+02 200
1.681162761964704e+02 200
1.687834044739670e+02 200
1.704512251677083e+02 200
1.737868643929015e+02 200
1.754546850866429e+02 200
1.761218133641394e+02 200
1.777896340578808e+02 200
1.811252732830740e+02 200
1.827930939768154e+02 200
1.834602222543119e+02 200
1.851280429480533e+02 200
1.884636821732465e+02 200
1.901315028669879e+02 200
1.907986311444844e+02 200
1.924664518382258e+02 200
1.958020910634190e+02 200
1.974699117571604e+02 200
1.981370400346569e+02 200
1.998048607283983e+02 200
2.031404999535915e+02 200
2.048083206473329e+02 200
2.054754489248294e+02 200
2.071432696185708e+02 200
2.104789088437640e+02 200
2.121467295375054e+02 200
2.128138578150019e+02 200
2.144816785087433e+02 200
2.178173177339366e+02 200
2.194851384276779e+02 200
2.201522667051745e+02 200
2.218200873989158e+02 200
2.251557287863986e+02 200
2.268235494801399e+02 200
2.274906777576365e+02 200
2.291584984513778e+02 200
2.324941376765711e+02 200
2.341619583703124e+02 200
2.348290866478090e+02 200
2.364969073415503e+02 200
2.398325487290330e+02 200
2.415003694227744e+02 200
2.421674977002709e+02 200
2.438353183940123e+02 200
2.471709597814950e+02 200
2.488387804752363e+02 200
2.494225177180458e+02 200
2.500062549608553e+02 200
2.508401653077260e+02 200
2.516740756545966e+02 200
2.525079860014673e+02 200
2.533418963483380e+02 200
2.541758066952086e+02 200
2.550097170420793e+02 200
2.556768453195758e+02 200
2.565107556664465e+02 200
2.573446660133172e+02 200
2.581785763601879e+02 200
2.590124867070585e+02 200
2.595962239498680e+02 200
2.601799611926775e+02 200
2.611806536089223e+02 200
2.617365949520499e+02 200
2.622925362951775e+02 200
2.628484776383050e+02 200
2.632487546048030e+02 200
2.636490315713009e+02 200
2.640493085377988e+02 200
2.644495855042967e+02 200
2.648498624707946e+02 200
2.652501394372925e+02 200
2.656504164037905e+02 200
2.660506933702884e+02 200
2.664509703367863e+02 200
2.668512473032843e+02 200
2.674071886464118e+02 200
2.679631299895394e+02 200
2.685190713326670e+02 200
2.695197637489118e+02 200
2.701035009917213e+02 200
2.706872382345308e+02 200
2.715211485814014e+02 200
2.723550589282721e+02 200
2.731889692751428e+02 200
2.740228796220134e+02 200
2.746900078995100e+02 200
2.755239182463807e+02 200
2.763578285932513e+02 200
2.771917389401220e+02 200
2.780256492869926e+02 200
2.788595596338633e+02 200
2.796934699807340e+02 200
2.802772072235435e+02 200
2.808609444663530e+02 200
2.825287651600943e+02 200
2.858644065475771e+02 200
2.875322272413184e+02 200
2.881993555188149e+02 200
2.898671762125563e+02 200
2.932028176000390e+02 200
2.948706382937804e+02 200
2.955377665712769e+02 200
2.972055872650182e+02 200
3.005412264902114e+02 200
3.022090471839528e+02 200
3.028761754614493e+02 200
3.045439961551907e+02 200
3.078796375426734e+02 200
3.095474582364147e+02 200
3.102145865139113e+02 200
3.118824072076526e+02 200
3.152180464328458e+02 200
3.168858671265872e+02 200
3.175529954040837e+02 200
3.192208160978251e+02 200
3.225564553230183e+02 200
3.242242760167596e+02 200
3.248914042942562e+02 200
3.265592249879975e+02 200
3.298948642131907e+02 200
3.315626849069321e+02 200
3.322298131844286e+02 200
3.338976338781700e+02 200
3.372332731033632e+02 200
3.389010937971045e+02 200
3.395682220746011e+02 200
3.412360427683424e+02 200
3.445716819935357e+02 200
3.462395026872770e+02 200
3.469066309647735e+02 200
3.485744516585149e+02 200
3.519100908837081e+02 200
3.535779115774494e+02 200
3.542450398549460e+02 200
3.559128605486873e+02 200
3.592484997738806e+02 200
3.609163204676219e+02 200
3.615834487451184e+02 200
3.632512694388598e+02 200
3.665869086640530e+02 200
3.682547293577943e+02 200
3.689218576352908e+02 200
3.705896783290322e+02 200
3.739253175542254e+02 200
3.755931382479667e+02 200
3.762602665254633e+02 200
3.779280872192047e+02 200
3.812637264443979e+02 200
3.829315471381392e+02 200
3.835986754156357e+02 200
3.852664961093771e+02 200
3.886021353345703e+02 200
3.902699560283116e+02 200
3.909370843058082e+02 200
3.926049049995495e+02 200
3.959405442247428e+02 200
3.976083649184841e+02 200
3.982754931959807e+02 200
3.999433138897220e+02 200
4.032789531149152e+02 200
4.049467738086566e+02 200
4.056139020861531e+02 200
4.072817227798944e+02 200
4.106173620050877e+02 200
4.122851826988290e+02 200
4.129523109763256e+02 200
4.146201316700669e+02 200
4.179557708952601e+02 200
4.196235915890015e+02 200
4.202907198664980e+02 200
4.219585405602393e+02 200
4.252941797854326e+02 200
4.269620004791739e+02 200
4.276291287566705e+02 200
4.292969494504118e+02 200
4.326325886756050e+02 200
4.343004093693464e+02 200
4.349675376468429e+02 200
4.366353583405842e+02 200
4.399709975657774e+02 200
4.416388182595188e+02 200
4.423059465370152e+02 200
4.439737672307566e+02 200
4.473094064559498e+02 200
4.489772271496911e+02 200
4.496443554271876e+02 200
4.513121761209290e+02 200
4.546478153461222e+02 200
4.563156360398635e+02 200
4.569827643173600e+02 200
4.586505850111014e+02 200
4.619862242362946e+02 200
4.636540449300359e+02 200
4.643211732075324e+02 200
4.659889939012738e+02 200
4.693246331264670e+02 200
4.709924538202083e+02 200
4.716595820977048e+02 200
4.733274027914462e+02 200
4.766630420166394e+02 200
4.783308627103808e+02 200
4.789979909878772e+02 200
4.806658116816186e+02 200
4.840014509068118e+02 200
4.856692716005531e+02 200
4.863363998780496e+02 200
4.880042205717909e+02 200
4.913398597969841e+02 200
4.930076804907255e+02 200
4.936748087682220e+02 200
4.953426294619633e+02 200
4.986782686871564e+02 200
5.003460893808978e+02 200
5.010132176583943e+02 200
5.026810383521357e+02 200
5.060166775773288e+02 200
5.076844982710701e+02 200
5.083516265485666e+02 200
5.100194472423080e+02 200
5.133550864675011e+02 200
5.150229071612425e+02 200
5.156900354387390e+02 200
5.173578561324803e+02 200
5.206934953576734e+02 200
5.223613160514149e+02 200
5.230284443289113e+02 200
5.246962650226527e+02 200
5.280319042478459e+02 200
5.296997249415872e+02 200
5.303668532190836e+02 200
5.320346739128250e+02 200
5.353703131380182e+02 200
5.370381338317595e+02 200
5.377052621092560e+02 200
5.393730828029974e+02 200
5.427087220281906e+02 200
5.443765427219319e+02 200
5.450436709994284e+02 200
5.467114916931697e+02 200
5.500471309183629e+02 200
5.517149516121042e+02 200
5.523820798896007e+02 200
5.540499005833420e+02 200
5.573855398085352e+02 200
5.590533605022765e+02 200
5.597204887797731e+02 200
5.613883094735144e+02 200
5.647239508609971e+02 200
5.663917715547384e+02 200
5.670588998322348e+02 200
5.687267205259762e+02 200
5.720623597511694e+02 200
5.737301804449107e+02 200
5.743973087224073e+02 200
5.760651294161486e+02 200
5.794007708036312e+02 200
5.810685914973726e+02 200
5.817357197748690e+02 200
5.834035404686105e+02 200
5.867391818560931e+02 200
5.884070025498345e+02 200
5.889907397926439e+02 200
5.895744770354535e+02 200
5.904083873823242e+02 200
5.912422977291950e+02 200
5.920762080760657e+02 200
5.929101184229364e+02 200
5.937440287698071e+02 200
5.945779391166778e+02 200
5.952450673941744e+02 200
5.960789777410450e+02 200
5.969128880879158e+02 200
5.977467984347865e+02 200
5.985807087816572e+02 200
5.991644460244668e+02 200
5.997481832672763e+02 200
6.007488756835212e+02 200
6.013048170266487e+02 200
6.018607583697762e+02 200
6.024166997129038e+02 200
6.028169766794017e+02 200
6.032172536458996e+02 200
6.036175306123976e+02 200
6.040178075788954e+02 200
6.044180845453933e+02 200
6.048183615118912e+02 200
6.052186384783892e+02 200
6.056189154448871e+02 200
6.060191924113850e+02 200
6.064194693778829e+02 200
6.069754107210105e+02 200
6.075313520641380e+02 200
6.080872934072655e+02 200
6.090879858235104e+02 200
6.096717230663199e+02 200
6.102554603091295e+02 200
6.110893706560001e+02 200
6.119232810028709e+02 200
6.127571913497416e+02 200
6.135911016966123e+02 200
6.142582299741089e+02 200
6.150921403209795e+02 200
6.159260506678503e+02 200
6.167599610147209e+02 200
6.175938713615917e+02 200
6.184277817084625e+02 200
6.192616920553331e+02 200
6.198454292981427e+02 200
6.204291665409522e+02 200
6.220969872346935e+02 200
6.254326286221763e+02 200
6.271004493159176e+02 200
6.277675775934141e+02 200
6.294353982871554e+02 200
6.327710396746381e+02 200
6.344388603683794e+02 200
6.351059886458760e+02 200
6.367738093396173e+02 200
6.401094485648105e+02 200
6.417772692585518e+02 200
6.424443975360483e+02 200
6.441122182297896e+02 200
6.474478596172723e+02 200
6.491156803110136e+02 200
6.497828085885101e+02 200
6.514506292822515e+02 200
6.547862685074447e+02 200
6.564540892011860e+02 200
6.571212174786825e+02 200
6.587890381724238e+02 200
6.621246773976170e+02 200
6.637924980913583e+02 200
6.644596263688549e+02 200
6.661274470625962e+02 200
6.694630862877893e+02 200
6.711309069815306e+02 200
6.717980352590272e+02 200
6.734658559527685e+02 200
6.768014951779617e+02 200
6.784693158717030e+02 200
6.791364441491995e+02 200
1.343596221878322e+03 200
646b4f56f4922e3e9968440aa437ce74 MAP-Circular.lbal
This diff is collapsed.
42d3d7b378b36ffe4e06d4d0d5d74d2a MAP-Circular.out
This diff is collapsed.
5377cd8b81dc4638e6913687b8b36860 MAP-Circular.stat
OPTION, ECHO=FALSE;
OPTION, INFO=TRUE;
Option, PSDUMPFREQ=1;
Option, SPTDUMPFREQ = 50;
Option, STATDUMPFREQ=1;
OPTION, VERSION=10900;
TITLE, STRING="FODO Test";
REAL Edes = 0.10;
REAL gamma = (Edes+PMASS)/PMASS;
REAL beta = sqrt(1-(1/gamma^2));
REAL gambet = gamma*beta;
REAL P0 = gamma*beta*PMASS;
REAL brho = (PMASS*1.0e9*gambet) / CLIGHT;
REAL rf = 50.6328e6; //need to be confirmed
VALUE,{gamma,brho,Edes,beta,gambet};
D1: DRIFT, L=1., ELEMEDGE=0.000, NSLICES=10;
QP1: QUADRUPOLE, L=0.3, K1= 8.64195, ELEMEDGE=1.000, NSLICES=15;
DG1: DRIFT, L=0.3, ELEMEDGE=1.300, NSLICES=10;
QP2: QUADRUPOLE, L=0.3, K1=-11.57456,ELEMEDGE=1.600, NSLICES=15;
DG2: DRIFT, L=0.3, ELEMEDGE=1.900, NSLICES=10;
QP3: QUADRUPOLE, L=0.3, K1= 8.64195, ELEMEDGE=2.200, NSLICES=15;
D3: DRIFT, L=.9, ELEMEDGE=2.500, NSLICES=5;
D4: DRIFT, L=.3, ELEMEDGE=3.400, NSLICES=20;
QUADTEST: LINE=( D1, QP1 , DG1, QP2, DG2, QP3, D3, D4);
DIST1: DISTRIBUTION, TYPE=GAUSS,
SIGMAX = 0, SIGMAPX = 1.0e06, CORRX = 0.0,
SIGMAY = 0, SIGMAPY = 1.0e06, CORRY = 0.0,
OFFSETZ = 0.005, SIGMAT = 0.0005,
SIGMAPT= 0.0, CORRT= 0.0, R61= 0.0,
INPUTMOUNITS=EV, WRITETOFILE= TRUE;
DIST: DISTRIBUTION, TYPE = FROMFILE, FNAME="data/FODO_DIST.dat"; //FNAME="PartDatabase.dat";
FS1:FIELDSOLVER, FSTYPE=NONE, MX=64, MY=64, MT=64,
PARFFTX=true, PARFFTY=true, PARFFTT=true,
BCFFTX=open, BCFFTY=open, BCFFTT=open,
BBOXINCR=1, GREENSF=STANDARD;
BEAM1: BEAM, PARTICLE=PROTON, PC=P0, NPART=200, BCURRENT=2.0e-03, BFREQ=rf, CHARGE=1;
SELECT, LINE=QUADTEST;
TRACK, LINE= QUADTEST, BEAM=BEAM1, MAXSTEPS=10000, DT=1.0e-10, ZSTOP=4.0, MAP_ORDER=2;
RUN, METHOD = "THICK", BEAM=BEAM1, FIELDSOLVER=FS1, DISTRIBUTION=DIST;
ENDTRACK;
STOP;
#!/bin/bash
timeout 300 mpirun -np 1 $OPAL_EXE_PATH/opal MAP-FODO.in --warn 0 2>&1
"MAP test with FODO lattice"
stat "mean_x" last 1E-9
stat "mean_y" last 1E-9
stat "mean_s" last 1E-9
#!/bin/bash
#$ -cwd
#$ -j y
#$ -pe orte 4
#$ -N MAP-FODO-RT
#$ -v LD_LIBRARY_PATH,OPAL_EXE_PATH,OPENMPI,REG_TEST_DIR
MACHINE_FILE=$TMPDIR/machinefile
awk '/^merlin/ {print $1" slots="$2}' $PE_HOSTFILE > $MACHINE_FILE
cp $MACHINE_FILE machinefile.last
cd $REG_TEST_DIR
OPAL="$OPAL_EXE_PATH/opal MAP-FODO.in --commlib mpi --info 3 --warn 0 2>&1"
CMD="$OPENMPI/bin/mpirun -x LD_LIBRARY_PATH -machinefile $MACHINE_FILE -np $NSLOTS $OPAL "
$CMD
This diff is collapsed.