CutTools compilation failed

Asked by Nikita

Good evening,
I've faced with an annoying issue while using the aMC@NLO with QCD corrections. I cannot launch any process because of CutTools compilation always failing, like:

INFO: Starting run
INFO: Compiling the code
INFO: For gauge cancellation, the width of 't' has been set to zero.
INFO: Using built-in libraries for PDFs
INFO: Compiling source...
INFO: ...done, continuing with P* directories
INFO: Compiling StdHEP (can take a couple of minutes) ...
INFO: ...done.
INFO: Compiling CutTools (can take a couple of minutes) ...
INFO: ...done.
Error detected in "launch auto "
write debug file /afs/cern.ch/user/n/nbelyaev/private/NLO/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/madgraph5
aMCatNLOError : CutTools compilation failed.

Run log contains the following lines:
launch
Traceback (most recent call last):
  File "/afs/cern.ch/user/n/nbelyaev/private/NLO/bin/internal/extended_cmd.py", line 879, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/afs/cern.ch/user/n/nbelyaev/private/NLO/bin/internal/extended_cmd.py", line 872, in onecmd_orig
    return func(arg, **opt)
  File "/afs/cern.ch/user/n/nbelyaev/private/NLO/bin/internal/amcatnlo_run_interface.py", line 1191, in do_launch
    self.compile(mode, options)
  File "/afs/cern.ch/user/n/nbelyaev/private/NLO/bin/internal/amcatnlo_run_interface.py", line 3710, in compile
    raise aMCatNLOError('CutTools compilation failed.')
aMCatNLOError: CutTools compilation failed.
Value of current Options:
              text_editor : None
              web_browser : None
        cluster_temp_path : None
                  timeout : 60
            cluster_queue : madgraph
         madanalysis_path : None
                   lhapdf : /afs/cern.ch/user/n/nbelyaev/private/lhapdf/bin/lhapdf-config
      output_dependencies : internal
                 mg5_path : /afs/cern.ch/user/n/nbelyaev/private/MG5_aMC_v2_2_3
           cluster_memory : None
    cluster_status_update : (600, 30)
             cluster_time : None
               hepmc_path : None
             pythia8_path : None
                hwpp_path : None
   automatic_html_opening : False
       cluster_retry_wait : 300
             stdout_level : None
          pythia-pgs_path : /afs/cern.ch/user/n/nbelyaev/private/MG5_aMC_v2_2_3/pythia-pgs
                  td_path : None
             delphes_path : None
              thepeg_path : None
             cluster_type : condor
         cluster_nb_retry : 1
         fortran_compiler : None
                  nb_core : 8
              auto_update : 7
      exrootanalysis_path : /afs/cern.ch/user/n/nbelyaev/private/MG5_aMC_v2_2_3/ExRootAnalysis
               eps_viewer : None
             syscalc_path : None
                  fastjet : /afs/cern.ch/user/n/nbelyaev/private/fastjet/bin/fastjet-config
             cpp_compiler : None
                 run_mode : 2

I'm using aMC@NLO at lxplus, gcc version is 4.8.1.
Tell me please what might cause this problem?

Best Regards,
Nikita Belyaev

Question information

Language:
English Edit question
Status:
Open
For:
MadGraph5_aMC@NLO Edit question
Assignee:
marco zaro Edit question
Last query:
Last reply:
Revision history for this message
marco zaro (marco-zaro) said :
#1

Hi Nikita,
can you please check that the gfortran compiler is v.4.8 too?
just type
gfortran -- version
in a shell...
It looks like a compiler problem...

Cheers,

Marco

Revision history for this message
Nikita (zerousik) said :
#2

Hi Marco,

Thanks for the response.

-bash-4.1$ gfortran --version
GNU Fortran (GCC) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.

So everything looks fine here, I'm confused.

Best Regards,
Nikita Belyaev

Revision history for this message
Nikita (zerousik) said :
#3

I also tried to use gcc 4.7.2, but the problem was the same.

Revision history for this message
marco zaro (marco-zaro) said :
#4

