Skip to content

Commit

Permalink
The npsim command needs to be an argument to prmon
Browse files Browse the repository at this point in the history
  • Loading branch information
rahmans1 authored Dec 19, 2024
1 parent a9fad44 commit b32e841
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,6 @@ mkdir -p ${RECO_TEMP} ${BASEDIR}/${RECO_DIR}
{
date
eic-info
prmon \
--filename ${LOG_TEMP}/${TASKNAME}.npsim.prmon.txt \
--json-summary ${LOG_TEMP}/${TASKNAME}.npsim.prmon.json \
-- \
# Common flags shared by both types of simulation
common_flags=(
--random.seed ${SEED:-1}
Expand Down Expand Up @@ -170,6 +166,10 @@ mkdir -p ${RECO_TEMP} ${BASEDIR}/${RECO_DIR}
)
fi
# Run npsim with both common and uncommon flags
prmon \
--filename ${LOG_TEMP}/${TASKNAME}.npsim.prmon.txt \
--json-summary ${LOG_TEMP}/${TASKNAME}.npsim.prmon.json \
-- \
npsim "${common_flags[@]}" "${uncommon_flags[@]}"
ls -al ${FULL_TEMP}/${TASKNAME}.edm4hep.root
} 2>&1 | tee ${LOG_TEMP}/${TASKNAME}.npsim.log | tail -n1000
Expand Down

0 comments on commit b32e841

Please sign in to comment.