Compilation error on Mac OS 10.14.5 after installing Pythia & Delphes
Dear MG group:
I am asking a question about the latest MG on Mac OS 10.14.5. MG runs well before installing Pythia & Delphes. After the installation, I saw the following compilation errors.
generate_events run_01
Traceback (most recent call last):
File "/Users/
return self.onecmd_
File "/Users/
return func(arg, **opt)
File "/Users/
self.
File "/Users/
original_
File "/Users/
self.
File "/Users/
stop = Cmd.onecmd_
File "/Users/
return func(arg, **opt)
File "/Users/
jobs, P_zero_result = ajobcreator.
File "/Users/
self.
File "/Users/
return misc.compile(
File "/Users/
raise MadGraph5Error(
madgraph.
The compilation fails with the following output message:
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -o madevent driver.o myamp.o genps.o unwgt.o setcuts.o get_color.o cuts.o cluster.o reweight.o initcluster.o addmothers.o setscales.o idenparts.o dummy_fct.o auto_dsig.o auto_dsig1.o matrix1.o -L../../lib/ -ldhelas -ldsample -lmodel -lgeneric -lpdf - lcernlib -lbias -lc++ -mmacosx-
ld: warning: object file (driver.o) was built for newer OSX version (10.14) than being linked (10.8)
ld: warning: object file (myamp.o) was built for newer OSX version (10.14) than being linked (10.8)
ld: warning: object file (genps.o) was built for newer OSX version (11.14) than being linked (10.8)
ld: warning: object file (unwgt.o) was built for newer OSX version (10.14) than being linked (10.8)
ld: warning: object file (setcuts.o) was built for newer OSX version (10.14) than being linked (10.8)
ld: warning: object file (get_color.o) was built for newer OSX version (10.14) than being linked (10.8)
ld: warning: object file (cuts.o) was built for newer OSX version (10.14) than being linked (10.8)
ld: warning: object file (reweight.o) was built for newer OSX version (10.14) than being linked (10.8)
ld: warning: object file (cluster.o) was built for newer OSX version (10.14) than being linked (10.8)
ld: warning: object file (initcluster.o) was built for newer OSX version (10.14) than being linked (10.8)
ld: warning: object file (addmothers.o) was built for newer OSX version (10.14) than being linked (10.8)
ld: warning: object file (setscales.o) was built for newer OSX version (10.14) than being linked (10.8)
ld: warning: object file (idenparts.o) was built for newer OSX version (10.14) than being linked (10.8)
ld: warning: object file (dummy_fct.o) was built for newer OSX version (10.14) than being linked (10.8)
ld: warning: object file (auto_dsig.o) was built for newer OSX version (10.14) than being linked (10.8)
ld: warning: object file (auto_dsig1.o) was built for newer OSX version (10.14) than being linked (10.8)
ld: warning: object file (matrix1.o) was built for newer OSX version (10.14) than being linked (10.8)
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
ld: warning: object file (../../
Undefined symbols for architecture x86_64:
_fdist_ in libpdf.a(pdf.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [madevent] Error 1
I was generating some t t~ events for testing.
generate p p > t t~
output pp2tt
launch
Do you have any ideas? Let me know if you need more information.
Best regards,
Ligang
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- LIGANG XIA
- Solved:
- 2021-01-28
- Last query:
- 2021-01-28
- Last reply:
- 2021-01-25
Those are warnings that are technically fine.
lhapdf needs us to compile some part of the code with flags forcing to compile for Macos 10.8
and those flags generated such warning.
CHeers,
Olivier
> On 25 Jan 2021, at 13:35, LIGANG XIA <email address hidden> wrote:
>
> New question #695181 on MadGraph5_aMC@NLO:
> https:/
>
> Dear MG group:
>
> I am asking a question about the latest MG on Mac OS 10.14.5. MG runs well before installing Pythia & Delphes. After the installation, I saw the following compilation errors.
>
> gfortran -o madevent driver.o myamp.o genps.o unwgt.o setcuts.o get_color.o cuts.o cluster.o reweight.o initcluster.o addmothers.o setscales.o idenparts.o dummy_fct.o auto_dsig.o auto_dsig1.o matrix1.o -L../../lib/ -ldhelas -ldsample -lmodel -lgeneric -lpdf -lcernlib - lbias -lc++ -mmacosx-
> ld: warning: object file (driver.o) was built for newer OSX version (10.14) than being linked (10.8)
> ld: warning: object file (myamp.o) was built for newer OSX version (10.14) than being linked (10.8)
> ld: warning: object file (genps.o) was built for newer OSX version (10.14) than being linked (10.8)
> ld: warning: object file (unwgt.o) was built for newer OSX version (10.14) than being linked (10.8)
> ld: warning: object file (setcuts.o) was built for newer OSX version (10.14) than being linked (10.8)
> ld: warning: object file (get_color.o) was built for newer OSX version (10.14) than being linked (10.8)
> ld: warning: object file (cuts.o) was built for newer OSX version (10.14) than being linked (10.8)
> ld: warning: object file (reweight.o) was built for newer OSX version (10.14) than being linked (10.8)
> ld: warning: object file (cluster.o) was built for newer OSX version (10.14) than being linked (10.8)
> ld: warning: object file (initcluster.o) was built for newer OSX version (10.14) than being linked (10.8)
> ld: warning: object file (addmothers.o) was built for newer OSX version (10.14) than being linked (10.8)
> ld: warning: object file (setscales.o) was built for newer OSX version (10.14) than being linked (10.8)
> ld: warning: object file (idenparts.o) was built for newer OSX version (10.14) than being linked (10.8)
> ld: warning: object file (dummy_fct.o) was built for newer OSX version (10.14) than being linked (10.8)
> ld: warning: object file (auto_dsig.o) was built for newer OSX version (10.14) than being linked (10.8)
> ld: warning: object file (auto_dsig1.o) was built for newer OSX version (10.14) than being linked (10.8)
> ld: warning: object file (matrix1.o) was built for newer OSX version (10.14) than being linked (10.8)
>
> I was generating some t t~ events for testing.
>
> generate p p > t t~
> output pp2tt
> launch
>
> Do you have any ideas? Let me know if you need more information.
>
> Best regards,
> Ligang
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.
LIGANG XIA (xialigang) said : | #2 |
Dear Olivier,
Thanks very much for your quick reply. I thought what I described in the question is the key. But could you please take another at the information I updated just now? This is nearly all information form ME5_DEBUG. There is a compilation error. I thought it's probably related to the warnings.
Best regards,
Ligang
LIGANG XIA (xialigang) said : | #3 |
Hi,
I find the problem is not due to Mac version. it is because I used different Photonflux and pdg2pdf (to study photon-photon interactions in Nucleus-Nucleus collisions) in the new MG v2.8.2. If I use MG v2.7.3, there is no this problem.
Cheers,
Ligang