0 cross section on all events in El Capitan

Asked by Wen Han Chiu

Hi. I just recently set up MadGraph5 on my Mac running El Capitan. I'm having this issue where all of the processes I've generated (such as p p > t t~) results in having 0 cross section. All of my card settings are at default.

Any help would be greatly appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Wen Han Chiu
Solved:
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

I will need more information in order to help.
If you go to
SubProcesses/PXXXXXXX/G1 directory
what is the content of the makefile?

Otherwise, one potential problem on mac is that you need to accept some Xcode license before being able to compile (or something like that).
Did you do that step?

Cheers,

Olivier

> On Feb 26, 2016, at 15:07, Wen Han Chiu <email address hidden> wrote:
>
> New question #286900 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/286900
>
> Hi. I just recently set up MadGraph5 on my Mac running El Capitan. I'm having this issue where all of the processes I've generated (such as p p > t t~) results in having 0 cross section. All of my card settings are at default.
>
> Any help would be greatly appreciated.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Wen Han Chiu (wenhan333) said :
#2

Hi Oliver,

Thank you for your reply.

The folder G1 directory was not generated but under the director SubProcess/PXXXXXX, the content of the makefile is as follows:

include ../../Source/make_opts
FFLAGS+= -w

# Definitions

LIBDIR = ../../lib/
BINDIR = ../../bin/
PROG = madevent

ifneq ("$(wildcard ../MadLoop_makefile_definitions)","")
    include ../MadLoop_makefile_definitions
else
    LINK_LOOP_LIBS =
    LOOP_LIBS =
    LOOP_INCLUDE =
    LINK_MADLOOP_LIB =
    MADLOOP_LIB =
endif

LINKLIBS = $(LINK_MADLOOP_LIB) $(LINK_LOOP_LIBS) -L../../lib/ -ldhelas -ldsample -lmodel -lgeneric -lpdf -lcernlib $(lhapdf)

LIBS = $(LIBDIR)libdhelas.$(libext) $(LIBDIR)libdsample.$(libext) $(LIBDIR)libgeneric.$(libext) $(LIBDIR)libpdf.$(libext) $(LIBDIR)libmodel.$(libext) $(LIBDIR)libcernlib.$(libext) $(MADLOOP_LIB) $(LOOP_LIBS)

# Source files

PROCESS= driver.o myamp.o genps.o unwgt.o setcuts.o get_color.o \
         cuts.o cluster.o reweight.o initcluster.o addmothers.o setscales.o \
  idenparts.o \
         $(patsubst %.f,%.o,$(wildcard auto_dsig*.f)) \
         $(patsubst %.f,%.o,$(wildcard matrix*.f))

SYMMETRY = symmetry.o idenparts.o

# Binaries

$(PROG): $(PROCESS) auto_dsig.o $(LIBS)
 $(FC) $(FFLAGS) -o $(PROG) $(PROCESS) $(LINKLIBS)

gensym: $(SYMMETRY) configs.inc $(LIBDIR)libmodel.$(libext) $(LIBDIR)libgeneric.$(libext)
 $(FC) $(FFLAGS) -o gensym $(SYMMETRY) -L../../lib/ -lmodel -lgeneric

$(LIBDIR)libmodel.$(libext): ../../Cards/param_card.dat
 cd ../../Source/MODEL; make

$(LIBDIR)libgeneric.$(libext): ../../Cards/run_card.dat
 cd ../../Source; make

$(LIBDIR)libpdf.$(libext):
 cd ../../Source/PDF; make

# Add source so that the compiler finds the DiscreteSampler module.
%.o: %.f
 $(FC) $(FFLAGS) -c $< -I../../Source/

# Dependencies

driver.f: genps.inc
symmetry.o: genps.inc nexternal.inc configs.inc run_config.inc
genps.o: genps.inc nexternal.inc configs.inc
cuts.o: genps.inc nexternal.inc pmass.inc
setcuts.o: genps.inc run_config.inc
invarients.o: genps.inc nexternal.inc
myamp.o: props.inc genps.inc nexternal.inc
reweight.o: sudakov.inc cluster.inc sudakov.inc run.inc message.inc \
     run_config.inc
cluster.o: cluster.inc genps.inc nexternal.inc message.inc
addmothers.o: genps.inc nexternal.inc symswap.inc message.inc
unwgt.o: genps.inc nexternal.inc symswap.inc cluster.inc run.inc message.inc \
  run_config.inc
initcluster.o: message.inc

clean:
 $(RM) *.o gensym madevent

As for the Xcode licence, the issue still persists after accepting it.

Hope this information helps.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

what happens when you try to do in that directory

make gensym
./gensym
make

Cheers,

Olivier

