Fortran compilation error with events generation

Asked by Andrew Oana

Hi all,

I am trying to generate events from my process directory, but I am getting a compilation error. Here is the error message:

MadGraph5Error: A compilation Error occurs when trying to compile /home/chill/Research/MG5_aMC_v2_1_1/dcascade/Source.
The compilation fails with the following output message:
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o setrun.o setrun.f
    cd PDF; make
    cd MODEL; make
    cd CERNLIB; make
    make[1]: Entering directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade/Source/PDF'
    make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
    make[1]: Entering directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade/Source/MODEL'
    make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
    g77 -O -ffixed-line-length-132 -c couplings.f
    make[1]: g77: Command not found
    make[1]: *** [couplings.o] Error 127
    make[1]: Leaving directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade/Source/MODEL'
    make: *** [../lib/libmodel.a] Error 2
    make: *** Waiting for unfinished jobs....
    ar cru ../../lib/libpdf.a Ctq4Fn.o Ctq5Par.o Ctq5Pdf.o Partonx5.o Ctq6Pdf.o cteq3.o mrs98.o mrs98lo.o mrs98ht.o mrs99.o mrst2001.o mrst2002.o jeppe02.o pdfwrap.o opendata.o pdf.o PhotonFlux.o pdg2pdf.o
    make[1]: Entering directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade/Source/CERNLIB'
    make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o abend.o abend.f
    ranlib ../../lib/libpdf.a
    make[1]: Leaving directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade/Source/PDF'
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o dlsqp2.o dlsqp2.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o lenocc.o lenocc.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o mtlprt.o mtlprt.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o mtlset.o mtlset.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o radmul.o radmul.f
    ar cru ../../lib/libcernlib.a abend.o dlsqp2.o lenocc.o mtlprt.o mtlset.o radmul.o
    ranlib ../../lib/libcernlib.a
    make[1]: Leaving directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade/Source/CERNLIB'

The model I am using has fortran files as it was originally an MG4 model. The process I generated is:

e- n+ > e- n+ x, (x > pv pv, pv > f+ f-)

(x, pv, f+, f- are model extensions)

Any suggestions?

Thanks,

Andrew

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,

Did you use a v4 model?

The problem is that part of the code is compile with g77:
> g77 -O -ffixed-line-length-132 -c couplings.f

while all the rest of the code is compile with gfortran:
> gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o mtlset.o mtlset.f

This typically happen with v4 model which have the compilator hardcoded (to g77) in the model makefile.

Cheers,

Olivier

On Jun 23, 2014, at 11:17 AM, Andrew Oana <email address hidden> wrote:

> New question #250625 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/250625
>
> Hi all,
>
> I am trying to generate events from my process directory, but I am getting a compilation error. Here is the error message:
>
> MadGraph5Error: A compilation Error occurs when trying to compile /home/chill/Research/MG5_aMC_v2_1_1/dcascade/Source.
> The compilation fails with the following output message:
> gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o setrun.o setrun.f
> cd PDF; make
> cd MODEL; make
> cd CERNLIB; make
> make[1]: Entering directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade/Source/PDF'
> make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
> make[1]: Entering directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade/Source/MODEL'
> make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
> g77 -O -ffixed-line-length-132 -c couplings.f
> make[1]: g77: Command not found
> make[1]: *** [couplings.o] Error 127
> make[1]: Leaving directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade/Source/MODEL'
> make: *** [../lib/libmodel.a] Error 2
> make: *** Waiting for unfinished jobs....
> ar cru ../../lib/libpdf.a Ctq4Fn.o Ctq5Par.o Ctq5Pdf.o Partonx5.o Ctq6Pdf.o cteq3.o mrs98.o mrs98lo.o mrs98ht.o mrs99.o mrst2001.o mrst2002.o jeppe02.o pdfwrap.o opendata.o pdf.o PhotonFlux.o pdg2pdf.o
> make[1]: Entering directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade/Source/CERNLIB'
> make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
> gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o abend.o abend.f
> ranlib ../../lib/libpdf.a
> make[1]: Leaving directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade/Source/PDF'
> gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o dlsqp2.o dlsqp2.f
> gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o lenocc.o lenocc.f
> gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o mtlprt.o mtlprt.f
> gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o mtlset.o mtlset.f
> gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o radmul.o radmul.f
> ar cru ../../lib/libcernlib.a abend.o dlsqp2.o lenocc.o mtlprt.o mtlset.o radmul.o
> ranlib ../../lib/libcernlib.a
> make[1]: Leaving directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade/Source/CERNLIB'
>
> The model I am using has fortran files as it was originally an MG4 model. The process I generated is:
>
> e- n+ > e- n+ x, (x > pv pv, pv > f+ f-)
>
> (x, pv, f+, f- are model extensions)
>
> Any suggestions?
>
> Thanks,
>
> Andrew
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Andrew Oana (andrew-oana) said :
#2

