From 89c19a54867c8dc172fa570df3d938231b36ac5f Mon Sep 17 00:00:00 2001 From: Sylvester Joosten <sjoosten@anl.gov> Date: Mon, 22 Feb 2021 23:38:20 +0000 Subject: [PATCH] Write pythia exe to temp directory --- benchmarks/dis/gen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/dis/gen.sh b/benchmarks/dis/gen.sh index 4a42081a..173fd4ed 100755 --- a/benchmarks/dis/gen.sh +++ b/benchmarks/dis/gen.sh @@ -61,7 +61,7 @@ echo "Generator output for $GEN_TAG not found in cache, need to run generator" ## TODO: need to configurability to the generator exe echo "Compiling benchmarks/dis/generator/pythia_dis.cxx ..." -g++ benchmarks/dis/generator/pythia_dis.cxx -o pythia_dis \ +g++ benchmarks/dis/generator/pythia_dis.cxx -o ${TMP_PATH}/pythia_dis \ -I/usr/local/include -Iinclude \ -O2 -std=c++11 -pedantic -W -Wall -Wshadow -fPIC \ -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpythia8 -ldl \ @@ -75,7 +75,7 @@ echo "done" ## ============================================================================= ## Step 4: Run the event generator echo "Running the generator" -./pythia_dis ${TMP_PATH}/${GEN_TAG}.hepmc +${TMP_PATH}/pythia_dis ${TMP_PATH}/${GEN_TAG}.hepmc if [[ "$?" -ne "0" ]] ; then echo "ERROR running pythia" exit 1 -- GitLab