Compilation issues

Asked by Nikita

Good day! Recently i tried to generate events from my own model but compilation process ends with following message:

Error detected in "generate_events run_01"
write debug file /home/nikita/uuuu/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/madgraph5
MadGraph5Error : A compilation Error occurs when trying to compile /home/nikita/uuuu/Source.
        The compilation fails with the following output message:
            gfortran -O -w -ffixed-line-length-132 -c -o dsample.o dsample.f
            gfortran -O -w -ffixed-line-length-132 -c -o alfas_functions.o alfas_functions.f
            gfortran -O -w -ffixed-line-length-132 -c -o transpole.o transpole.f
            gfortran -O -w -ffixed-line-length-132 -c -o invarients.o invarients.f
            gfortran -O -w -ffixed-line-length-132 -c -o hfill.o hfill.f
            gfortran -O -w -ffixed-line-length-132 -c -o pawgraphs.o pawgraphs.f
            gfortran -O -w -ffixed-line-length-132 -c -o ran1.o ran1.f
            gfortran -O -w -ffixed-line-length-132 -c -o rw_events.o rw_events.f
            gfortran -O -w -ffixed-line-length-132 -c -o kin_functions.o kin_functions.f
            gfortran -O -w -ffixed-line-length-132 -c -o basecode.o basecode.f
            gfortran -O -w -ffixed-line-length-132 -c -o setrun.o setrun.f
            gfortran -O -w -ffixed-line-length-132 -c -o run_printout.o run_printout.f
            gfortran -O -w -ffixed-line-length-132 -c -o dgauss.o dgauss.f
            gfortran -O -w -ffixed-line-length-132 -c -o readgrid.o readgrid.f
            gfortran -O -w -ffixed-line-length-132 -c -o getissud.o getissud.f
            cd DHELAS; make
            cd PDF; make
            make[1]: Entering directory `/home/nikita/uuuu/Source/DHELAS'
            make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
            gfortran -O -w -ffixed-line-length-132 -c -o httsxx.o httsxx.F
            make[1]: Entering directory `/home/nikita/uuuu/Source/PDF'
            make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
            gfortran -O -w -ffixed-line-length-132 -c -o Ctq4Fn.o Ctq4Fn.f
            gfortran -O -w -ffixed-line-length-132 -c -o Ctq5Par.o Ctq5Par.f
            gfortran -O -w -ffixed-line-length-132 -c -o hstlxx.o hstlxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o hvvshx.o hvvshx.F
            gfortran -O -w -ffixed-line-length-132 -c -o Ctq5Pdf.o Ctq5Pdf.f
            gfortran -O -w -ffixed-line-length-132 -c -o vvvtlx.o vvvtlx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jvvtlx.o jvvtlx.F
            gfortran -O -w -ffixed-line-length-132 -c -o Partonx5.o Partonx5.f
            gfortran -O -w -ffixed-line-length-132 -c -o Ctq6Pdf.o Ctq6Pdf.f
            gfortran -O -w -ffixed-line-length-132 -c -o uvvvlx.o uvvvlx.F
            gfortran -O -w -ffixed-line-length-132 -c -o sstlxx.o sstlxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o usslxx.o usslxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o cteq3.o cteq3.f
            gfortran -O -w -ffixed-line-length-132 -c -o hvvhxx.o hvvhxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o hvvvxx.o hvvvxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o httaxx.o httaxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o vvsshx.o vvsshx.F
            gfortran -O -w -ffixed-line-length-132 -c -o mrs98.o mrs98.f
            gfortran -O -w -ffixed-line-length-132 -c -o jvsshx.o jvsshx.F
            gfortran -O -w -ffixed-line-length-132 -c -o ttssxx.o ttssxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o utssxx.o utssxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o ttsaxx.o ttsaxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jvvsxx.o jvvsxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o mrs98lo.o mrs98lo.f
            gfortran -O -w -ffixed-line-length-132 -c -o vvvsxx.o vvvsxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jvshxx.o jvshxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o utsaxx.o utsaxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o vvshxx.o vvshxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o mrs98ht.o mrs98ht.f
            gfortran -O -w -ffixed-line-length-132 -c -o jvtaxx.o jvtaxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o mrs99.o mrs99.f
            gfortran -O -w -ffixed-line-length-132 -c -o vvtaxx.o vvtaxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o uvvaxx.o uvvaxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o momntx.o momntx.F
            gfortran -O -w -ffixed-line-length-132 -c -o mom2cx.o mom2cx.F
            gfortran -O -w -ffixed-line-length-132 -c -o boostx.o boostx.F
            gfortran -O -w -ffixed-line-length-132 -c -o rotxxx.o rotxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o ixxxxx.o ixxxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o oxxxxx.o oxxxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o vxxxxx.o vxxxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o sxxxxx.o sxxxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o iovxxx.o iovxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o fvixxx.o fvixxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o fvoxxx.o fvoxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jioxxx.o jioxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o j3xxxx.o j3xxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o iosxxx.o iosxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o fsixxx.o fsixxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o mrst2001.o mrst2001.f
            gfortran -O -w -ffixed-line-length-132 -c -o fsoxxx.o fsoxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o hioxxx.o hioxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o vvvxxx.o vvvxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jvvxxx.o jvvxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o mrst2002.o mrst2002.f
            gfortran -O -w -ffixed-line-length-132 -c -o gggxxx.o gggxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jggxxx.o jggxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jeppe02.o jeppe02.f
            gfortran -O -w -ffixed-line-length-132 -c -o vvsxxx.o vvsxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jvsxxx.o jvsxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o hvvxxx.o hvvxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o vssxxx.o vssxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o pdfwrap.o pdfwrap.f
            gfortran -O -w -ffixed-line-length-132 -c -o jssxxx.o jssxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o opendata.o opendata.f
            gfortran -O -w -ffixed-line-length-132 -c -o hvsxxx.o hvsxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o pdf.o pdf.f
            gfortran -O -w -ffixed-line-length-132 -c -o sssxxx.o sssxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o hssxxx.o hssxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o wwwwxx.o wwwwxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o PhotonFlux.o PhotonFlux.f
            gfortran -O -w -ffixed-line-length-132 -c -o pdg2pdf.o pdg2pdf.f
            gfortran -O -w -ffixed-line-length-132 -c -o jwwwxx.o jwwwxx.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/nikita/uuuu/Source/PDF'
            cd MODEL; make
            make[1]: Entering directory `/home/nikita/uuuu/Source/MODEL'
            make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
            make[1]: *** No targets specified and no makefile found. Stop.
            make[1]: Leaving directory `/home/nikita/uuuu/Source/MODEL'
            make: *** [../lib/libmodel.a] Error 2
            make: *** Waiting for unfinished jobs....
            gfortran -O -w -ffixed-line-length-132 -c -o w3w3xx.o w3w3xx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jw3wxx.o jw3wxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o ggggxx.o ggggxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jgggxx.o jgggxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o vvssxx.o vvssxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jvssxx.o jvssxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o hvvsxx.o hvvsxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o ssssxx.o ssssxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o hsssxx.o hsssxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o eaixxx.o eaixxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o eaoxxx.o eaoxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jeexxx.o jeexxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o ioscxx.o ioscxx.f
            gfortran -O -w -ffixed-line-length-132 -c -o fsicxx.o fsicxx.f
            gfortran -O -w -ffixed-line-length-132 -c -o fsocxx.o fsocxx.f
            gfortran -O -w -ffixed-line-length-132 -c -o hiocxx.o hiocxx.f
            gfortran -O -w -ffixed-line-length-132 -c -o iovcxx.o iovcxx.f
            gfortran -O -w -ffixed-line-length-132 -c -o fvicxx.o fvicxx.f
            gfortran -O -w -ffixed-line-length-132 -c -o fvocxx.o fvocxx.f
            gfortran -O -w -ffixed-line-length-132 -c -o jiocxx.o jiocxx.f
            gfortran -O -w -ffixed-line-length-132 -c -o iovgox.o iovgox.f
            gfortran -O -w -ffixed-line-length-132 -c -o fvigox.o fvigox.f
            gfortran -O -w -ffixed-line-length-132 -c -o fvogox.o fvogox.f
            gfortran -O -w -ffixed-line-length-132 -c -o jiogox.o jiogox.f
            gfortran -O -w -ffixed-line-length-132 -c -o iovdmx.o iovdmx.F
            gfortran -O -w -ffixed-line-length-132 -c -o fvidmx.o fvidmx.F
            gfortran -O -w -ffixed-line-length-132 -c -o fvodmx.o fvodmx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jiodmx.o jiodmx.F
            gfortran -O -w -ffixed-line-length-132 -c -o iosgld.o iosgld.f
            gfortran -O -w -ffixed-line-length-132 -c -o fsigld.o fsigld.f
            gfortran -O -w -ffixed-line-length-132 -c -o fsogld.o fsogld.f
            gfortran -O -w -ffixed-line-length-132 -c -o hiogld.o hiogld.f
            gfortran -O -w -ffixed-line-length-132 -c -o iovgld.o iovgld.f
            gfortran -O -w -ffixed-line-length-132 -c -o fvigld.o fvigld.f
            gfortran -O -w -ffixed-line-length-132 -c -o fvogld.o fvogld.f
            gfortran -O -w -ffixed-line-length-132 -c -o jiogld.o jiogld.f
            gfortran -O -w -ffixed-line-length-132 -c -o txxxxx.o txxxxx.f
            gfortran -O -w -ffixed-line-length-132 -c -o txxxx2.o txxxx2.f
            gfortran -O -w -ffixed-line-length-132 -c -o iotxkk.o iotxkk.F
            gfortran -O -w -ffixed-line-length-132 -c -o iovtkk.o iovtkk.F
            gfortran -O -w -ffixed-line-length-132 -c -o vvtxkk.o vvtxkk.F
            gfortran -O -w -ffixed-line-length-132 -c -o ftixkk.o ftixkk.F
            gfortran -O -w -ffixed-line-length-132 -c -o ftoxkk.o ftoxkk.F
            gfortran -O -w -ffixed-line-length-132 -c -o iovkxx.o iovkxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o vvvkxx.o vvvkxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jiokxx.o jiokxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jvvkxx.o jvvkxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o sstxxx.o sstxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o hstxxx.o hstxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o ussxxx.o ussxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o iotxxx.o iotxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o ftixxx.o ftixxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o ftoxxx.o ftoxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o uioxxx.o uioxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o vvtxxx.o vvtxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o uvvxxx.o uvvxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jvtxxx.o jvtxxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o iovtxx.o iovtxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o fvtixx.o fvtixx.F
            gfortran -O -w -ffixed-line-length-132 -c -o fvtoxx.o fvtoxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jiotxx.o jiotxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o uiovxx.o uiovxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o vvvtxx.o vvvtxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jvvtxx.o jvvtxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o uvvvxx.o uvvvxx.F
            gfortran -O -w -ffixed-line-length-132 -c -o ggggtx.o ggggtx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jgggtx.o jgggtx.F
            gfortran -O -w -ffixed-line-length-132 -c -o uggggx.o uggggx.F
            gfortran -O -w -ffixed-line-length-132 -c -o w3w3nx.o w3w3nx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jw3wnx.o jw3wnx.F
            gfortran -O -w -ffixed-line-length-132 -c -o jwwwnx.o jwwwnx.F
            gfortran -O -w -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/nikita/uuuu/Source/DHELAS'

        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
