Skip to content

Commit

Permalink
[runcard] revert the previous change - will instead remove bridgemode…
Browse files Browse the repository at this point in the history
… and vecsizeused from the runcard and madevent input file

Revert "[runcard] in ggtt.mad refine.sh and gen_ximprove.py, TEMPORARILY replace bridge_mode by 0 hardcoded to show that this fixes lauX.sh for fortran madgraph5#690 - will revert because this is a ugly hack"
This reverts commit 5a3cc1a.
  • Loading branch information
valassi committed Jun 11, 2023
1 parent 5a3cc1a commit c65f1de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion epochX/cudacpp/gg_tt.mad/SubProcesses/refine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ j=%(directory)s
cp ftn26 ftn25
fi
# create the input file
echo " 0" >& input_sg.txt # fbridge_mode
echo " 1" >& input_sg.txt # fbridge_mode
echo " 32" >> input_sg.txt # vecsize_used
echo " %(nevents)s %(maxiter)s %(miniter)s" >> input_sg.txt
echo " %(precision)s" >> input_sg.txt
Expand Down
3 changes: 1 addition & 2 deletions epochX/cudacpp/gg_tt.mad/bin/internal/gen_ximprove.py
Original file line number Diff line number Diff line change
Expand Up @@ -926,8 +926,7 @@ def resubmit_survey(self, Pdir, G, Gdirs, step):
def write_parameter_file(self, path, options):
""" """

#template =""" %(bridge_mode)s ! bridge mode for compute accelerator mode
template =""" 0 ! bridge mode for compute accelerator mode
template =""" %(bridge_mode)s ! bridge mode for compute accelerator mode
%(vector_size)s ! vector width for parallel execution
%(event)s %(maxiter)s %(miniter)s !Number of events and max and min iterations
%(accuracy)s !Accuracy
Expand Down

0 comments on commit c65f1de

Please # to comment.