aMC@NLO tutorial crash

Asked by Amanda

Hi,

I have recently downloaded Madgraph5__v2.0.0.beta3.tar.gz and am trying to run through the aMC@NLO tutorial. I have access to cern software and setup my environment in this way:
export PATH=/afs/cern.ch/atlas/software/releases/17.2.4/sw/lcg/external/Python/2.6.5/i686-slc5-gcc43-opt/bin:/afs/cern.ch/sw/lcg/external/gcc/4.7.0/x86_64-slc5-gcc47-opt/bin:$PATH
export LD_LIBRARY_PATH=/afs/cern.ch/atlas/software/releases/17.2.4/sw/lcg/external/Python/2.6.5/i686-slc5-gcc43-opt/lib:/afs/cern.ch/sw/lcg/external/gcc/4.7.0/x86_64-slc5-gcc47-opt/lib64:$LD_LIBRARY_PATH

When running through the tutorial, it generates a process just fine, but when I try to generate events with 'launch -p' (just parton level to make it simple right now), I get the following compile errors:

INFO: Using built-in libraries for PDFs
INFO: Compiling source...
INFO: ...done, continuing with P* directories
INFO: Compiling directories...
INFO: Compiling on 16 cores
INFO: Compiling P0_dxu_epve...
INFO: Compiling P0_udx_epve...
Command "launch auto --parton" interrupted with error:
MadGraph5Error : A compilation Error occurs when trying to compile /data6/akkruse/aMC@NLO/MadGraph5_v2_0_0_beta3/MY_FIRST_AMCATNLO_RUN/SubProcesses/P0_dxu_epve.
        The compilation fails with the following output message:
            gfortran -O -fno-automatic -ffixed-line-length-132 -o check_poles parton_lum_1.o parton_lum_2.o parton_lum_3.o parton_lum_chooser.o matrix_1.o matrix_2.o matrix_3.o real_me_chooser.o fks_inc_chooser.o leshouche_inc_chooser.o genps_fks.o setcuts.o setscales.o born.o sborn_sf.o b_sf_001.o fks_Sij.o trapfpe.o fastjetfortran_madfks.o ktclusdble.o fks_singular.o montecarlocounter.o reweight_xsec.o boostwdir2.o cuts.o check_poles.o BinothLHA.o libMadLoop.a -lcts -L../../lib/ -ldhelas -lgeneric -lmodel -lpdf -Wl,-rpath,/data6/akkruse/lib -lm -L/data6/akkruse/lib -lfastjettools -lfastjet -lfastjetplugins -lsiscone_spherical -lsiscone -lstdc++
            libMadLoop.a(CT_interface.o): In function `initct_':
            CT_interface.f:(.text+0x3f): undefined reference to `ctsinit_'
            libMadLoop.a(CT_interface.o): In function `ctloop_':
            CT_interface.f:(.text+0x4ba): undefined reference to `ctsxcut_'
            collect2: error: ld returned 1 exit status
            make: *** [check_poles] Error 1

Any help would be much appreciated.

Question information

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

Hi,

Could you try to follow the instruction for SLC given at that page.
http://amcatnlo.web.cern.ch/amcatnlo/list_detailed2.htm#dependencies
Your PATH didn't seems to be coherent with those instructions.
(in particular : /afs/cern.ch/sw/lcg/external/gcc/4.7.0/x86_64-slc5-gcc47-opt/bin should be at first place in your path)

Cheers,

Olivier

On May 9, 2013, at 6:41 AM, Amanda <email address hidden> wrote:

> New question #228509 on MadGraph5:
> https://answers.launchpad.net/madgraph5/+question/228509
>
> Hi,
>
> I have recently downloaded Madgraph5__v2.0.0.beta3.tar.gz and am trying to run through the aMC@NLO tutorial. I have access to cern software and setup my environment in this way:
> export PATH=/afs/cern.ch/atlas/software/releases/17.2.4/sw/lcg/external/Python/2.6.5/i686-slc5-gcc43-opt/bin:/afs/cern.ch/sw/lcg/external/gcc/4.7.0/x86_64-slc5-gcc47-opt/bin:$PATH
> export LD_LIBRARY_PATH=/afs/cern.ch/atlas/software/releases/17.2.4/sw/lcg/external/Python/2.6.5/i686-slc5-gcc43-opt/lib:/afs/cern.ch/sw/lcg/external/gcc/4.7.0/x86_64-slc5-gcc47-opt/lib64:$LD_LIBRARY_PATH
>
>
> When running through the tutorial, it generates a process just fine, but when I try to generate events with 'launch -p' (just parton level to make it simple right now), I get the following compile errors:
>
> INFO: Using built-in libraries for PDFs
> INFO: Compiling source...
> INFO: ...done, continuing with P* directories
> INFO: Compiling directories...
> INFO: Compiling on 16 cores
> INFO: Compiling P0_dxu_epve...
> INFO: Compiling P0_udx_epve...
> Command "launch auto --parton" interrupted with error:
> MadGraph5Error : A compilation Error occurs when trying to compile /data6/akkruse/aMC@NLO/MadGraph5_v2_0_0_beta3/MY_FIRST_AMCATNLO_RUN/SubProcesses/P0_dxu_epve.
> The compilation fails with the following output message:
> gfortran -O -fno-automatic -ffixed-line-length-132 -o check_poles parton_lum_1.o parton_lum_2.o parton_lum_3.o parton_lum_chooser.o matrix_1.o matrix_2.o matrix_3.o real_me_chooser.o fks_inc_chooser.o leshouche_inc_chooser.o genps_fks.o setcuts.o setscales.o born.o sborn_sf.o b_sf_001.o fks_Sij.o trapfpe.o fastjetfortran_madfks.o ktclusdble.o fks_singular.o montecarlocounter.o reweight_xsec.o boostwdir2.o cuts.o check_poles.o BinothLHA.o libMadLoop.a -lcts -L../../lib/ -ldhelas -lgeneric -lmodel -lpdf -Wl,-rpath,/data6/akkruse/lib -lm -L/data6/akkruse/lib -lfastjettools -lfastjet -lfastjetplugins -lsiscone_spherical -lsiscone -lstdc++
> libMadLoop.a(CT_interface.o): In function `initct_':
> CT_interface.f:(.text+0x3f): undefined reference to `ctsinit_'
> libMadLoop.a(CT_interface.o): In function `ctloop_':
> CT_interface.f:(.text+0x4ba): undefined reference to `ctsxcut_'
> collect2: error: ld returned 1 exit status
> make: *** [check_poles] Error 1
>
>
> Any help would be much appreciated.
>
>
> --
> You received this question notification because you are a member of
> MadTeam, which is an answer contact for MadGraph5.

Revision history for this message
Amanda (amanda-kruse) said :
#2

Hi,

Thanks for the reply.

Turns out I had switched which GCC version I was using to the one I posted. But forgot that it compiles CutTools only the first time you run. A fresh install works fine now.

Thanks again,
Amanda