lcls-ii online s2e simulation repository tim maxwell, gabe marcus, yuantao ding, andrea chan
TRANSCRIPT
![Page 1: LCLS-II Online S2E Simulation Repository Tim Maxwell, Gabe Marcus, Yuantao Ding, Andrea Chan](https://reader036.vdocuments.site/reader036/viewer/2022083009/5697bf9b1a28abf838c92d2a/html5/thumbnails/1.jpg)
LCLS-II Online S2E Simulation Repository
Tim Maxwell, Gabe Marcus, Yuantao Ding, Andrea Chan
![Page 2: LCLS-II Online S2E Simulation Repository Tim Maxwell, Gabe Marcus, Yuantao Ding, Andrea Chan](https://reader036.vdocuments.site/reader036/viewer/2022083009/5697bf9b1a28abf838c92d2a/html5/thumbnails/2.jpg)
2
Online S2E Simulation Repository
This is:
• To share current design files w/ LCLS-II collaboration
• For final, previously presented simulations
• With minor support for in-progress design files
• To provide organization for key simulations
This is not:
• For MAD decks (already exists, separate)
• For actively exchanging preliminary designs
• For archive purposes
![Page 3: LCLS-II Online S2E Simulation Repository Tim Maxwell, Gabe Marcus, Yuantao Ding, Andrea Chan](https://reader036.vdocuments.site/reader036/viewer/2022083009/5697bf9b1a28abf838c92d2a/html5/thumbnails/3.jpg)
3
Organization: Machine-path approach
• Connect simulation combinations as a logical tree, basic path structure:
• “Follow the electron,” choose config at each level to proceed through available branches
\SC/NC \Injector \Linac \Undulator
LCLS-II
Supercon-ducting
100 pC, uniform
1 kA,
2 Bunch Comp’s
HXR SASE
HXR SS
SXR SASE
SXR SS1.5 kA,
2 Bunch Comp’s
…1 kA,
3 Bunch Comp’s
…
… …
20 pC, uniform … …
… … …LCLS-II
Normal Conducting
… … …
Example:
• Possibly overwhelming, but…
• Path describes whole machine
• No input/output ambiguity
• Less redundancy of input files
• If one sim. is changed, clear which
inherit changes
![Page 4: LCLS-II Online S2E Simulation Repository Tim Maxwell, Gabe Marcus, Yuantao Ding, Andrea Chan](https://reader036.vdocuments.site/reader036/viewer/2022083009/5697bf9b1a28abf838c92d2a/html5/thumbnails/4.jpg)
4
Repository Permissions
UNIX Web Share
• Read Permit: World wide, public read access (all are welcome)
• Write Permit: SLAC UNIX acc’t + permit req’d for editors
• Management: Use favorite SSH/SCP tools for transfer
![Page 5: LCLS-II Online S2E Simulation Repository Tim Maxwell, Gabe Marcus, Yuantao Ding, Andrea Chan](https://reader036.vdocuments.site/reader036/viewer/2022083009/5697bf9b1a28abf838c92d2a/html5/thumbnails/5.jpg)
5
UNIX Web Share
Public browser accesshttp://www.slac.stanford.edu/grp/lcls/lcls-2/ap/sims
UNIX access (acc’t required), SSH/SCP to root path [USER]@flora.slac.stanford.edu:/afs/slac.stanford.edu/www/grp/lcls
/lcls-2/ap/sims
Paths structured as
/ SC/NC /Injector /Linac /Undulator
![Page 6: LCLS-II Online S2E Simulation Repository Tim Maxwell, Gabe Marcus, Yuantao Ding, Andrea Chan](https://reader036.vdocuments.site/reader036/viewer/2022083009/5697bf9b1a28abf838c92d2a/html5/thumbnails/6.jpg)
6
UNIX Web Share
The following will be initially created:../sims/SC/Astra_186MHz_300pC_unif/Eleg_2BC_1000A
../sims/SC/Astra_186MHz_300pC_unif/Eleg_3BC_1000A
../sims/SC/Astra_186MHz_100pC_unif/Eleg_2BC_1000A
../sims/SC/Astra_186MHz_100pC_unif/Eleg_3BC_1000A
../sims/SC/Astra_186MHz_20pC_unif/Eleg_2BC_750A
../sims/SC/Astra_186MHz_20pC_unif/Eleg_3BC_750A
../sims/NC/Astra_150pC_unif/Eleg_3000A_13p6GeV
../sims/NC/Astra_150pC_unif/Eleg_1200A_4p3GeV
../sims/NC/Astra_20pC_unif/Eleg_3000A_13p6GeV
Each of these will have final undulator subfolders:../Gene_HXR_SASE../Gene_HXR_SS../Gene_SXR_SASE../Gene_SXR_SS
![Page 7: LCLS-II Online S2E Simulation Repository Tim Maxwell, Gabe Marcus, Yuantao Ding, Andrea Chan](https://reader036.vdocuments.site/reader036/viewer/2022083009/5697bf9b1a28abf838c92d2a/html5/thumbnails/7.jpg)
7
UNIX Web Share
Within /sims there is also /support for global support files
../sims/support/Astra
../sims/support/Elegant
../sims/support/Genesis
Notes and links to the software used throughout are posted here and
any custom files (e.g., wake files)
![Page 8: LCLS-II Online S2E Simulation Repository Tim Maxwell, Gabe Marcus, Yuantao Ding, Andrea Chan](https://reader036.vdocuments.site/reader036/viewer/2022083009/5697bf9b1a28abf838c92d2a/html5/thumbnails/8.jpg)
8
UNIX Web Share
Limited ../sims/scratch/ space available
• For sharing near-complete or proposed designs
• Must have SLAC UNIX account, then contact
• Creates path ../sims/scratch/[YOURUSERNAME]
• Write access only to owner
• Note: Scratch is still world-wide, public read access
![Page 9: LCLS-II Online S2E Simulation Repository Tim Maxwell, Gabe Marcus, Yuantao Ding, Andrea Chan](https://reader036.vdocuments.site/reader036/viewer/2022083009/5697bf9b1a28abf838c92d2a/html5/thumbnails/9.jpg)
9
UNIX Web Share
Guidelines:
• Contact/editor will be posted for each simulation
- Upload reviewed results and revisions
- Answer questions about files
• Decks and outputs all in one path
- e.g.: /SC/Astra_186MHz_300pC_unif/Eleg_2BC_1000A/.• Only contains Elegant files
• Subfolders reserved for subsequent Genesis simulations
• Scratch space is not for use as a “Dropbox”
• Out of date designs will be removed (no archiving)