Skip to content

submit simulation examples

github-actions[bot] edited this page Sep 24, 2026 · 19 revisions

This page is generated from docs/submit-simulation/examples.md. Edit the repository source; automated publishing replaces direct wiki edits.

Submission examples

Run these commands on ifarm from a csh/tcsh login shell. Preview is the default and is the recommended first step for every sample.

Preview one completed sample

source run.csh \
  --workflow submit \
  --lund-dir /shared/runs/Uniform_sample_1e_5986MeV/lundfiles

Submit only the first five LUND files

source run.csh \
  --workflow submit \
  --lund-dir /shared/runs/Uniform_sample_1e_5986MeV/lundfiles \
  --num-jobs 5 \
  --execute

--execute replaces that run's mchipo/ and reconhipo/ directories while preserving lundfiles/.

Override the shared per-task event limit

source run.csh \
  --workflow submit \
  --lund-dir /shared/runs/Uniform_sample_enFD_4029MeV/lundfiles \
  --num-jobs 3 \
  --events-per-job 5000

Without the override, the largest selected manifest file count becomes the shared GEMC/reconstruction limit.

Preview several samples in one invocation

source run.csh \
  --workflow submit \
  --lund-dir /shared/runs/Uniform_sample_1e_2070MeV/lundfiles \
  --lund-dir /shared/runs/Uniform_sample_epFD_2070MeV/lundfiles \
  --lund-dir /shared/runs/Uniform_sample_enFD_2070MeV/lundfiles \
  --num-jobs 2

Each distinct sample becomes a separate Slurm array.

Use a submission profile with explicit overrides

source run.csh \
  --workflow submit \
  --config config/submission.conf \
  --lund-dir /shared/runs/physical/lundfiles \
  --gemc-version 5.14 \
  --torus -1.0 \
  --job-name C12_GENIE_validation

Select detector and reconstruction resources explicitly

source run.csh \
  --workflow submit \
  --lund-dir /shared/runs/physical/lundfiles \
  --gemc-target-variation rgm_fall2021_Ar \
  --gcard config/detector/Generation_files_6GeV/5.14/rgm_fall2021_Ar_6GeV.gcard \
  --yaml config/detector/Generation_files_6GeV/5.14/rgm_fall2021-ai_6Gev.yaml

Use paths that exist in the refreshed ifarm checkout. The GCARD controls detector simulation; the YAML controls reconstruction.

Test a custom clas12Tags checkout

source run.csh \
  --workflow submit \
  --lund-dir /shared/runs/physical/lundfiles \
  --clas12tags-dir /shared/development/clas12Tags

This changes GEMC_DATA_DIR for detector-development testing while retaining the selected GEMC executable checks.

Optional direct farm-log cleanup

source run.csh \
  --workflow submit \
  --lund-dir /shared/runs/physical/lundfiles \
  --clear-farm-out true \
  --farm-out /shared/farm_out \
  --execute

Use cleanup only with an exact reviewed directory. It deletes files directly inside that directory once per invocation; it does not broaden simulation-output replacement.

The repository also contains a matched uniform submission command list for 1e, enFD, and epFD at the three established beam energies.

Clone this wiki locally