Skip to content

Commit

Permalink
allowing run_card to not include the vector_size (then use the value …
Browse files Browse the repository at this point in the history
…defined at output time)
  • Loading branch information
oliviermattelaer committed Sep 12, 2023
1 parent 5b594c7 commit 22fd349
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MG5aMC/mg5amcnlo
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ def default_setup(self):
super().default_setup()
self.add_param('cudacpp_backend', 'CPP', include=False, hidden=False)



def write_one_include_file(self, output_dir, incname, output_file=None):
"""write one include file at the time"""

if incname == "vector.inc" and 'vector_size' not in self.user_set:
return
super().write_one_include_file(output_dir, incname, output_file)

MEINTERFACE = CPPMEInterface
RunCard = CPPRunCard

0 comments on commit 22fd349

Please sign in to comment.