gfortran error when running MG 3.4.1 to generate BSM Higgs process

Asked by Chayanit

Dear Olivier,

I have got issue with gfortran with MG 3.4.1 while I'm using GCC 9.4.0 and the error is quoted below. Your help would be greatly appreciated.

Best,
Chayanit

#######################

INFO: modify parameter extralibs of the shower_card.dat to pythia8 z dl stdc++
INFO: modify parameter extrapaths of the shower_card.dat to ../lib /mnt/d/MG5_aMC_v3_4_1/HEPTools/pythia8//lib l,-rpath,/mnt/d/MG5_aMC_v3_4_1/HEPTools/pythia8//lib /mnt/d/MG5_aMC_v3_4_1/HEPTools/zlib/lib l,-rpath,/mnt/d/MG5_aMC_v3_4_1/HEPTools/zlib/lib
INFO: Update the dependent parameter of the param_card.dat
WARNING: update the strong coupling value (alpha_s) to the value from the pdf selected: 0.119
INFO: Starting run
Not able to open file /mnt/d/MG5_aMC_v3_4_1/SUSYGluGluToBBH_M-300_1/crossx.html since no program configured.Please set one in ./input/mg5_configuration.txt
INFO: Compiling the code
INFO: For gauge cancellation, the width of 'H' 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.
INFO: Compiling IREGI (can take a couple of minutes) ...
INFO: ...done.
INFO: Compiling directories...
INFO: Compiling on 12 cores
INFO: Compiling P0_gg_hbbx...
INFO: Compiling P0_uux_hbbx...
INFO: Compiling P0_uxu_hbbx...
WARNING: fct <function compile_dir at 0x7f759fc7aca0> does not return 0. Stopping the code in a clean way. The error was:
A compilation Error occurs when trying to compile /mnt/d/MG5_aMC_v3_4_1/SUSYGluGluToBBH_M-300_1/SubProcesses/P0_uux_hbbx.
The compilation fails with the following output message:
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ analysis_dummy.f
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../FixedOrderAnalysis/ ../../FixedOrderAnalysis//dbook.f
    ../../FixedOrderAnalysis//dbook.f:141:132:

      141 | 1 BOOK(I)=' NO'
          |
                       1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1)
    ../../FixedOrderAnalysis//dbook.f:567:132:

      567 | 1 HIST(N,I)=0.
          |
                       1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1)
    ../../FixedOrderAnalysis//dbook.f:684:132:

      684 | 1 HIST(N,I)=HIST(N,I)*Y
          |
                       1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1)
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ open_output_files_dummy.f
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ HwU_dummy.f
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ parton_lum_3.f
    parton_lum_3.f:57: Error: Can't open included file 'eepdf.inc'
    make: *** [makefile:81: parton_lum_3.o] 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
WARNING: fct <function compile_dir at 0x7f759fc7aca0> does not return 0. Stopping the code in a clean way. The error was:
A compilation Error occurs when trying to compile /mnt/d/MG5_aMC_v3_4_1/SUSYGluGluToBBH_M-300_1/SubProcesses/P0_uxu_hbbx.
The compilation fails with the following output message:
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ analysis_dummy.f
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../FixedOrderAnalysis/ ../../FixedOrderAnalysis//dbook.f
    ../../FixedOrderAnalysis//dbook.f:141:132:

      141 | 1 BOOK(I)=' NO'
          |
                       1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1)
    ../../FixedOrderAnalysis//dbook.f:567:132:

      567 | 1 HIST(N,I)=0.
          |
                       1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1)
    ../../FixedOrderAnalysis//dbook.f:684:132:

      684 | 1 HIST(N,I)=HIST(N,I)*Y
          |
                       1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1)
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ open_output_files_dummy.f
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ HwU_dummy.f
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ parton_lum_3.f
    parton_lum_3.f:57: Error: Can't open included file 'eepdf.inc'
    make: *** [makefile:81: parton_lum_3.o] 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
