Difference between revisions of "HOWTO use MCWrapper on AlmaLinux9 nodes"
From GlueXWiki
(→RUN MCWrapper interactivley) |
(→RUN MCWrapper interactivley) |
||
Line 7: | Line 7: | ||
WORK IN PROGRESS | WORK IN PROGRESS | ||
− | = RUN MCWrapper | + | = RUN MCWrapper interactiveley = |
1. To go in the OS7 container and favorite $SHELL | 1. To go in the OS7 container and favorite $SHELL |
Revision as of 15:26, 8 August 2024
Introduction
How to use MCWrapper on an interactive AlmaLinux9 node. Both submitting and running the jobs currently has to be done in a CentOS7 container.
WORK IN PROGRESS
RUN MCWrapper interactiveley
1. To go in the OS7 container and favorite $SHELL
singularity exec --bind /cvmfs/oasis.opensciencegrid.org/gluex/group/halld:/group/halld,/scratch,/u/home,/usr/local,/work/halld /cvmfs/singularity.opensciencegrid.org/jeffersonlab/gluex_prod:v1 bash
or
singularity exec --bind /cvmfs/oasis.opensciencegrid.org/gluex/group/halld:/group/halld,/scratch,/u/home,/usr/local,/work/halld /cvmfs/singularity.opensciencegrid.org/jeffersonlab/gluex_prod:v1 tcsh
2.
source /group/halld/Software/build_scripts/gluex_env_boot_jlab.sh
3.
gxenv /group/halld/www/halldweb/html/halld_versions/version_5.17.0.xml
Run MCWrapper to register jobs
1. To go in the OS7 container and favorite $SHELL
singularity exec --bind /cvmfs/oasis.opensciencegrid.org/gluex/group/halld:/group/halld,/scratch,/u/home,/usr/local,/work/halld /cvmfs/singularity.opensciencegrid.org/jeffersonlab/gluex_prod:v1 bash
or
singularity exec --bind /cvmfs/oasis.opensciencegrid.org/gluex/group/halld:/group/halld,/scratch,/u/home,/usr/local,/work/halld /cvmfs/singularity.opensciencegrid.org/jeffersonlab/gluex_prod:v1 tcsh
2.
source /group/halld/Software/build_scripts/gluex_env_boot_jlab.sh
3.
gxenv /group/halld/www/halldweb/html/halld_versions/version_5.17.0.xml
4. Set MCWRAPPER_CENTRAL to new version (should be accessible soon - date of today is August 7th, 2024)
setenv MCWRAPPER_CENTRAL path to new version
or
export MCWRAPPER_CENTRAL=path to new version
if it is not working copy this python steering file here: /work/halld/home/ijaegle/public/FromBoToMe/my_gluex_MC.py
5. In your MC.cfg, use
BATCH_SYSTEM=swif2cont
and
OS=el9