Skip to content

Commit

Permalink
Merge pull request #754 from madgraph5/fix_mirror
Browse files Browse the repository at this point in the history
avoid that mirroring is reset by the plugin
  • Loading branch information
oliviermattelaer authored Aug 30, 2023
2 parents 0aba0c6 + 2556cdd commit 6bf4a65
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1306,9 +1306,10 @@ def generate_process_files(self):
misc.sprint('self.include_multi_channel is already defined: this is madevent+second_exporter mode') # FIXME? use self.in_madevent_mode instead?
else:
misc.sprint('self.include_multi_channel is not yet defined: this is standalone_cudacpp mode') # see issue #473
if self.matrix_elements[0].get('has_mirror_process'):
self.matrix_elements[0].set('has_mirror_process', False)
self.nprocesses/=2
# I move those line to standalone_cudacpp mode (but do we need those at all???)
if self.matrix_elements[0].get('has_mirror_process'):
self.matrix_elements[0].set('has_mirror_process', False)
self.nprocesses/=2
super(PLUGIN_export_cpp.OneProcessExporterGPU, self).generate_process_files()
self.edit_CMakeLists()
self.edit_check_sa()
Expand Down

0 comments on commit 6bf4a65

Please sign in to comment.