WARNING: fct <function compile_dir at 0x7f759fc7aca0> does not return 0. Stopping the code in a clean way. The error was:
A compilation Error occurs when trying to compile /mnt/d/MG5_aMC_v3_4_1/SUSYGluGluToBBH_M-300_1/SubProcesses/P0_gg_hbbx.
The compilation fails with the following output message:
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ analysis_dummy.f
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../FixedOrderAnalysis/ ../../FixedOrderAnalysis//dbook.f
    ../../FixedOrderAnalysis//dbook.f:141:132:

      141 | 1 BOOK(I)=' NO'
          |
                       1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1)
    ../../FixedOrderAnalysis//dbook.f:567:132:

      567 | 1 HIST(N,I)=0.
          |
                       1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1)
    ../../FixedOrderAnalysis//dbook.f:684:132:

      684 | 1 HIST(N,I)=HIST(N,I)*Y
          |
                       1
    Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1)
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ open_output_files_dummy.f
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ HwU_dummy.f
    gfortran -O -fno-automatic -ffixed-line-length-132 -c -I. -I../../lib/ parton_lum_3.f
    parton_lum_3.f:57: Error: Can't open included file 'eepdf.inc'
    make: *** [makefile:81: parton_lum_3.o] 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
WARNING: Compilation of the Subprocesses failed
INFO:
INFO: Checking test output:
INFO: P0_gg_hbbx
INFO: Result for test_ME:
Command "launch auto " interrupted with error:
FileNotFoundError : [Errno 2] No such file or directory: '/mnt/d/MG5_aMC_v3_4_1/SUSYGluGluToBBH_M-300_1/SubProcesses/P0_gg_hbbx/test_ME.log'
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in '/mnt/d/MG5_aMC_v3_4_1/SUSYGluGluToBBH_M-300_1/run_01_tag_1_debug.log'.
Please attach this file to your report.
INFO:
quit

Question information

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

Does it work for the SM model?
I have tried that process for the SM (and NLO+PS) and did not reproduce that error.

So I'm a bit puzzled. Could you give me more information on the model, parameter/... that you use such that I can try to reproduce your run.

Cheers,

Olivier

Revision history for this message
Chayanit (chayanit) said :
#2

Hi Olivier,

I would like to come back to this question and sorry for long silence. It also doesn't work with the SM model.

When I tried the following process, I also got similar error as above.

import model loop_sm
define p = u c d s u~ c~ d~ s~
define j = p
generate p p > h h z [QCD]

I'm running NLO+PS (Pythia8)

Could you give me some insights what caused the error? Is it related to gfortran version?

Cheers,
Chayanit

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

Hi,

I tried with gcc 4.8 and it was working...
So the only suggestion that I have right now is
1) check with 3.4.2 if that fix your issue.
2) check if you have the file SubProcesses/eepdf.inc

Then go to the SubProcesses directory
and run the command
 ls -l P0_*/eepdf.inc

Such that you can check that you have the same output as me (see below)

lrwxrwxrwx. 1 centos centos 12 Apr 19 07:58 P0_ddx_hhz/eepdf.inc -> ../eepdf.inc
lrwxrwxrwx. 1 centos centos 12 Apr 19 07:58 P0_dxd_hhz/eepdf.inc -> ../eepdf.inc
lrwxrwxrwx. 1 centos centos 12 Apr 19 07:58 P0_uux_hhz/eepdf.inc -> ../eepdf.inc
lrwxrwxrwx. 1 centos centos 12 Apr 19 07:58 P0_uxu_hhz/eepdf.inc -> ../eepdf.inc

Cheers,

Olivier

Revision history for this message
Chayanit (chayanit) said :
#4

Hi Olivier,

Thank you very much for your reply.

Let me answer your question and provide more information. I'm currently running with MG 3.4.2 and the issue remains. I have also checked SubProcess/eepdf.inc and I got the same output.

lrwxr-xr-x 1 chayanit staff 12 Apr 18 19:57 P0_ddx_hhz/eepdf.inc -> ../eepdf.inc
lrwxr-xr-x 1 chayanit staff 12 Apr 18 19:57 P0_dxd_hhz/eepdf.inc -> ../eepdf.inc
lrwxr-xr-x 1 chayanit staff 12 Apr 18 19:57 P0_uux_hhz/eepdf.inc -> ../eepdf.inc
lrwxr-xr-x 1 chayanit staff 12 Apr 18 19:57 P0_uxu_hhz/eepdf.inc -> ../eepdf.inc

It seems the issue is related to gfortran is not working properly on my mac. I have installed gfortran 12 when I posted the issues. However, I have removed gfortran on my mac now from /usr/local/gfortran and /usr/local/bin/gfortran. I'm not sure which gfortran I should reinstall and to which path. My Mac is updated to Ventura 13.3.1 and XCode 14.3. Any suggestion?

Thank you in advance.

Best,
Chayanit

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

I typically install gfortran from
https://hpc.sourceforge.net/
But with ventura, I do have issue with the arm chip since it does not seem to work nicely with the intel based version
(and lhpadf had issue when compiled for arm)

Cheers,

Olivier

Can you help with this problem?

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

To post a message you must log in.