"make testprog" doesn't work

Asked by Ezequiel Alvarez on 2011-09-29

Hello,

I'm trying to introduce a user-model in MG5 but in the old fashion (using model_v4). I do everything as always, the "./ConversionScript.pl" script works OK, but when I put "make testprog" comes out the following. We have tried installing many packages, but we don't hit the correct one. If you got any idea we will be grateful. Thanks in advance, Ezequiel.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
f77 -ffixed-line-length-132 -c -o lha_reading.o lha_reading.f
   lh_readin:
Error on line 89: unclassifiable statement (starts "exit")
Error on line 140: Declaration error for zero: attempt to use undefined variable
Warning on line 140: inconsistent calling sequences for set_it,
 arg 7: here real variable, previously double precision variable.
Warning on line 153: local variable i never used
Warning on line 153: local variable l2 never used
Warning on line 153: local variable id never used
Warning on line 153: local variable real_value never used
Warning on line 153: local variable vus never used
Warning on line 153: local variable npara never used
   set_it:
Error on line 188: unclassifiable statement (starts "exit")
   case_trap:
   open_file_mdl:
Error on line 268: unclassifiable statement (starts "exit")
Warning on line 278: local variable dirup never used
   no_spaces:
Warning on line 322: local variable j never used
Warning on line 322: local variable maxlength never used
/usr/bin/f77: aborting compilation
make: *** [lha_reading.o] Error 25

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2011-09-29
Last reply:
2011-10-01

Hi,

its looks like that this might be a compiler issue. Could you try to install gfortran. and to change the compiler in the makefile.
Maybe this will works better. (Don't forget to remove all .o files before starting to re-compile)

Otherwise, could you send to us your model?

Cheers,

Olivier

Johan Alwall (johan-alwall) said : #2

Hello Ezequiel,

For the usrmod in MG5, the default Fortran compiler on the system is
used, which is apparently f77 on your system. This compiler is
deprecated, and gfortran is recommended. Please set the compiler to
gfortran, on a bash-type system you use
export FC=gfortran
before compiling. Please do "rm *.o" before the new compilation.

All the best,
Johan

Can you help with this problem?

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

To post a message you must log in.