v4 model implementation

Asked by Ian Shoemaker on 2011-09-22

I'm trying to implement the sm_v4 as a check on how to use v4 models in MG5.

If I put "import model_v4 sm_v4" in the top line of the proc_card I get, and simply try:

./bin/newprocess_mg5
./bin/survey 0

I get errors that look compiler related. So I instead run

./bin/newprocess_mg5
./bin/change_compiler.py
./bin/survey 0

And receive the following errors:

Compiling libraries
ar: ../../lib/libdhelas.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
ar: ../../lib/libdhelas.a: Inappropriate file type or format
make[1]: *** [../../lib/libdhelas.a] Error 1
make: *** [../lib/libdhelas.a] Error 2
Error make all in Source not successful

Question information

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

Thanks for the bug report.

could you go to the DHELAS directory (Source/DHELAS)
and perform the following command:
rm *.o
make

it will probably fail but will give to us a bit more of information on why this is not compiling in your case.
Did you use Mac 10.4?

Cheers,

Olivier

Ian Shoemaker (ianmshoe) said : #2

I'm using Mac OS 10.6.7.

After doing rm*.o and make in Source/DHELAS I get:

gfortran -O -w -ffixed-line-length-132 -c -o httsxx.o httsxx.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 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 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 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 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 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 jvtaxx.o jvtaxx.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 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 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 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 jssxxx.o jssxxx.F
gfortran -O -w -ffixed-line-length-132 -c -o hvsxxx.o hvsxxx.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 jwwwxx.o jwwwxx.F
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
ar: ../../lib/libdhelas.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
ar: ../../lib/libdhelas.a: Inappropriate file type or format
make: *** [../../lib/libdhelas.a] Error 1

The good news is that the compilation is 100% fine.
The bad news is that the creation of the archive which crashes (with command ar) and that means that the problem is related to your distribution/program install on it.

Did you already succeed to create library with ar?

Cheers,

Olivier

Johan Alwall (johan-alwall) said : #4

Hello Ian,

I had problems with running on my Mac OS X until I installed gcc 4.6:
http://hpc.sourceforge.net/
I would strongly recommend using this distribution.

Cheers,
Johan

Can you help with this problem?

Provide an answer of your own, or ask Ian Shoemaker for more information if necessary.

To post a message you must log in.