Error generating events from imported MG4 models
I am working on generating events from a custom model file in MadGvent 5.
Originally I was working in MG4, so that is what version both the proc cards and model files are in.
The bin/newprocess command works, and generates the correct diagrams for my event.
When I try to use the bin/generate_events command, the program quickly exits and reaches the following error:
httsxx.F: In subroutine `httsxx':
httsxx.F:24:
include "dimension.inc"
^
Unable to open INCLUDE file `dimension.inc' at (^)
httsxx.F:25:
double complex tc1(DIM)
Invalid declaration of or reference to symbol `dim' at (^) [initially seen at (^)]
httsxx.F:1:
subroutine httsxx(
httsxx.F:36: (continued):
htts(2) = sc(2) + tc2(17) + tc1(17)
2
Invalid declaration of or reference to symbol `tc1' at (2) [initially seen at (1)]
httsxx.F:1:
subroutine httsxx(
httsxx.F:36: (continued):
htts(2) = sc(2) + tc2(17) + tc1(17)
2
Invalid declaration of or reference to symbol `tc2' at (2) [initially seen at (1)]
httsxx.F:1:
subroutine httsxx(
httsxx.F:36: (continued):
htts(2) = sc(2) + tc2(17) + tc1(17)
2
Invalid declaration of or reference to symbol `sc' at (2) [initially seen at (1)]
httsxx.F:1:
subroutine httsxx(
httsxx.F:36: (continued):
htts(2) = sc(2) + tc2(17) + tc1(17)
2
Invalid declaration of or reference to symbol `htts' at (2) [initially seen at (1)]
make[1]: *** [httsxx.o] Error 1
make: *** [../lib/
Error make all in Source not successful
Since this happened the first time, I generated events in a direct copy of the template folder with no problems, but reached the same issue when attempting to generate events with the template's proc card but looking at the sm_v4 instead of sm.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Olivier Mattelaer
- Solved:
- 2011-09-22
- Last query:
- 2011-09-22
- Last reply:
- 2011-09-21
This is a pure compiler problem.
(I don't now why it occur sometimes and not always)
So the solution is to use gfortran instead.
The way to do is currently:
after the output command, you quit mg5
then you go to the directory and launch
./bin/change_
after that you can launch
./bin/generate_
Daniel Duffty (dduffty) said : | #2 |
After using this command, I tried to generate events again. Again, the program had an error when generating events, but this time different from before. This is importing a model I have generated numerous events, including this exact process, using madgraph 4.
Cleaning directories
Cleaning SubProcesses.
Cleaning directories
../lib/
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
../lib/
../lib/
lha_reading.
lha_reading.
../lib/
lha_reading.
../lib/
lha_reading.
../lib/
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
lha_reading.
../lib/
lha_reading.
lha_reading.
lha_reading.
../lib/
WPWIDTH.
WPWIDTH.
WPWIDTH.
WPWIDTH.
WPWIDTH.
WPWIDTH.
WPWIDTH.
WPWIDTH.
WPWIDTH.
WPWIDTH.
WPWIDTH.
WPWIDTH.
WPWIDTH.
WPWIDTH.
WPWIDTH.
WPWIDTH.
WPWIDTH.
WPWIDTH.
../lib/
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
../lib/
../lib/
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
READMODEL.
../lib/
CONVERTMODEL.
CONVERTMODEL.
CONVERTMODEL.
CONVERTMODEL.
CONVERTMODEL.
CONVERTMODEL.
CONVERTMODEL.
collect2: ld returned 1 exit status
make: *** [../bin/
Error make ../bin/
Hi,
This type of error message are typical when some of the files are compiled with gfortran and some other with g77.
It looks like that your model makefile was not modified correctly maybe because it was set to use f77 and not g77.
So could you check which compiler is use in the following makefile:
Source/
Then change it by gfortran.
and remove all the .o files
and then re-compile everything.
Tell me if this is not solving your trouble.
Cheers,
Olivier
Daniel Duffty (dduffty) said : | #4 |
Thanks Olivier Mattelaer, that solved my question.