Skip to content

Commit

Permalink
[tmad2] in gq_ttq.mad make_opts and cudacpp.mk, temporarely add patch…
Browse files Browse the repository at this point in the history
…es for debug builds (for gdb on SIGFPE crash madgraph5#845)
  • Loading branch information
valassi committed Jun 3, 2024
1 parent 31afb48 commit 19a2e0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion epochX/cudacpp/gq_ttq.mad/Source/make_opts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DEFAULT_CPP_COMPILER=g++
DEFAULT_F2PY_COMPILER=f2py3
DEFAULT_F_COMPILER=gfortran
GLOBAL_FLAG=-O3 -ffast-math -fbounds-check
GLOBAL_FLAG=-g -O3 -ffast-math -fbounds-check
MACFLAG=
MG5AMC_VERSION=SpecifiedByMG5aMCAtRunTime
PYTHIA8_PATH=NotInstalled
Expand Down
4 changes: 4 additions & 0 deletions epochX/cudacpp/gq_ttq.mad/SubProcesses/cudacpp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,10 @@ else
###override OMPFLAGS = # disable OpenMP MT on all other platforms (default before #575)
endif

# Debug SIGFPE crash #845
override OMPFLAGS=
override OPTFLAGS=-g -O3

#-------------------------------------------------------------------------------

#=== Configure defaults and check if user-defined choices exist for RNDGEN (legacy!), HASCURAND, HASHIPRAND
Expand Down

0 comments on commit 19a2e0c

Please sign in to comment.