Difference between revisions of "Meeting solid software"
(→tryout) |
(→tryout) |
||
Line 226: | Line 226: | ||
** get solid repo | ** get solid repo | ||
*** git clone https://eicweb.phy.anl.gov/EIC/detectors/solid.git | *** git clone https://eicweb.phy.anl.gov/EIC/detectors/solid.git | ||
+ | *** cd solid | ||
*** JUGGLER_DETECTOR=solid | *** JUGGLER_DETECTOR=solid | ||
*** DETECTOR_PATH=$PWD | *** DETECTOR_PATH=$PWD | ||
*** JUGGLER_INSTALL_PREFIX=$ATHENA_PREFIX | *** JUGGLER_INSTALL_PREFIX=$ATHENA_PREFIX | ||
− | *** python benchmarks/ECal/run_benchmarks.py barrel --particle "electron" -n 100 -t "barrel_electron" --pmin 5.0 --pmax 5.0 --angmin 45 --angmax 135 (not working | + | *** python benchmarks/ECal/run_benchmark.py -t imcal_epi --particles "electron" -n 10000 --pmin 5.0 --pmax 5.0 (not working) |
+ | *** python benchmarks/ECal/run_benchmarks.py barrel --particle "electron" -n 100 -t "barrel_electron" --pmin 5.0 --pmax 5.0 --angmin 45 --angmax 135 (not working) |
Revision as of 15:41, 5 August 2022
software ideas
meeting info
Date and Location: Thursday at 2PM in CEBAF center B101 (announcement in solid_software emaillist) Conference ID 136870725 (participant passcode 7012) Joining and Desktop Sharing http://bluejeans.com/136870725/7012 (You don't need to call in by phone if your PC has a mic and a speaker) Phone Call Dial 18882402560 (US or Canada only) and enter the Conference ID and passcode. (REMEMBER to turn off mic and speaker on your PC) meeting system "bluejeans" howto https://hallaweb.jlab.org/wiki/index.php/Bluejeans_howto
How to share files for the meeting: you may just send the file to ole@jlab.org The info below is about how to do it yourself upload your file to the meeting file dir /u/group/halla/www/hallaweb/html/12GeV/SoLID/download/software/talk from any jlab server then you can link it by http://hallaweb.jlab.org/12GeV/SoLID/download/software/talk/ + yourfilename note: your account needs to be in 12gev_solid group to be able to upload.
meeting record
- 2021/04/22
- Simulation software status (Zhiwen)
- ARIEL framework (Ole)
- Developments at ANL (Sylvester?)
- General discussion
- Organization of future meetings
- 2016/06/09
- 2016/05/26
- How to write a service in art. Example: Geometry service in art's "toyExperiment" slides (Ole)
- 2016/05/06
- Software talk from May 2016 collaboration meeting slides (Ole)
- 2016/04/07
- Updates
- 2016/03/25
- 2016/02/25
- 2016/02/18
- https://www.jlab.org/conferences/trends2016/program.html Future Trends in Nuclear Physics Computing
- 2016/02/04
- Software Framework Comparison slides (Ole)
- Fermilab course on using art/LArSoft agenda/talks
- 2015/12/03
- Software Detector Simulation#analysis_result analysis script, Zhiwen
- [1] [2] simulation update, Zhiwen Zhao
- 2015/10/29
- 2015/10/15
- Discussion of initial experience with FairRoot/PandaRoot/EICRoot framework
- Brief discussion of basic L3 trigger requirements
- Discussion of near term simulation goals, primarily SIDIS digitization
- Suggestion to investigate genfit & RAVE tracking/fitting libraries
- 2015/10/01
- 2015/09/17
- Framework design ideas (continued from collaboration meeting discussion) (Ole) pdf
- Further dsicussion of geometry database prototyping
- Preparation for next week's EIC software workshop at JLab
- 2015/09/03
- Computing document on Github: JeffersonLab/SoLID-docs-softspec (private repository, you must log into GitHub first to be able to access this page). Here is today's snapshot. Contributors welcome.
- Preparations for collaboration meeting
- Example code for reading parameters in Hall A analyzer: THaVDCPlane::ReadDatabase.C
- Seamus' draft talk for collaboration meeting pdf
- 2015/08/20
- 2015/07/23
- Progress reports
- 2015/07/09
- Continue discussion of geometry classes (ROOT's TGeometry, EIC geometry package etc.)
- 2015/06/18
- Ideas for geometry classes (ROOT's TGeo, EIC geometry package etc.)
- 2015/06/11
- Key features of Hall D framework (Ole) pdf
- 2015/05/07
- Preparation for May collaboration meeting (Ole) pdf
- 2015/04/23
- Database handling in the Hall D framework (Ole) pdf
- CCDB (Alexandre) pdf ccdb Hall D website
- 2015/04/02
- https://userweb.jlab.org/~riordan//riordan_software_apr2015.pdf
- pptxpdf simulation thoughts, Zhiwen Zhao
- 2015/03/26
- https://hallaweb.jlab.org/wiki/index.php/Solid_Software software wiki page in testing stage
- pptxpdf SoLID simulation with GEMC, Zhiwen Zhao
- pdf Simulation Issues, Seamus
- 2015/03/19
- pdf planning/brainstorming, Ole Hansen
- pptxpdf now and then, Zhiwen Zhao
- pptx Software_Constructs_in_PHENIX, Thomas K Hemmick
- GlueX Computing Document
info
PODIO https://github.com/AIDASoft/podio
sPHENIX software and simulation workfest https://indico.bnl.gov/conferenceOtherViews.py?view=standard&confId=1237
EIC Software Meeting, September 24-25, 2015 https://www.jlab.org/conferences/eicsw/program.html
Future Trends in Nuclear Physics Computing, March 16-18, 2016 https://www.jlab.org/conferences/trends2016/program.html
note about Geometry and GEANT4 from Maurik Holtrop (June 2011) [5]
Virtual Monte Carlo Run geant4 with TGeo
Virual Geometry Model used by VMC to convert TGeo to geant4 geo
VecGeom [6][7] replacing TGeo and Geant4 geo with MUCH better performance, support since geant4.10, planned adoption in Root, keep backward compatible with Tgeo, refer its webpage and [8] [9][10]
LBNE "General Geometry Description" (GGD or GeGeDe) [11]
PyGeom for gemc https://github.com/mholtrop/PyGeom
delphes, fast sim https://cp3.irmp.ucl.ac.be/projects/delphes
osg
- clas12 osg
tryout
- DD4hep
- website https://dd4hep.web.cern.ch and github https://github.com/AIDASoft/DD4hep
- Markus Frank talk 2019/07/10 [12]
- ANL group using DD4hep to make "Nuclear Physics Detector Library" codetutorial
- Whitney's talk on 2020/03/31 Whitney's talk recording on 2020/04/28
- Zhiwen's DD4hep test installation on ifarm in the following steps
- cd /group/solid/gitanl
- install eic_container by "module load singularity/3.5.3","setenv PATH /apps/cmake/bin/:{$PATH}" and follow container instruction
- source /group/solid/gitanl/setup.csh (assume your default shell is tcsh)
- enter container by "container_dev" (somehow graphic is not working in this container, maybe due to X11 forwarding when running on ifarm)
- "source run.sh" inside container (default shell in container is bash and default installation location is /group/solid/gitanl/development), every step below is inside container
- mkdir -p /group/solid/gitanl/EIC/tutorials && cd /group/solid/gitanl/EIC/tutorials
- get and test tutorial "git clone https://eicweb.phy.anl.gov/EIC/tutorials/tutorial_part1.git"
- cd /group/solid/gitanl/EIC
- get and test NPDet "git clone https://eicweb.phy.anl.gov/EIC/NPDet.git"
- cd NPDet && mkdir build && cd build
- cmake ../. -DCMAKE_INSTALL_PREFIX=/group/solid/gitanl/development
- make -j4
- make install
- cd /group/solid/gitanl/EIC/NPDet/src/ConceptDetectors/solid/compact
- scripts/run_example solid_sidis.xml
- Jupyter notebook
- Using the ARIEL container on ifarm The below directions are general walkthrough to setting up art inside the ARIEL container on ifarm in a way to allow you to add your own modules.
- Log into ifarm
- Create a directory structure in a convenient location: mkdir -p my-dir/{build,sources,output}
- Setup the output directory: cd ~/my-dir/build && ln -s ../output output
- Start the singularity container: module load singularity && /group/solid/apps/ARIEL.sif
- Copy the entire workbook to your sources directory: cd ~/my-dir/sources && cp -r $ARIEL/workbook/ .
- Load the workbook (sets environment vars, etc): module load workbook
- Configure for building: cd ../build && cmake ../sources
- Build the workbook modules: make -jN (N = number of cores)
- Test the build by running one of the examples: art -c fcl/FirstModule/first.fcl
- To add your own module to art, we write the cpp code and fHiCL file (if needed). From here there are two steps:
- Place the new code and configuration fHiCL file(s) in their own directory located in ~/sources/art-workbook
- Update the ~/sources/art-workbook/CMakeLists.txt file to find your new module by adding the line: add_subdirectory(MyNewModule), where MyNewModule is the name of your directory (choose a name that pairs well with your module name)
- Re-compile the workbook modules: cd ~/my-dir/build && cmake ../sources && make -jN
- Test your new module by running art with your new fHiCL file: art -c fcl/MyNewModule/myNewModule.fcl
- Using ATHENA software on ifarm
- https://eic.phy.anl.gov/tutorials/eic_tutorial/
- Chao's slide https://solid.jlab.org/DocDB/0004/000438/001/SoLID_software_intro_20220222.pdf (some detailed commands are outdated, refer to the tutorial)
- tutorial recording https://indico.bnl.gov/event/15033/attachments/40120/66910/GMT20220304-150426_Recording_1920x1080.mp4
- start the container
- log into ifarm and create a dir and enter it
- module load singularity/3.9.5
- curl https://eicweb.phy.anl.gov/containers/eic_container/-/raw/master/install.sh | bash (its original command "curl -L get.athena-eic.org | bash" need some workaround on ifarm due to ip restriction and singularity version. see the following)
- ./eic-shell (now you should enter its container) (note the script use latest container on /cvmfs and you can't do upgrade)
- get data model eicd
- git clone https://eicweb.phy.anl.gov/EIC/eicd.git
- cd eicd
- mkdir build && cd build
- cmake .. –DCMAKE_INSTALL_PREFIX=$ATHENA_PREFIX –DBUILD_DATA_MODEL=ON
- make –j4 install
- cd ../../
- get Analysis framework Juggler
- git clone https://eicweb.phy.anl.gov/EIC/juggler.git
- cd juggler
- mkdir build && cd build
- cmake .. –DCMAKE_INSTALL_PREFIX=$ATHENA_PREFIX
- make –j4 install
- cd ../../
- get solid repo
- git clone https://eicweb.phy.anl.gov/EIC/detectors/solid.git
- cd solid
- JUGGLER_DETECTOR=solid
- DETECTOR_PATH=$PWD
- JUGGLER_INSTALL_PREFIX=$ATHENA_PREFIX
- python benchmarks/ECal/run_benchmark.py -t imcal_epi --particles "electron" -n 10000 --pmin 5.0 --pmax 5.0 (not working)
- python benchmarks/ECal/run_benchmarks.py barrel --particle "electron" -n 100 -t "barrel_electron" --pmin 5.0 --pmax 5.0 --angmin 45 --angmax 135 (not working)