libMadLoop.a: No such file or directory

Asked by chipmunk on 2021-03-24

Dear developers,

I'm trying to generate dijet events (MG5_aMC@NLO v2.9.2),

----------------
generate p p > j j [QCD]
output dijet
launch
----------------

I have some error messages below, I found some possible solutions (https://answers.launchpad.net/mg5amcnlo/+question/536933), unfortunately, my problem was not solved.
Any idea how I could bypass this problem?

Thanks.

------------------------------------------------------------------------- DEBUG INFO -------------------------------------------------------------------------
Not able to open file /work/MG5_aMC_v2_9_2/bin/dijet/crossx.html since no program configured.Please set one in ./input/mg5_configuration.txt
INFO: Compiling the code
INFO: Using built-in libraries for PDFs
INFO: Compiling source...
INFO: ...done, continuing with P* directories
INFO: Compiling directories...
INFO: Compiling on 8 cores
INFO: Compiling P0_gg_gg...
INFO: Compiling P0_gg_uux...
INFO: Compiling P0_gu_ug...
INFO: Compiling P0_gux_uxg...
INFO: Compiling P0_ug_ug...
INFO: Compiling P0_uu_uu...
INFO: Compiling P0_uc_uc...
INFO: Compiling P0_uux_gg...
INFO: Compiling P0_uux_gg...
WARNING: fct <function compile_dir at 0x7f9137185dd0> does not return 0. Stopping the code in a clean way. The error was:
A compilation Error occurs when trying to compile /work/MG5_aMC_v2_9_2/bin/dijet/SubProcesses/P0_gg_gg.
The compilation fails with the following output message:
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ check_poles.f
    check_poles.f:305:132:

      305 | 101 Z(K)=Z(K-1)+PO2LOG-2.*LOG(DFLOAT(K-2))
          | 1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 101 at (1)
    check_poles.f:307:132:

      307 | 102 Z(K)=(Z(K)-LOG(DFLOAT(K-1)))
          | 1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 102 at (1)
    check_poles.f:319:132:

      319 | 105 XMT=XMT+ABS(XM(I))
          | 1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 105 at (1)
    check_poles.f:359:132:

      359 | 202 Q(1,I)=Q(4,I)*S*SIN(F)
          | 1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 202 at (1)
    check_poles.f:363:132:

      363 | 203 R(I)=0.
          | 1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 203 at (1)
    check_poles.f:365:132:

      365 | DO 204 K=1,4
          | 1
    Warning: Fortran 2018 deleted feature: Shared DO termination label 204 at (1)
    check_poles.f:366:132:

      366 | 204 R(K)=R(K)+Q(K,I)
          | 1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 204 at (1)
    check_poles.f:369:132:

      369 | 205 B(K)=-R(K)/RMAS
          | 1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 205 at (1)
    check_poles.f:378:132:

      378 | 206 P(K,I)=X*(Q(K,I)+B(K)*(Q(4,I)+A*BQ))
          | 1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 206 at (1)
    check_poles.f:379:132:

      379 | 207 P(0,I)=X*(G*Q(4,I)+BQ)
          | 1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 207 at (1)
    check_poles.f:401:132:

      401 | 301 P2(I)=P(0,I)**2
          | 1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 301 at (1)
    check_poles.f:411:132:

      411 | 303 G0=G0+P2(I)/E(I)
          | 1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 303 at (1)
    check_poles.f:422:132:

      422 | 306 P(K,I)=X*P(K,I)
          | 1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 306 at (1)
    check_poles.f:423:132:

      423 | 307 P(0,I)=E(I)
          | 1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 307 at (1)
    check_poles.f:430:132:

      430 | 308 WT3=WT3+V(I)**2/E(I)
          | 1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 308 at (1)
    run.inc:74:21:

       74 | common/to_rwgt/ do_rwgt_scale, rw_Fscale_down, rw_Fscale_up, rw_Rscale_down, rw_Rscale_up,
          | 1
    Warning: Padding of 4 bytes required before 'rw_fscale_down' in COMMON 'to_rwgt' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ BinothLHA.f
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ born_hel.f
    for dir in `ls -d V*`; do cd $dir; make; cd ../; done
    make[1]: Entering directory '/work/MG5_aMC_v2_9_2/bin/dijet/SubProcesses/P0_gg_gg/V0_gg_gg'
    rm -f ../libMadLoop.a
    gfortran -fno-automatic -ffixed-line-length-132 -O3 -c polynomial.f -o polynomial.o
    gfortran -O -fno-automatic -ffixed-line-length-132 -c loop_matrix.f -I /work/MG5_aMC_v2_9_2/HEPTools/include -I /work/MG5_aMC_v2_9_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c improve_ps.f -I /work/MG5_aMC_v2_9_2/HEPTools/include -I /work/MG5_aMC_v2_9_2/HEPTools/include
    gfortran -O -fno-automatic -ffixed-line-length-132 -c born_matrix.f -I /work/MG5_aMC_v2_9_2/HEPTools/include -I /work/MG5_aMC_v2_9_2/HEPTools/include
    born_matrix.f:352:6:

      352 | TMP_JAMP(3) = AMP(3) + (1) * AMP(6) ! used 4 times
          | 1
    Error: Function 'tmp_jamp' at (1) has no IMPLICIT type
    born_matrix.f:353:6:

      353 | TMP_JAMP(2) = AMP(1) + (1) * AMP(4) ! used 4 times
          | 1
    Error: Function 'tmp_jamp' at (1) has no IMPLICIT type
    born_matrix.f:354:6:

      354 | TMP_JAMP(1) = AMP(2) + (1) * AMP(5) ! used 4 times
          | 1
    Error: Function 'tmp_jamp' at (1) has no IMPLICIT type
    born_matrix.f:355:6:

      355 | TMP_JAMP(6) = TMP_JAMP(3) + (-1) * TMP_JAMP(2) ! used 2 times
          | 1
    Error: Function 'tmp_jamp' at (1) has no IMPLICIT type
    born_matrix.f:355:49:

      355 | TMP_JAMP(6) = TMP_JAMP(3) + (-1) * TMP_JAMP(2) ! used 2 times
          | 1
    Error: Function 'tmp_jamp' at (1) has no IMPLICIT type
    born_matrix.f:356:6:

      356 | TMP_JAMP(5) = TMP_JAMP(3) + (1) * TMP_JAMP(1) ! used 2 times
          | 1
    Error: Function 'tmp_jamp' at (1) has no IMPLICIT type
    born_matrix.f:356:48:

      356 | TMP_JAMP(5) = TMP_JAMP(3) + (1) * TMP_JAMP(1) ! used 2 times
          | 1
    Error: Function 'tmp_jamp' at (1) has no IMPLICIT type
    born_matrix.f:357:6:

      357 | TMP_JAMP(4) = TMP_JAMP(2) + (1) * TMP_JAMP(1) ! used 2 times
          | 1
    Error: Function 'tmp_jamp' at (1) has no IMPLICIT type
    born_matrix.f:357:48:

      357 | TMP_JAMP(4) = TMP_JAMP(2) + (1) * TMP_JAMP(1) ! used 2 times
          | 1
    Error: Function 'tmp_jamp' at (1) has no IMPLICIT type
    born_matrix.f:358:30:

      358 | JAMP(1,1) = (2)*TMP_JAMP(6)
          | 1
    Error: Function 'tmp_jamp' at (1) has no IMPLICIT type
    born_matrix.f:359:30:

      359 | JAMP(2,1) = (2)*TMP_JAMP(4)
          | 1
    Error: Function 'tmp_jamp' at (1) has no IMPLICIT type
    born_matrix.f:360:31:

      360 | JAMP(3,1) = (-2)*TMP_JAMP(5)
          | 1
    Error: Function 'tmp_jamp' at (1) has no IMPLICIT type
    born_matrix.f:361:30:

      361 | JAMP(4,1) = (2)*TMP_JAMP(4)
          | 1
    Error: Function 'tmp_jamp' at (1) has no IMPLICIT type
    born_matrix.f:362:31:

      362 | JAMP(5,1) = (-2)*TMP_JAMP(5)
          | 1
    Error: Function 'tmp_jamp' at (1) has no IMPLICIT type
    born_matrix.f:363:30:

      363 | JAMP(6,1) = (2)*TMP_JAMP(6)
          | 1
    Error: Function 'tmp_jamp' at (1) has no IMPLICIT type
    make[1]: *** [makefile:37: born_matrix.o] Error 1
    make[1]: Leaving directory '/work/MG5_aMC_v2_9_2/bin/dijet/SubProcesses/P0_gg_gg/V0_gg_gg'
    gfortran -o check_poles parton_lum_3.o parton_lum_1.o parton_lum_4.o parton_lum_5.o parton_lum_6.o parton_lum_2.o parton_lum_chooser.o matrix_4.o matrix_5.o matrix_6.o matrix_2.o matrix_3.o matrix_1.o real_me_chooser.o leshouche_inc_chooser.o fks_inc_chooser.o setcuts.o setscales.o born.o sborn_sf.o b_sf_006.o b_sf_004.o b_sf_002.o b_sf_001.o b_sf_005.o b_sf_003.o fks_Sij.o fastjetfortran_madfks_full.o fastjet_wrapper.o fks_singular.o veto_xsec.o montecarlocounter.o reweight_xsec.o boostwdir2.o configs_and_props_inc_chooser.o initcluster.o cluster.o reweight.o get_color.o FKSParamReader.o iproc_map.o MC_integer.o reweight_xsec_events_pdf_dummy.o appl_interface_dummy.o genps_fks.o weight_lines.o cuts.o pythia_unlops.o recluster.o check_poles.o BinothLHA.o born_hel.o -L../../lib/ libMadLoop.a -lcts -liregi -L/work/MG5_aMC_v2_9_2/HEPTools/lib/ -lninja -L/work/MG5_aMC_v2_9_2/HEPTools/lib/ -lavh_olo -L/work/MG5_aMC_v2_9_2/HEPTools/lib/ -lcollier -L../../lib/ -ldhelas -lgeneric -lmodel -lpdf -lcernlib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lfastjettools -lfastjet -lm -lfastjetplugins -lsiscone_spherical -lsiscone -lstdc++ -lstdc++
    gfortran: error: libMadLoop.a: No such file or directory
    make: *** [makefile:100: check_poles] Error 1

Please try to fix this compilations issue and retry.
Help might be found at https://answers.launchpad.net/mg5amcnlo.
If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo

-------------------------------------------------------------------------------------

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
2021-04-04
Last query:
2021-04-04
Last reply:
2021-03-24

Thanks for the report,

2.9.3 should be released today with a fix for that issue (i'm running your process now with 2.9.3 to be 100% sure that this is the case)

Cheers,

Olivier

chipmunk (ichipmunk) said : #2

Thanks Olivier Mattelaer, that solved my question.