I see. Is there anyway around this? In other words, can I still use this v4 model?

I edited the makefile in my model, changing the starred line (originally, it was "g77" instead of "gfortran") :

# ----------------------------------------------------------------------------
#
# Makefile for user MODEL directory
# Jan 25 2006
#
# ----------------------------------------------------------------------------

*******F77 = gfortran**********
FFLAGS = -O -ffixed-line-length-132
LIBRARY = ../libmodel.a
LIBDIR = ../../lib/
MODEL = couplings.o lha_reading.o printout.o couplings_test.o

.f.o: ; $(F77) $(FFLAGS) -c $*.f

all: $(LIBDIR)libmodel.a

testprog: testprog.o $(MODEL)
    $(F77) $(FFLAGS) -o $@ $^

couplings: couplingsvalues.o $(MODEL)
    $(F77) $(FFLAGS) -o $@ $^

$(LIBDIR)libmodel.a: $(MODEL) makefile
    ar cru libmodel.a $(MODEL)
    ranlib libmodel.a
    mv libmodel.a $(LIBDIR)

However, I now get this as the error message when trying to generate events (it is quite long, but i think the only error is at the very bottom) :

MadGraph5Error: A compilation Error occurs when trying to compile /home/chill/Research/MG5_aMC_v2_1_1/dcascade_new/Source.
The compilation fails with the following output message:
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o dsample.o dsample.f
    ar cru ../lib/libdsample.a dsample.o ranmar.o
    ranlib ../lib/libdsample.a
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o alfas_functions.o alfas_functions.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o transpole.o transpole.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o invarients.o invarients.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o hfill.o hfill.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o pawgraphs.o pawgraphs.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o ran1.o ran1.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o rw_events.o rw_events.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o kin_functions.o kin_functions.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o basecode.o basecode.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o setrun.o setrun.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o run_printout.o run_printout.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o dgauss.o dgauss.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o readgrid.o readgrid.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o getissud.o getissud.f
    ar cru ../lib/libgeneric.a alfas_functions.o transpole.o invarients.o hfill.o pawgraphs.o ran1.o rw_events.o rw_routines.o kin_functions.o open_file.o basecode.o setrun.o run_printout.o dgauss.o readgrid.o getissud.o
    ranlib ../lib/libgeneric.a
    cd DHELAS; make
    make[1]: Entering directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade_new/Source/DHELAS'
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o httsxx.o httsxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o hstlxx.o hstlxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o hvvshx.o hvvshx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o vvvtlx.o vvvtlx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jvvtlx.o jvvtlx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o uvvvlx.o uvvvlx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o sstlxx.o sstlxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o usslxx.o usslxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o hvvhxx.o hvvhxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o hvvvxx.o hvvvxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o httaxx.o httaxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o vvsshx.o vvsshx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jvsshx.o jvsshx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o ttssxx.o ttssxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o utssxx.o utssxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o ttsaxx.o ttsaxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jvvsxx.o jvvsxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o vvvsxx.o vvvsxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jvshxx.o jvshxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o utsaxx.o utsaxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o vvshxx.o vvshxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jvtaxx.o jvtaxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o vvtaxx.o vvtaxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o uvvaxx.o uvvaxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o momntx.o momntx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o mom2cx.o mom2cx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o boostx.o boostx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o rotxxx.o rotxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o ixxxxx.o ixxxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o oxxxxx.o oxxxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o vxxxxx.o vxxxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o sxxxxx.o sxxxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o iovxxx.o iovxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fvixxx.o fvixxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fvoxxx.o fvoxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jioxxx.o jioxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o j3xxxx.o j3xxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o iosxxx.o iosxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fsixxx.o fsixxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fsoxxx.o fsoxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o hioxxx.o hioxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o vvvxxx.o vvvxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jvvxxx.o jvvxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o gggxxx.o gggxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jggxxx.o jggxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o vvsxxx.o vvsxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jvsxxx.o jvsxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o hvvxxx.o hvvxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o vssxxx.o vssxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jssxxx.o jssxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o hvsxxx.o hvsxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o sssxxx.o sssxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o hssxxx.o hssxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o wwwwxx.o wwwwxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jwwwxx.o jwwwxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o w3w3xx.o w3w3xx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jw3wxx.o jw3wxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o ggggxx.o ggggxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jgggxx.o jgggxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o vvssxx.o vvssxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jvssxx.o jvssxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o hvvsxx.o hvvsxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o ssssxx.o ssssxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o hsssxx.o hsssxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o eaixxx.o eaixxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o eaoxxx.o eaoxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jeexxx.o jeexxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o ioscxx.o ioscxx.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fsicxx.o fsicxx.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fsocxx.o fsocxx.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o hiocxx.o hiocxx.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o iovcxx.o iovcxx.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fvicxx.o fvicxx.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fvocxx.o fvocxx.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jiocxx.o jiocxx.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o iovgox.o iovgox.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fvigox.o fvigox.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fvogox.o fvogox.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jiogox.o jiogox.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o iovdmx.o iovdmx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fvidmx.o fvidmx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fvodmx.o fvodmx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jiodmx.o jiodmx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o iosgld.o iosgld.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fsigld.o fsigld.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fsogld.o fsogld.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o hiogld.o hiogld.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o iovgld.o iovgld.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fvigld.o fvigld.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fvogld.o fvogld.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jiogld.o jiogld.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o txxxxx.o txxxxx.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o txxxx2.o txxxx2.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o iotxkk.o iotxkk.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o iovtkk.o iovtkk.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o vvtxkk.o vvtxkk.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o ftixkk.o ftixkk.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o ftoxkk.o ftoxkk.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o iovkxx.o iovkxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o vvvkxx.o vvvkxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jiokxx.o jiokxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jvvkxx.o jvvkxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o sstxxx.o sstxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o hstxxx.o hstxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o ussxxx.o ussxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o iotxxx.o iotxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o ftixxx.o ftixxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o ftoxxx.o ftoxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o uioxxx.o uioxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o vvtxxx.o vvtxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o uvvxxx.o uvvxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jvtxxx.o jvtxxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o iovtxx.o iovtxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fvtixx.o fvtixx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o fvtoxx.o fvtoxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jiotxx.o jiotxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o uiovxx.o uiovxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o vvvtxx.o vvvtxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jvvtxx.o jvvtxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o uvvvxx.o uvvvxx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o ggggtx.o ggggtx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jgggtx.o jgggtx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o uggggx.o uggggx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o w3w3nx.o w3w3nx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jw3wnx.o jw3wnx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jwwwnx.o jwwwnx.F
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o wwwwnx.o wwwwnx.F
    ar cru ../../lib/libdhelas.a httsxx.o hstlxx.o hvvshx.o vvvtlx.o jvvtlx.o uvvvlx.o sstlxx.o usslxx.o hvvhxx.o hvvvxx.o httaxx.o vvsshx.o jvsshx.o ttssxx.o utssxx.o ttsaxx.o jvvsxx.o vvvsxx.o jvshxx.o utsaxx.o vvshxx.o jvtaxx.o vvtaxx.o uvvaxx.o momntx.o mom2cx.o boostx.o rotxxx.o ixxxxx.o oxxxxx.o vxxxxx.o sxxxxx.o iovxxx.o fvixxx.o fvoxxx.o jioxxx.o j3xxxx.o iosxxx.o fsixxx.o fsoxxx.o hioxxx.o vvvxxx.o jvvxxx.o gggxxx.o jggxxx.o vvsxxx.o jvsxxx.o hvvxxx.o vssxxx.o jssxxx.o hvsxxx.o sssxxx.o hssxxx.o wwwwxx.o jwwwxx.o w3w3xx.o jw3wxx.o ggggxx.o jgggxx.o vvssxx.o jvssxx.o hvvsxx.o ssssxx.o hsssxx.o eaixxx.o eaoxxx.o jeexxx.o ioscxx.o fsicxx.o fsocxx.o hiocxx.o iovcxx.o fvicxx.o fvocxx.o jiocxx.o iovgox.o fvigox.o fvogox.o jiogox.o iovdmx.o fvidmx.o fvodmx.o jiodmx.o iosgld.o fsigld.o fsogld.o hiogld.o iovgld.o fvigld.o fvogld.o jiogld.o txxxxx.o txxxx2.o iotxkk.o iovtkk.o vvtxkk.o ftixkk.o ftoxkk.o iovkxx.o vvvkxx.o jiokxx.o jvvkxx.o sstxxx.o hstxxx.o ussxxx.o iotxxx.o ftixxx.o ftoxxx.o uioxxx.o vvtxxx.o uvvxxx.o jvtxxx.o iovtxx.o fvtixx.o fvtoxx.o jiotxx.o uiovxx.o vvvtxx.o jvvtxx.o uvvvxx.o ggggtx.o jgggtx.o uggggx.o w3w3nx.o jw3wnx.o jwwwnx.o wwwwnx.o
    ranlib ../../lib/libdhelas.a
    make[1]: Leaving directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade_new/Source/DHELAS'
    cd PDF; make
    make[1]: Entering directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade_new/Source/PDF'
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o Ctq4Fn.o Ctq4Fn.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o Ctq5Par.o Ctq5Par.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o Ctq5Pdf.o Ctq5Pdf.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o Partonx5.o Partonx5.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o Ctq6Pdf.o Ctq6Pdf.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o cteq3.o cteq3.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o mrs98.o mrs98.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o mrs98lo.o mrs98lo.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o mrs98ht.o mrs98ht.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o mrs99.o mrs99.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o mrst2001.o mrst2001.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o mrst2002.o mrst2002.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o jeppe02.o jeppe02.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o pdfwrap.o pdfwrap.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o opendata.o opendata.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o pdf.o pdf.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o PhotonFlux.o PhotonFlux.f
    gfortran -O -w -fbounds-check -ffixed-line-length-132 -c -o pdg2pdf.o pdg2pdf.f
    ar cru ../../lib/libpdf.a Ctq4Fn.o Ctq5Par.o Ctq5Pdf.o Partonx5.o Ctq6Pdf.o cteq3.o mrs98.o mrs98lo.o mrs98ht.o mrs99.o mrst2001.o mrst2002.o jeppe02.o pdfwrap.o opendata.o pdf.o PhotonFlux.o pdg2pdf.o
    ranlib ../../lib/libpdf.a
    make[1]: Leaving directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade_new/Source/PDF'
    cd MODEL; make
    make[1]: Entering directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade_new/Source/MODEL'
    gfortran -O -ffixed-line-length-132 -c couplings.f
    couplings.f:99: Error: Can't open included file '../../dcascade/Source/genps.inc'
    make[1]: *** [couplings.o] Error 1
    make[1]: Leaving directory `/home/chill/Research/MG5_aMC_v2_1_1/dcascade_new/Source/MODEL'
    make: *** [../lib/libmodel.a] Error 2

Is there something else that I should change in the makefile? Or is this error something completely new?

Thanks,

Andrew

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

Did you remove all the compile file in the model directory?

Otherwise I'm surprise about this line:
  couplings.f:99: Error: Can't open included file '../../dcascade/Source/genps.inc'

This sounds that your model needs a file which is missing. This is not standard, I guess that you need to rename it to ../../dcascade_new/Source/genps.inc

But can't help you for that.

Cheers,

Olivier

Revision history for this message
Andrew Oana (andrew-oana) said :
#4

Thanks Olivier Mattelaer, that solved my question.