Lcrc Env
Environments to be loaded in the lcrc to use containers
CLAS12
See clas12/README.md.
eic-shell and lager-shell
hostname=`hostname`
if [[ $hostname == *"ilogin"* ]]; then
source /lcrc/project/eic/improv/setup.sh
elif [[ $hostname == *"xoverlogin"* ]]; then
source /lcrc/project/eic/xover/setup.sh
fi
export PATH="/lcrc/project/jlab/clas12/:$PATH"
or, simply
git@eicweb.phy.anl.gov:sangbaek/lcrc_env.git
cd lcrc_env
source setup.sh
using setup.sh
Sync with the local lcrc files
This is subideal, but the eic group and jlab group differ, so let's sync the files after updating the repo with the following macro.
./sync_after_updating_repo.sh
Submit the jobs
Here are the examples to run gemc chain (the same with osg).
I have 2M events in /lcrc/project/nanowire/sangbaek/lager/output/job_001/ehe4_ia1_jpsi_6/lunds
and /lcrc/project/nanowire/sangbaek/lager/output/job_001/ehe4_ia1_jpsi_7/lunds
.
Each file has 1k events.
Please update the file locations accordingly before job submission
Improv
Improv manages jobs with PBS.
- Useful commands:
lcrc-quota
sbank-list-allocations
,qstat -u $USER
,qdel [JOBID]
cd pbs_files
./convert.sh firstindex lastindex
qsub gemc_pipeline_firstindex_lastindex
Crossover
Crossover manages jobs with slurm.
- Useful commands:
squeue -u $USER
,sinfo
,scontrol show jobid [JOBID]
,scancel [JOBID]
scancel -u $USER
cd slurm_files
./convert.sh firstindex lastindex
sbatch gemc_pipeline_firstindex_lastindex