Madweight compilation error for data.inc needed by driver.o

Asked by Stephen Lloyd

Hello,

I am trying to get started with MadWeight and picked a simple process to test. I did the following:

./bin/mg5
generate p p > z > mu- mu+
output madweight My_proc
launch My_proc
<selected no when asked to edit param_card.dat as the default values seemed fine for testing>

I then receive the following error:

Error detected in "launch My_proc"
write debug file MG5_debug
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 /scratch/s0821167/build/madweight/My_proc/SubProcesses/P0_qq_ll.
 The compilation fails with the following output message:
     make: *** No rule to make target `data.inc', needed by `driver.o'. Stop.

 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

Regards,
Stephen

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Stephen Lloyd
Solved:
Last query:
Last reply:
Revision history for this message
Stephen Lloyd (slloyd1990) said :
#1

Hello,

I am trying to get started with MadWeight and picked a simple process to test. I did the following:

./bin/mg5
generate p p > z > mu- mu+
output madweight My_proc
launch My_proc
<selected no when asked to edit param_card.dat as the default values seemed fine for testing>

I then receive the following error:

Error detected in "launch My_proc"
write debug file MG5_debug
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 /scratch/s0821167/build/madweight/My_proc/SubProcesses/P0_qq_ll.
 The compilation fails with the following output message:
     make: *** No rule to make target `data.inc', needed by `driver.o'. Stop.

 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

Regards,
Stephen

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

Hi Stephen,

Just to be sure did you use the branch:
lp:~maddevelopers/madgraph5/madweight
or did you use
lp:~maddevelopers/madgraph5/madweight

Cheers,

Olivier

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

Hi Stephen,

Indeed you were right to convert this to question, since this is not a bug.
The command "launch" was not implemented in lp:~maddevelopers/madgraph5/madweight (it is in some other branch which are in alpha status right now)

So for the moment you need to do the following:
cd My_proc
./bin/madweight.py
(For this part you can look at the MW4 tutorial)

Cheers,

Olivier

Revision history for this message
Stephen Lloyd (slloyd1990) said :
#4

Thanks for the help, I re-branched again to make sure and followed the procedure you outlined. It seems to work now and I now have to go about learning how to use it properly. Will there be an option in the future for attaching MadWeight to the end of the run chain MadEvent -> Pythia -> PGS (-> MadWeight?). At the moment, I am manually creating a new process for MadWeight by using the "output madweight My_mw_proc" command and manually moving lhco output from "output My_proc" after running PGS to the appropriate folder.

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

You are the second to ask such functionality, so maybe one day somebody will convince me to do it.
But this is at least not a top priority for the moment to have such loop. (better to finish the new MW version first)

Cheers,

Olivier