This repository contains code used to drive SPINE in a production setting. All the scripts are currently tailored for the SLURM workload manager used at S3DF and NERSC.
Nothing to install, the package relies on the usage of singularities to package the dependencies.
Clone this repository and you're good to go!
First, source the environment using the configure script in the base directory:
source configure.shMake sure to edit the script with the appropriate paths to lartpc_mlreco3d, OpT0Finder and the singularity container, if needed.
Most basic usage is to use the run.sh script in the base folder as follows
bash run.sh --config CONFIG_FILE --ntasks NTASKS [--flashmatch] file_list.txtwith
CONFIG_FILE: Path to the configuration file of choice under theconfigfodlerNTASKS: The number of processes to assign to the job. If not specified, only runs a single job
Only add the --flashmatch flag if you're running an analysis configuration and you want to use OpT0Finder (external package) to perform flashmatching.
The file_list.txt contains a list of paths to files to be processed. it can be produced very easily as follows:
ls -1 /path/to/dir/file*.ext > file_list.txtOne can also provide the file path directly at the end of the command line.
slurmcontains all slurm scripts related to productionconfigcontains experiment-specific configuration files
Please consult the README of each folder respectively for more information.