Hello Michael/Bob,
when I use the smoothDist6s with using the -betaSlices option, it crashed at the last step of adding slice-to-slice Twiss variations. For example, if I set -betaSlices 20, it still tries to work on the 21st slice, then comes error, of course.
It was working before, and I don't think I changed anything recently. so please let me know how to work around. Thanks.
see the following (I set betaSlices = 20, but it continues to 21st.):
oak002:/nfs/slac/g/beamphysics/ding/Impact/300K> smoothDist6s -input L0bBEG.out -output tt2.out -factor 3.33 -betaSlices 20
Adding slice-to-slice Twiss parameter variation...
Working on tt2-split-001.sdds -xplane=beta=5.326344163944695e+01,alpha=-1.292177988084201e+01,nemit=7.440505528423103e-07 -yplane=beta=5.265846534591645e+01,alpha=-1.275126695103929e+01,nemit=7.461943767511814e-07
Working on tt2-split-002.sdds -xplane=beta=4.123159817814285e+01,alpha=-1.063422509950043e+01,nemit=5.231074020063392e-07 -yplane=beta=4.129270694398100e+01,alpha=-1.065026143482336e+01,nemit=5.142095239488013e-07
Working on tt2-split-003.sdds -xplane=beta=3.242049852503007e+01,alpha=-8.265784858922673e+00,nemit=4.462519938408977e-07 -yplane=beta=3.254107440207991e+01,alpha=-8.295636263427822e+00,nemit=4.342978741322091e-07
Working on tt2-split-004.sdds -xplane=beta=3.052043489521130e+01,alpha=-7.686564896752330e+00,nemit=3.741090247352748e-07 -yplane=beta=3.049352726466730e+01,alpha=-7.669420669632996e+00,nemit=3.691938291947812e-07
Working on tt2-split-005.sdds -xplane=beta=3.014176602676201e+01,alpha=-7.585239587628709e+00,nemit=3.445916848343256e-07 -yplane=beta=2.976085025214725e+01,alpha=-7.488681407896033e+00,nemit=3.505457258534845e-07
Working on tt2-split-006.sdds -xplane=beta=2.914059727407491e+01,alpha=-7.386857473904239e+00,nemit=3.275818763708440e-07 -yplane=beta=2.952153934621102e+01,alpha=-7.499898403067207e+00,nemit=3.331811416741451e-07
Working on tt2-split-007.sdds -xplane=beta=2.960690299464771e+01,alpha=-7.592196098518595e+00,nemit=3.238186409372035e-07 -yplane=beta=2.960690167710141e+01,alpha=-7.598610553035233e+00,nemit=3.208301601696468e-07
Working on tt2-split-008.sdds -xplane=beta=2.939650408205325e+01,alpha=-7.627285683643094e+00,nemit=3.211619722810329e-07 -yplane=beta=2.948194781197099e+01,alpha=-7.662067904496000e+00,nemit=3.223744293386460e-07
Working on tt2-split-009.sdds -xplane=beta=2.941046290640365e+01,alpha=-7.707500672570561e+00,nemit=3.242634747011626e-07 -yplane=beta=2.929642427475384e+01,alpha=-7.672166615070578e+00,nemit=3.247674881801497e-07
Working on tt2-split-010.sdds -xplane=beta=3.060254445601038e+01,alpha=-8.071077502844132e+00,nemit=3.171044739047981e-07 -yplane=beta=2.996939877898716e+01,alpha=-7.921390930042104e+00,nemit=3.199899782329941e-07
Working on tt2-split-011.sdds -xplane=beta=3.077332711834180e+01,alpha=-8.177855809018016e+00,nemit=3.194090058576782e-07 -yplane=beta=3.087362413798364e+01,alpha=-8.186411043500497e+00,nemit=3.241653708979800e-07
Working on tt2-split-012.sdds -xplane=beta=3.195304464329406e+01,alpha=-8.537564744436752e+00,nemit=3.223813326258425e-07 -yplane=beta=3.219832361466006e+01,alpha=-8.604305210177785e+00,nemit=3.202121501515879e-07
Working on tt2-split-013.sdds -xplane=beta=3.299450007023678e+01,alpha=-8.824297666192537e+00,nemit=3.269236896934628e-07 -yplane=beta=3.282632285928954e+01,alpha=-8.789978365031713e+00,nemit=3.285380370298394e-07
Working on tt2-split-014.sdds -xplane=beta=3.399312570938017e+01,alpha=-9.139979009139910e+00,nemit=3.386864911289772e-07 -yplane=beta=3.380436247632871e+01,alpha=-9.088935424823035e+00,nemit=3.396267587347712e-07
Working on tt2-split-015.sdds -xplane=beta=3.419884502514495e+01,alpha=-9.200432711510604e+00,nemit=3.597522013560889e-07 -yplane=beta=3.425159627947836e+01,alpha=-9.226078002258443e+00,nemit=3.624255805057876e-07
Working on tt2-split-016.sdds -xplane=beta=3.371964749862121e+01,alpha=-9.113506240145313e+00,nemit=3.993960962790992e-07 -yplane=beta=3.420647781497593e+01,alpha=-9.241508661770686e+00,nemit=3.970910093047119e-07
Working on tt2-split-017.sdds -xplane=beta=3.618096951460834e+01,alpha=-9.807283755122059e+00,nemit=4.456632069518827e-07 -yplane=beta=3.616733072404966e+01,alpha=-9.804047859250710e+00,nemit=4.442462955048798e-07
Working on tt2-split-018.sdds -xplane=beta=4.224286264946418e+01,alpha=-1.136232927705189e+01,nemit=4.815884419935351e-07 -yplane=beta=4.205712547642467e+01,alpha=-1.128733720187530e+01,nemit=4.763404534948934e-07
Working on tt2-split-019.sdds -xplane=beta=4.827334176811829e+01,alpha=-1.283138888585332e+01,nemit=4.432674544303131e-07 -yplane=beta=4.801153403499220e+01,alpha=-1.272523499930700e+01,nemit=4.585039265630227e-07
Working on tt2-split-020.sdds -xplane=beta=5.810678072667017e+01,alpha=-1.560420024234342e+01,nemit=2.725269883593428e-07 -yplane=beta=5.790481653637432e+01,alpha=-1.554347599156101e+01,nemit=2.674762367797285e-07
Working on tt2-split-021.sdds -xplane=beta=,alpha=,nemit= -yplane=beta=,alpha=,nemit=
Error23: Error (sddsmatchtwiss): invalid -xPlane syntax/values---watch out for abbreviations of etaValue and etaSlope
oak002:/nfs/slac/g/beamphysics/ding/Impact/300K>
smoothDist6s errors with -betaSlices
Moderators: cyao, michael_borland
Re: smoothDist6s errors with -betaSlices
Hello again,
I just installed the latest version of sdds and Elegant to see if I have the same problem. Updates are successful. But when I tried with the smoothDist6s, there was an error of invalid command of "APSStandardSetup". Can you remind me how to set up this? Is there a package for this setup?
Thanks,
Yuantao
I just installed the latest version of sdds and Elegant to see if I have the same problem. Updates are successful. But when I tried with the smoothDist6s, there was an error of invalid command of "APSStandardSetup". Can you remind me how to set up this? Is there a package for this setup?
Thanks,
Yuantao
Re: smoothDist6s errors with -betaSlices
Looking at the code, it looks like it would find the files from previous runs of smoothDist6s that were done with more betaSlices and then cause this problem. Try deleting the tt2-split*.sdds files before running it and see if it works.
As for the other problem, you need the OAG Tcl/Tk package installed if it isn't already.
As for the other problem, you need the OAG Tcl/Tk package installed if it isn't already.
Re: smoothDist6s errors with -betaSlices
HI Bob,
the APSStandardSetup is solved, thanks.
But I still have the problem of trying to analyze one more slice than what I have requested. I removed all the files from previous runs. And it is interesting that it works up to betaSlices =13. It crashes only if I request betaSlices larger than 13.
thanks,
Yuantao
the APSStandardSetup is solved, thanks.
But I still have the problem of trying to analyze one more slice than what I have requested. I removed all the files from previous runs. And it is interesting that it works up to betaSlices =13. It crashes only if I request betaSlices larger than 13.
thanks,
Yuantao
Re: smoothDist6s errors with -betaSlices
An update:
today I am smoothing another particle file (from Astra), and it went well with -betaSlices setup. Probably there was something wrong with the previous particle file (from ImpactT)? But I used that ImpactT particle file (without smoothing) for Elegant tracking and didn't see anything wrong with that distribution. Anyway, I update the problem and will see if I understand the previous problem.
Thanks,
Yuantao
today I am smoothing another particle file (from Astra), and it went well with -betaSlices setup. Probably there was something wrong with the previous particle file (from ImpactT)? But I used that ImpactT particle file (without smoothing) for Elegant tracking and didn't see anything wrong with that distribution. Anyway, I update the problem and will see if I understand the previous problem.
Thanks,
Yuantao