Skip to content

pmoran3/clas12simulations

 
 

Repository files navigation

scard.txt

The first row 'project' was changed to 'group' because there is one more project at scard. If scard is in different format, parser.py will print ERROR and halt.

parser.py

parser.py is a module (like a header file in C) that parse scard. Every information from parser should be stored in a class scard_parser

submit.py

submit.py is a main python script that calls parser.py. It overwrites clas12.condor and runscript.sh. The .condor and .sh scripts should contain the info from scard.txt

clas12.condor

condor_submit clas12.condor will submit a job.

run_job.sh

an executable called by clas12.condor. It will call condor_wrapper.

condor_wrapper

a script called by run_job.sh. It will call runscript.sh

runscript.sh

This is a main script which calls generator, GEMC, decoder, and reconstruction. submit.py will update runscript.sh regarding scard.txt

Generator Option

To see genOptions, please look at followings:
SIDIS: https://github.com/JeffersonLab/clasdis-nocernlib/blob/master/README.md
DVCS: https://github.com/JeffersonLab/dvcsgen/blob/master/README.md
DIS-RAD: https://github.com/JeffersonLab/inclusive-dis-rad/blob/master/README.md

condorHelp

Quickstart: https://support.opensciencegrid.org/support/solutions/articles/5000633410-osg-connect-quickstart

To submit a job:

condor_submit condorTemplate.submit

Troubleshooting:

condor_q -better-analyze JOBID

History:

condor_history mauri

for details:

condor_history -long mauri

condor_q - Lists the jobs in the queue. Can be invoked with your username:

condor_q mauri

https://support.opensciencegrid.org/support/solutions/articles/5000623439-osg-xsede-user-guide

Guidelines for data management: https://support.opensciencegrid.org/support/solutions/articles/12000006512-guidelines-for-data-managment-in-osg-storage-and-transfer
OSG Helpdesk: https://support.opensciencegrid.org/support/home

HTCondor: https://research.cs.wisc.edu/htcondor/index.html

Condor Documentation: https://research.cs.wisc.edu/htcondor/manual/

To run the singularity container:

singularity shell --home ${PWD}:/srv --pwd /srv --bind /cvmfs --contain --ipc --pid /cvmfs/singularity.opensciencegrid.org/maureeungaro/clas12simulations:production

Managing Jobs:

On hold:

condor_q -hold

Removing a job (by ID)

condor_rm ID

clas12 Simulations Software Distribution

This repo contains the dockerfile used to build the production version of the CLAS12 simulation + reconstruction packages. It contains:

This repo is linked to the hub.docker.com repo: maureeungaro/clas12simulations Any changes to Dockerfile will trigger a new docker image creation.

Open Source Grid

Any changes to the docker image in the hub.docker.com repository will trigger the creation of the singularity image within about one hour.

The image is loaded in:

/cvmfs/singularity.opensciencegrid.org/maureeungaro/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.0%
  • Shell 13.0%