Skip to content

Commit

Permalink
fixed a critical issue with running with swif for some people
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Britton committed Mar 28, 2017
1 parent 9684487 commit 9e3ca69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions MCwrapper/MakeMC.csh
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ if ("$GENR" != "0") then
else if ("$GEANTVER" == "4") then
#make run.mac then call it below
rm -f run.mac
echo /run/beamOn $EVT_TO_GEN >> run.mac
echo "exit" >> run.mac
echo "/run/beamOn $EVT_TO_GEN" > run.mac
echo "exit" >>! run.mac
hdgeant4 -t$NUMTHREADS run.mac
rm run.mac
else
Expand Down
4 changes: 2 additions & 2 deletions MCwrapper/MakeMC.sh
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ if [[ "$GENR" != "0" ]]; then
elif [[ "$GEANTVER" -eq "4" ]]; then
#make run.mac then call it below
rm -f run.mac
echo /run/beamOn $EVT_TO_GEN >> run.mac
echo "exit" >> run.mac
echo "/run/beamOn $EVT_TO_GEN" >run.mac
echo "exit" >>! run.mac
hdgeant4 -t$NUMTHREADS run.mac
rm run.mac
else
Expand Down

0 comments on commit 9e3ca69

Please sign in to comment.