quit

I read https://answers.launchpad.net/madgraph5/+question/206882 but not completely understood what i supposed to do. Help me pls.

Best Regards, Nikita

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 Nikita,

Looks like your MODEL doesn't have a makefile in the associate directory?
If it has, then I would need to you do
cd Source
make
cd Source/MODEL
make

And report the error.

Cheers,

Olivier

Revision history for this message
Nikita (zerousik) said :
#2

I've done what you're said:

~/uuuu/Source$ make
ar cru ../lib/libdsample.a dsample.o ranmar.o
ranlib ../lib/libdsample.a
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 MODEL; make
make[1]: Entering directory `/home/nikita/uuuu/Source/MODEL'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory `/home/nikita/uuuu/Source/MODEL'
make: *** [../lib/libmodel.a] Error 2
~/uuuu/Source$ cd ./MODEL
~/uuuu/Source/MODEL$ make
make: *** No targets specified and no makefile found. Stop.

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

Thanks for the information,

So indeed the file "makefile" is not present in your model.
Did you remove it by mistake?

Cheers,

Olivier

Revision history for this message
Nikita (zerousik) said :
#4

No, "makefile" just was not created when i used "output" operator in my model.
In other models "makefile" was created automatically.
What i have to do now?

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

Hi Nikita,

