Command "launch auto " interrupted with error:

Asked by James

Hi! I just have a quick question, it's probably something simple but I can't figure out why this won't launch. The same file launches fine on my personal computer, but not when I'm logged in to our local cluster. This is the error I get when I try to launch any process in mg5:

Command "launch auto " interrupted with error:
MadGraph5Error : A compilation Error occurs when trying to compile /home/james/eve/Source.
 The compilation fails with the following output message:
     rm -f ../lib/libdhelas.a
     cd DHELAS; make
     make[1]: Entering directory `/home/james/eve/Source/DHELAS'
     gfortran -O -fno-automatic -ffixed-line-length-132 -c -o aloha_functions.o aloha_functions.f
     /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.9.1/f951: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory
     make[1]: *** [aloha_functions.o] Error 1
     make[1]: Leaving directory `/home/james/eve/Source/DHELAS'
     make: *** [../lib/libdhelas.a] Error 2

 Please try to fix this compilations issue and retry.
 Help might be found at https://answers.launchpad.net/madgraph5.
 If you think that this is a bug, you can report this at https://bugs.launchpad.net/madgraph5
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in '/home/james/eve/run_01_tag_1_debug.log'.

Does anyone have any ideas what could be causing this?

Thanks in advance!

Question information

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

Hi,

This is a compilation error. So the reason is that you do not have the same compiler on your local machine and on the cluster.
Did you try some LO or NLO computation.
for NLO computation we need gfortran 4.6 at least.
for LO computation, if you use the version 2.3 then you need gfortran 4.4. If you use an older version, then 4.1 should be enough.

Cheers,

Olivier

On 16 Jun 2015, at 16:46, James <email address hidden> wrote:

> New question #268210 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/268210
>
> Hi! I just have a quick question, it's probably something simple but I can't figure out why this won't launch. The same file launches fine on my personal computer, but not when I'm logged in to our local cluster. This is the error I get when I try to launch any process in mg5:
>
> Command "launch auto " interrupted with error:
> MadGraph5Error : A compilation Error occurs when trying to compile /home/james/eve/Source.
> The compilation fails with the following output message:
> rm -f ../lib/libdhelas.a
> cd DHELAS; make
> make[1]: Entering directory `/home/james/eve/Source/DHELAS'
> gfortran -O -fno-automatic -ffixed-line-length-132 -c -o aloha_functions.o aloha_functions.f
> /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.9.1/f951: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory
> make[1]: *** [aloha_functions.o] Error 1
> make[1]: Leaving directory `/home/james/eve/Source/DHELAS'
> make: *** [../lib/libdhelas.a] Error 2
>
> Please try to fix this compilations issue and retry.
> Help might be found at https://answers.launchpad.net/madgraph5.
> If you think that this is a bug, you can report this at https://bugs.launchpad.net/madgraph5
> Please report this bug on https://bugs.launchpad.net/madgraph5
> More information is found in '/home/james/eve/run_01_tag_1_debug.log'.
> Please attach this file to your report.
>
>
> Does anyone have any ideas what could be causing this?
>
> Thanks in advance!
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
James (zrc2hs) said :
#2

Hi Olivier,

Thanks for the quick response! That's actually what I thought at first too, but my version of gfortran is actually 4.9.1 which is well above 4.6 (I am doing NLO computations) My g++ compiler is 4.9.1 also. Is there anything else that needs to be updated that I could be missing?

Thanks

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

Actually the error message seems to be a gfortran internal error:

/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.9.1/f951: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory

So looks like that one fortran library can not be found.

Here you will find a solution:
http://stackoverflow.com/questions/17425982/cannot-open-libmpc-so-3-while-making-gcc4-8-1
But looks like it requires to be sudo.
So I guess that you will need to contact your IT team.

Cheers,

Olivier

On 16 Jun 2015, at 17:12, James <email address hidden> wrote:

> Question #268210 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/268210
>
> James posted a new comment:
> Hi Olivier,
>
> Thanks for the quick response! That's actually what I thought at first
> too, but my version of gfortran is actually 4.9.1 which is well above
> 4.6 (I am doing NLO computations) My g++ compiler is 4.9.1 also. Is
> there anything else that needs to be updated that I could be missing?
>
> Thanks
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
James (zrc2hs) said :
#5

Ah yes I see now, I will get working on that, thank you so much for your help!

Revision history for this message
James (zrc2hs) said :
#6

Thanks Olivier Mattelaer, that solved my question.

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

yes 2.6 is enough.

On 16 Jun 2015, at 17:31, James <email address hidden> wrote:

> Question #268210 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/268210
>
> Status: Answered => Open
>
> James is still having a problem:
> Also python is 2.6.6 which I think is good enough for aMC@NLO as well.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.