Ciao Nikita,
can you try to compile CT by hand?
go inside
vendor/CutTools
and type
make clean
make
Can you please report what happens?
Thanks,

Marco

On 01 Mar 2015, at 20:51, Nikita <email address hidden> wrote:

> Question #262945 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/262945
>
> Nikita posted a new comment:
> I also tried to use gcc 4.7.2, but the problem was the same.
>
> --
> You received this question notification because you are a direct
> subscriber of the question.

Revision history for this message
Nikita (zerousik) said :
#5

Hello Marco,

> Can you please report what happens?
Here is the output:

-bash-4.1$ make clean
rm -fr includects cuttools_v1.9.3.tar.gz
-bash-4.1$ make
cp -p ./src/cts/cts_qpr.in ./src/cts/cts_mpr.h
mkdir -p includects
cp -p ./src/avh/* includects/
cp -p ./src/cts/cts_qpc.in ./src/cts/cts_mpc.h
cp -p ./src/cts/cts_qprec.in ./src/cts/cts_mprec.h
cp -p ./src/cts/cts_qpinit.in ./src/cts/cts_mpinit.h
cp -p ./src/cts/* includects/
cp -p ./src/mpfun90/* includects/
cp -p ./src/qcdloop/* includects/
cp -p ./src/makefile includects/
cd includects && make EXE="" FC="gfortran" FFLAGS=" -fPIC -fno-automatic -O2 -funroll-all-loops" default
make[1]: Entering directory `/afs/cern.ch/user/n/nbelyaev/private/MG5_aMC_v2_2_3/vendor/CutTools/includects'
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c mpfun90.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c mpmod90.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c mpmodm90.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c mpmodx90.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c avh_olo.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c cts_type.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c cts_tensors.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c cts_constants.f90
cts_mprec.h:1.6:
mpmodx90.f90:32.4:
    Included at cts_constants.f90:5:

use mpmodule
  use mpmodule
    1
      1
Fatal Error: Can't open module file 'mpmodule.mod' for reading at (1): No such file or directory
Fatal Error: Can't open module file 'mpmodule.mod' for reading at (1): No such file or directory
cts_mprec.h:1.6:
mpmodm90.f90:34.4:

    Included at cts_tensors.f90:2:
use mpmodule

    1
  use mpmodule
      1
Fatal Error: Can't open module file 'mpmodule.mod' for reading at (1): No such file or directory
Fatal Error: Can't open module file 'mpmodule.mod' for reading at (1): No such file or directory
make[1]: *** [libcts.a(cts_constants.o)] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [libcts.a(mpmodx90.o)] Error 1
make[1]: *** [libcts.a(cts_tensors.o)] Error 1
make[1]: *** [libcts.a(mpmodm90.o)] Error 1
mpmod90.f90:43.4:

use mpfunmod
    1
Fatal Error: Can't open module file 'mpfunmod.mod' for reading at (1): No such file or directory
make[1]: *** [libcts.a(mpmod90.o)] Error 1
cts_mprec.h:1.6:
    Included at cts_type.f90:57:

  use mpmodule
      1
Fatal Error: Can't open module file 'mpmodule.mod' for reading at (1): No such file or directory
make[1]: *** [libcts.a(cts_type.o)] Error 1
avh_olo.f90:21938.6:

  use mpmodule
      1
Fatal Error: Can't open module file 'mpmodule.mod' for reading at (1): No such file or directory
make[1]: *** [libcts.a(avh_olo.o)] Error 1
ar rv libcts.a mpfun90.o
ar: creating libcts.a
a - mpfun90.o
make[1]: Leaving directory `/afs/cern.ch/user/n/nbelyaev/private/MG5_aMC_v2_2_3/vendor/CutTools/includects'
make: *** [default] Error 2

Best Regards,
Nikita Belyaev

Revision history for this message
marco zaro (marco-zaro) said :
#6

Dear Nikita,
thanks for the report.
I will notify Valentin Hirschi, who should be more able than me to provide support on this topic.
Thanks for your patience,
Cheers,

Marco

Can you help with this problem?

Provide an answer of your own, or ask Nikita for more information if necessary.

To post a message you must log in.