install MCatNLO-utilities fails

Asked by Josh McFayden

Hi,

I am trying to get set up to run aMC@NLO and so I am trying to install MCatNLO-utilities as suggested in the aMCatNLO tutorial.

But when I execute the "install MCatNLO-utilities" command it fails with the following output:

MG5>install MCatNLO-utilities
Downloading http://madgraph.phys.ucl.ac.be/Downloads/MCatNLO-utilities_V2.0.tar.gz
--2013-09-17 16:33:32-- http://madgraph.phys.ucl.ac.be/Downloads/MCatNLO-utilities_V2.0.tar.gz
Resolving madgraph.phys.ucl.ac.be (madgraph.phys.ucl.ac.be)... 130.104.133.249
Connecting to madgraph.phys.ucl.ac.be (madgraph.phys.ucl.ac.be)|130.104.133.249|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2610031 (2.5M) [application/x-gzip]
Saving to: `MCatNLO-utilities.tgz'

100%[===========================================================================================================================================================>] 2,610,031 4.13M/s in 0.6s

2013-09-17 16:33:33 (4.13 MB/s) - `MCatNLO-utilities.tgz' saved [2610031/2610031]

compile MCatNLO-utilities. This might takes a while.
cd StdHEP; make
cd StdHEP; make
make[1]: Entering directory `/afs/cern.ch/work/m/mcfayden/mcgen/MadGraph/MadGraph5_v2_0_0_beta3/MCatNLO-utilities/StdHEP'
test -d ./bin || mkdir -p ./bin
make[1]: *** read jobs pipe: Is a directory. Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: Entering directory `/afs/cern.ch/work/m/mcfayden/mcgen/MadGraph/MadGraph5_v2_0_0_beta3/MCatNLO-utilities/StdHEP'
test -d ./bin || mkdir -p ./bin
make[1]: *** read jobs pipe: Is a directory. Stop.
make[1]: *** Waiting for unfinished jobs....
test -d ./lib || mkdir -p ./lib
test -d ./lib || mkdir -p ./lib
make[1]: Leaving directory `/afs/cern.ch/work/m/mcfayden/mcgen/MadGraph/MadGraph5_v2_0_0_beta3/MCatNLO-utilities/StdHEP'
make: *** [StdHEP/lib/libFmcfio.a] Error 2
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/afs/cern.ch/work/m/mcfayden/mcgen/MadGraph/MadGraph5_v2_0_0_beta3/MCatNLO-utilities/StdHEP'
make: *** [StdHEP/lib/libstdhep.a] Error 2
Error detected during the compilation. Please check the compilation error and run make manually.
MG5>

I am trying this within the Athena environment (which might be complicating matters?), the setup is: x86_64, slc6.4, gcc4.7, python2.7.

However, I find that without an Athena environment and with the setup: x86_64, slc6.4, gcc4.4, python2.6, the compilation runs without any problems, but really I would like to be able to run this with the above Athena environment. Do you know the cause of this error? Is there some incompatibility with newer compiler versions?

Many thanks in advance,

Josh.

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
Paolo Torrielli Edit question
Last query:
Last reply:
Whiteboard:
Hi, Looks like a problem of compilation in multi-core. Paolo might help on this. In the mean time, could you try to configure MG5 to use only one cpu at the time? (set nb_core 1) Cheers, Olivier
Revision history for this message
Paolo Torrielli (paolo-torrielli) said :
#1

Hi all,
thank you Josh for your feedback.

Unfortunately, I don't know the reason of this problem.
To get further information, could you please go in
MCatNLO-utilities/StdHEP/src/stdhep
and do 'make realclean' and 'make', and then do the same
in MCatNLO-utilities/StdHEP/mcfio/src ?

The compilation should fail, and maybe the printout error
will tell more about the reason.

Cheers.
Paolo

Revision history for this message
Josh McFayden (mcfayden) said :
#2

Hi Paolo,

I have re-compiled the two packages as you suggested.
I don't think that the compilation fails - as far as I can tell there are no errors, however in both cases there are many of the following warnings:

warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default]

The full output of the make commands can be seen here:
http://mcfayden.web.cern.ch/mcfayden/test/stdhep_make.log
http://mcfayden.web.cern.ch/mcfayden/test/mcfiosrc_make.log

Would this be enough to create the error I see above?

Cheers,

Josh.

Revision history for this message
Paolo Torrielli (paolo-torrielli) said :
#3

Hi Josh,
thank you for your reply.

I have a further question: if the compilation has gone through
without problems, you should be able to find the libraries
libFmcfio.a and libstdhep.a in your MCatNLO-utilities/StdHEP/lib/
folder. Is it the case?

If so, you just need to copy them to MCatNLO-utilities/MCatNLO/lib/
which is what the install command does automatically, and then
you are done as far as Stdhep is concerned.
Still, if it is the case, I don't understand why the automatic compilation
failed.

Cheers,
Paolo

On Sep 19, 2013, at 7:16 PM, Josh McFayden <email address hidden> wrote:

> Question #235878 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/235878
>
> Status: Answered => Open
>
> Josh McFayden is still having a problem:
> Hi Paolo,
>
> I have re-compiled the two packages as you suggested.
> I don't think that the compilation fails - as far as I can tell there are no errors, however in both cases there are many of the following warnings:
>
> warning: passing argument 6 of 'xdr_array' from incompatible pointer
> type [enabled by default]
>
> The full output of the make commands can be seen here:
> http://mcfayden.web.cern.ch/mcfayden/test/stdhep_make.log
> http://mcfayden.web.cern.ch/mcfayden/test/mcfiosrc_make.log
>
> Would this be enough to create the error I see above?
>
> Cheers,
>
> Josh.
>
> --
> You received this question notification because you are a direct
> subscriber of the question.

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

Hi Paolo,

My guess is that this is a problem linked to the compilation in a multicore mode.
Could you check that?

Olivier

Can you help with this problem?

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

To post a message you must log in.