problem in generate_event for usrmod_v4

Asked by Liucheng Wang

Hello,

I'm using MG5v1.4.8 on my Mac OSX 10.7.5.
Everything goes well when I use sm_v4 or mssm_v4.
This is my first time to define my own model via usrmod_v4.
Firstly I read README file in the usrmod_v4 directory and try to follow the instruction.
Secondly I copy the Template directory and change the proc_card_mg5.dat to do my process.
After ./newprocess, I get the expected Feynman diagrams.
However, when I run generate_events I get the error:

Generating 10000 events with run name run_01
survey run_01
compile directory
/usr/bin/ranlib: archive member: ../../lib/libmodel.a(lha_reading.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: ../../lib/libmodel.a(printout.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: ../../lib/libmodel.a(couplings_test.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: ../../lib/libmodel.a(lha_reading.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: ../../lib/libmodel.a(printout.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: ../../lib/libmodel.a(couplings_test.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
make[1]: *** [../../lib/libmodel.a] Error 1
make: *** [../lib/libmodel.a] Error 2
Error make all in Source not successful

Can someone point me in the right direction?
Thanks very much for your attention.

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Johan Alwall
Solved:
Last query:
Last reply:
Revision history for this message
Best Johan Alwall (johan-alwall) said :
#1

Hello Liucheng,

The reason for this linking error is that you have compiled the model files on one computer (or with one compiler) and then try to link them with another compiler when running MadGraph. Simply do
rm -f *.o *.a
in the model directory before generating your process should solve the problem.

All the best,
Johan

Revision history for this message
Liucheng Wang (liuchengwang) said :
#2

Thanks Johan Alwall, that solved my question.