From 4bd3a3b337769721d416df13a29c9207c51b3ec9 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Fri, 8 Nov 2024 21:44:53 -0500 Subject: [PATCH] Snakefile: minor optional fixes --- benchmarks/zdc_neutron/Snakefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/benchmarks/zdc_neutron/Snakefile b/benchmarks/zdc_neutron/Snakefile index e121f67c..4b4c0d36 100644 --- a/benchmarks/zdc_neutron/Snakefile +++ b/benchmarks/zdc_neutron/Snakefile @@ -1,6 +1,3 @@ -import os - - # Generate the single neutrons and put them into a HepMC file rule zdc_neutron_hepmc: input: @@ -25,7 +22,8 @@ rule zdc_neutron_sim: num_events=100, shell: """ -npsim \ +set -m # monitor mode to prevent lingering processes +exec npsim \ --runType batch \ -v WARNING \ --compactFile $DETECTOR_PATH/{wildcards.DETECTOR_CONFIG}.xml \