Skip to content

Commit

Permalink
[tmad] in gg_ttgg.mad, add '-g' and keep '-O3' in make_opts to debug …
Browse files Browse the repository at this point in the history
…SIGFPE madgraph5#855, and add volatile in aloha_functions.f to try to fix it

The SIGFPE crash madgraph5#855 does seem to disappear in
  ./tmad/madX.sh -ggttgg -iconfig 104 -makeclean
However, there is now a DIFFERENT issue, an lhe file mismatch between fortran and cpp (madgraph5#856)
This is probably due to the iconfig/channel mapping issue reported by Olivier in madgraph5#852
  • Loading branch information
valassi committed Jun 2, 2024
1 parent 93a03f0 commit 5b42374
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion epochX/cudacpp/gg_ttgg.mad/Source/DHELAS/aloha_functions.f
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ subroutine rotxxx(p,q , prot)
c
implicit none
double precision p(0:3),q(0:3),prot(0:3),qt2,qt,psgn,qq,p1

volatile qt, p1, qq
double precision rZero, rOne
parameter( rZero = 0.0d0, rOne = 1.0d0 )

Expand Down
3 changes: 2 additions & 1 deletion epochX/cudacpp/gg_ttgg.mad/Source/make_opts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
DEFAULT_CPP_COMPILER=g++
DEFAULT_F2PY_COMPILER=f2py3
DEFAULT_F_COMPILER=gfortran
GLOBAL_FLAG=-O3 -ffast-math -fbounds-check
###GLOBAL_FLAG=-O3 -ffast-math -fbounds-check
GLOBAL_FLAG=-O3 -g -ffast-math -fbounds-check
MACFLAG=
MG5AMC_VERSION=SpecifiedByMG5aMCAtRunTime
PYTHIA8_PATH=NotInstalled
Expand Down

0 comments on commit 5b42374

Please sign in to comment.