Compilation error with f2py

Asked by Lena Rathmann on 2020-02-11

Hi,

I am trying to run MadDM which is a plugin for MadGraph on the cluster of my university and after generating a process and launching it I get the following error:

Error detected in "launch"
write debug file MG5_debug
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
MadGraph5Error : A compilation Error occurs when trying to compile /rwthfs/rz/cluster/home/lu750495/software/MG5_aMC_v2_6_6/bin/test/Indirect/rw_me/SubProcesses.
The compilation fails with the following output message:
    gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1995_xdxdx_hh/matrix.o P1995_xdxdx_hh/matrix.f
    gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1995_xdxdx_xrxr/matrix.o P1995_xdxdx_xrxr/matrix.f
    gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1995_xdxdx_ttx/matrix.o P1995_xdxdx_ttx/matrix.f
    gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1995_xdxdx_y0y0/matrix.o P1995_xdxdx_y0y0/matrix.f
    gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1995_xdxdx_zz/matrix.o P1995_xdxdx_zz/matrix.f
    gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1995_xdxdx_xcxcx/matrix.o P1995_xdxdx_xcxcx/matrix.f
    gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1995_xdxdx_wpwm/matrix.o P1995_xdxdx_wpwm/matrix.f
    gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1995_xdxdx_aa/matrix.o P1995_xdxdx_aa/matrix.f
    gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o all_matrix.o all_matrix.f
    ar cru ../lib//libmatrix.a P1995_xdxdx_hh/matrix.o P1995_xdxdx_xrxr/matrix.o P1995_xdxdx_ttx/matrix.o P1995_xdxdx_y0y0/matrix.o P1995_xdxdx_zz/matrix.o P1995_xdxdx_xcxcx/matrix.o P1995_xdxdx_wpwm/matrix.o P1995_xdxdx_aa/matrix.o all_matrix.o
    ranlib ../lib//libmatrix.a
    f2py --f77exec=gfortran -L../lib/ -ldhelas -lmodel -lmatrix -c all_matrix.f */matrix.f -m allmatrix2py
    Traceback (most recent call last):
      File "/usr/bin/f2py", line 3, in <module>
        import f2py2e
    ImportError: No module named f2py2e
    make: *** [allmatrix2py.so] Fehler 1

I don't know why the module f2py2e cannot be found and what to do about it. I hope someone might help me with my problem.

Thank you a lot in advance.

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2020-02-11
Last reply:
2020-02-12

I do not find information about that specific error in google.
What i would suggest is to re-install numpy and check that your binary of f2py is correctly setup to the version of python that you are currently using.

Cheers,

Olivier

Can you help with this problem?

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

To post a message you must log in.