Commit fbc75a3e authored by Dmitry Romanov's avatar Dmitry Romanov
Browse files

Beagle at CVMFS

parent 35523c59
BeAGLE generator
================
BeAGLE - Benchmark eA Generator for LEptoproduction
The documentation on `eic.github.io <https://eic.github.io/software/beagle.html>`_
Currently hosted at https://gitlab.in2p3.fr/BeAGLE/BeAGLE
Contacts:
Mark Baker mdbaker@bnl.gov
Kong Tu zhoudunming@bnl.gov
CVMFS use
---------
Here my hero lays the quest. No mere mortal is capable of building BeAGLE on his system and not everyone is able to run it on farms. But if you are still dare to try, here are the steps:
.. code ::
# Everything in CSH, you are doomed with your bash, zsh and others
setenv EICDIRECTORY /cvmfs/eic.opensciencegrid.org/x8664_sl7/MCEG/releases/env/EIC2021a/
setenv BEAGLESYS $EICDIRECTORY/PACKAGES/BeAGLE
setenv LHAPDF_DATA_PATH /cvmfs/sft.cern.ch/lcg/external/lhapdfsets/current
setenv LHAPDF_DATA_PATH ${LHAPDF_DATA_PATH}:${EICDIRECTORY}/share/LHAPDF/
setenv LHAPATH /cvmfs/sft.cern.ch/lcg/external/lhapdfsets/5.9.1/share/PDFsets
setenv LHAPDF5 /cvmfs/sft.cern.ch/lcg/external/lhapdfsets/5.9.1/share/PDFsets
setenv LD_LIBRARY_PATH $EICDIRECTORY/gcc-8.3/lib:$LD_LIBRARY_PATH
source /cvmfs/eic.opensciencegrid.org/gcc-8.3/opt/fun4all/core/gcc/8.3.0.1-0a5ad/x86_64-centos7/setup.csh
# (nice idea would be to add this to a single file to source. But for hardcore knights of keyboard and console
# it is adviced not to do so, memorize the commands and type them in manually every time to feel the glory)
# Now when you are equipped, let the quest begin:
mkdir My_Beagle_Quest # We name it awkwardly, so it is inline with everything else
cd My_Beagle_Quest
mkdir outForPythiaMode
cp $BEAGLESYS/nuclear.bin .
cp $BEAGLESYS/Examples/eD_18x135_Q2_1_10_y_0.01_0.95_test40k_Shd1_tau7_kt=ptfrag=0.32_shdfac=1.32.Jpsidiffnodecay.highpf.inp example.inp
cp $BEAGLESYS/Examples/eAt1dfJn .
$BEAGLESYS/BeAGLE < example.inp
#(!) Beware, example.inp has 1mil events to generate. You probably would like to decrease the number for the first run
\ No newline at end of file
......@@ -31,4 +31,11 @@ It checks if there are CVMFS images available (which is true for JLab and BNL fa
curl https://eicweb.phy.anl.gov/containers/eic_container/-/raw/master/install.sh | bash
Docker images
\ No newline at end of file
CVMFS
-----
For farms like at BNL or JLab the image is automatically replicated to CVMS:
.. code::
singularity run /cvmfs/singularity.opensciencegrid.org/eicweb/jug_xl:3.0-stable
\ No newline at end of file
Containers
==========
`Containers repository <https://eicweb.phy.anl.gov/containers>`_
- `Containers repository <https://eicweb.phy.anl.gov/containers>`_
- `Docker Hub <https://hub.docker.com/u/eicweb>`_
- CVMFS:
.. code::
singularity run /cvmfs/singularity.opensciencegrid.org/eicweb/jug_xl:3.0-stable
.. figure:: ../_images/image-hierarhy.svg
......@@ -125,7 +131,7 @@ Running the singularity development locally (without modulefiles)
Docker containers
-----------------
Containers are available at eicweb namespace at `the dockerhub <https://hub.docker.com/search?q=eicweb&type=image>`
Containers are available at eicweb namespace at `the dockerhub <https://hub.docker.com/u/eicweb>`_
#.
......
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