> On Feb 26, 2016, at 21:51, Wen Han Chiu <email address hidden> wrote:
>
> Question #286900 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/286900
>
> Status: Answered => Open
>
> Wen Han Chiu is still having a problem:
> Hi Oliver,
>
> Thank you for your reply.
>
> The folder G1 directory was not generated but under the director
> SubProcess/PXXXXXX, the content of the makefile is as follows:
>
> include ../../Source/make_opts
> FFLAGS+= -w
>
> # Definitions
>
> LIBDIR = ../../lib/
> BINDIR = ../../bin/
> PROG = madevent
>
> ifneq ("$(wildcard ../MadLoop_makefile_definitions)","")
> include ../MadLoop_makefile_definitions
> else
> LINK_LOOP_LIBS =
> LOOP_LIBS =
> LOOP_INCLUDE =
> LINK_MADLOOP_LIB =
> MADLOOP_LIB =
> endif
>
> LINKLIBS = $(LINK_MADLOOP_LIB) $(LINK_LOOP_LIBS) -L../../lib/ -ldhelas
> -ldsample -lmodel -lgeneric -lpdf -lcernlib $(lhapdf)
>
> LIBS = $(LIBDIR)libdhelas.$(libext) $(LIBDIR)libdsample.$(libext)
> $(LIBDIR)libgeneric.$(libext) $(LIBDIR)libpdf.$(libext)
> $(LIBDIR)libmodel.$(libext) $(LIBDIR)libcernlib.$(libext) $(MADLOOP_LIB)
> $(LOOP_LIBS)
>
> # Source files
>
> PROCESS= driver.o myamp.o genps.o unwgt.o setcuts.o get_color.o \
> cuts.o cluster.o reweight.o initcluster.o addmothers.o setscales.o \
> idenparts.o \
> $(patsubst %.f,%.o,$(wildcard auto_dsig*.f)) \
> $(patsubst %.f,%.o,$(wildcard matrix*.f))
>
> SYMMETRY = symmetry.o idenparts.o
>
> # Binaries
>
> $(PROG): $(PROCESS) auto_dsig.o $(LIBS)
> $(FC) $(FFLAGS) -o $(PROG) $(PROCESS) $(LINKLIBS)
>
> gensym: $(SYMMETRY) configs.inc $(LIBDIR)libmodel.$(libext) $(LIBDIR)libgeneric.$(libext)
> $(FC) $(FFLAGS) -o gensym $(SYMMETRY) -L../../lib/ -lmodel -lgeneric
>
> $(LIBDIR)libmodel.$(libext): ../../Cards/param_card.dat
> cd ../../Source/MODEL; make
>
> $(LIBDIR)libgeneric.$(libext): ../../Cards/run_card.dat
> cd ../../Source; make
>
> $(LIBDIR)libpdf.$(libext):
> cd ../../Source/PDF; make
>
> # Add source so that the compiler finds the DiscreteSampler module.
> %.o: %.f
> $(FC) $(FFLAGS) -c $< -I../../Source/
>
> # Dependencies
>
> driver.f: genps.inc
> symmetry.o: genps.inc nexternal.inc configs.inc run_config.inc
> genps.o: genps.inc nexternal.inc configs.inc
> cuts.o: genps.inc nexternal.inc pmass.inc
> setcuts.o: genps.inc run_config.inc
> invarients.o: genps.inc nexternal.inc
> myamp.o: props.inc genps.inc nexternal.inc
> reweight.o: sudakov.inc cluster.inc sudakov.inc run.inc message.inc \
> run_config.inc
> cluster.o: cluster.inc genps.inc nexternal.inc message.inc
> addmothers.o: genps.inc nexternal.inc symswap.inc message.inc
> unwgt.o: genps.inc nexternal.inc symswap.inc cluster.inc run.inc message.inc \
> run_config.inc
> initcluster.o: message.inc
>
> clean:
> $(RM) *.o gensym madevent
>
> As for the Xcode licence, the issue still persists after accepting it.
>
> Hope this information helps.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Wen Han Chiu (wenhan333) said :
#4

The results are as follows:

$ make gensym
make: `gensym' is up to date.
$ ./gensym
Segmentation fault: 11

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#5

Which processes are you trying?

Olivier
> On Feb 26, 2016, at 22:57, Wen Han Chiu <email address hidden> wrote:
>
> Question #286900 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/286900
>
> Status: Answered => Open
>
> Wen Han Chiu is still having a problem:
> The results are as follows:
>
> $ make gensym
> make: `gensym' is up to date.
> $ ./gensym
> Segmentation fault: 11
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Wen Han Chiu (wenhan333) said :
#6

Processes such as p p > t t~ and e+ e- > z h using the default sm model file and the beam type set appropriately

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#7

Just to be sure, you are using 2.3.3 ?
Because in that version the beam type are set automatically

Also I run p p > t t~ on a daily basis on my El Capitan computer without any problem.

Cheers,

Olivier
> On Feb 27, 2016, at 08:28, Wen Han Chiu <email address hidden> wrote:
>
> Question #286900 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/286900
>
> Status: Answered => Open
>
> Wen Han Chiu is still having a problem:
> Processes such as p p > t t~ and e+ e- > z h using the default sm model
> file and the beam type set appropriately
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Wen Han Chiu (wenhan333) said :
#8

I think I fixed the issue. It is likely a result of a botched gfortran installation. Reinstalling appears to fix the problem. Thanks for your help.