For UFO model indeed the makefile is created automatically (as well as the full MODEL directory and the content of the DHELAS directory).
But in this case you are using the old model syntax (v4) and in that case the MODEL directory is just a copy/paste of the v4 model.
Three file are requested in the v4 format (particles.dat, interactions.dat, makefile). So this means that your v4 model is not valid.

Could you cross-check that you follows correctly all the step in order to create the model?
If so could you indicate me exactly how you create your model such that I can try to reproduce the problem or see what you did wrong.

Cheers,

Olivier

Revision history for this message
Nikita (zerousik) said :
#6

Hi, Olivier

I get MadGraph output of my model via FeynRules packadge for Wolfram Mathematica 8.0 ("WriteMGOutput[L]" used).
Also i tried to generate events in others models with FeynRules, the resuls is same (official examples included).
FeynRules can output only V4 models and always i having same problems.

Best Regards, Nikita

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

Hi Nikita,

FeynRules didn't support anynore the function WriteMGOutput[L], this is still in the code if someone REALLY want to use MG4.
In order to create a model compatible with MG5 you need to do:
WriteUFO[L]
(instruction can be found on this paper: arXiv:1108.2040)

Cheers,

Olivier

Revision history for this message
Nikita (zerousik) said :
#8

Hi Oliver,

Thank you a lot for help, i understood my mistake!
Problem solved.

Best Regards, Nikita

Revision history for this message
Nikita (zerousik) said :
#9

Thanks Olivier Mattelaer, that solved my question.