Skip to content
Snippets Groups Projects
Commit 89c19a54 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Write pythia exe to temp directory

parent b58c7018
Branches
No related tags found
1 merge request!32Write pythia exe to temp directory
...@@ -61,7 +61,7 @@ echo "Generator output for $GEN_TAG not found in cache, need to run generator" ...@@ -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 ## TODO: need to configurability to the generator exe
echo "Compiling benchmarks/dis/generator/pythia_dis.cxx ..." 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 \ -I/usr/local/include -Iinclude \
-O2 -std=c++11 -pedantic -W -Wall -Wshadow -fPIC \ -O2 -std=c++11 -pedantic -W -Wall -Wshadow -fPIC \
-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpythia8 -ldl \ -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpythia8 -ldl \
...@@ -75,7 +75,7 @@ echo "done" ...@@ -75,7 +75,7 @@ echo "done"
## ============================================================================= ## =============================================================================
## Step 4: Run the event generator ## Step 4: Run the event generator
echo "Running the 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 if [[ "$?" -ne "0" ]] ; then
echo "ERROR running pythia" echo "ERROR running pythia"
exit 1 exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment