Undefined symbols for architecture arm64
Dear MadGraph developers,
I am testing the g g > g g h h process provided in V. Hirschia and O. Mattelaer's paper (arXiv:1507.00020).
I run the following commands:
generate g g > g g h h [sqrvirt=QCD]
output standalone 1
launch 1
Then, I obtained the following results:
|======
|| Results for process gg > gghh (Loop-induced)
|======
|| Phase-Space point specification (E,px,py,pz)
|
| 5.0000000000000
| 5.0000000000000
| 8.2699870436642
| 3.0663344631872
| 1.8939780888763
| 4.2126887435700
|
| Stable kinematic configuration (SPS).
| Estimated relative accuracy = 5.4e-12
|
|| Loop amplitude squared, must be finite:
| Finite = 4.5743546590095
|(| Pole residues, indicated only for checking purposes: )
|( Single pole = 3.7448854569450
|( Double pole = 2.5817274055760
|
|
|| All virtual contributions are of split orders *(QCD=8)
%%%%%%%
Because the above kinematic configuration is different from that in V. Hirschia and O. Mattelaer's paper (arXiv:1507.00020), I tried to change the phase space point. In the file "check_sa.f", I changed the kinematic configuration and uncommented the corresponding part. The details are as follows:
buff(1)=" 0.5000000E+03 0.0000000E+00 0.0000000E+00 0.5000000E+03"
buff(2)=" 0.5000000E+03 0.0000000E+00 0.0000000E+00 -0.5000000E+03"
buff(3)=" 0.1485566E+03 -0.2003506E+02 0.3633427E+02 -0.6872033E+02"
buff(4)=" 0.3228250E+03 -0.9414338E+02 -0.2737137E+03 0.6934538E+02"
buff(5)=" 0.1381181E+03 -0.9598487E+02 -0.8857728E+02 0.4491738E+02"
buff(6)=" 0.3905004E+03 0.2101633E+03 0.3259567E+03 -0.4554243E+02"
C C
C C Here the k,E,px,py,pz are read from the string into the
C momenta array.
C C k=1,2 : incoming
C C k=3,nexternal : outgoing
C C
do i=1,nexternal
read (buff(i),*) k, P(0,i),
enddo
C
C C print the momenta out
C
do i=1,nexternal
write (*,'(i2,
enddo
C
CALL SLOOPMATRIX(
C
write (*,*) "------
write (*,*) "Matrix element = ", MATELEM(1,0), " GeV^", -(2*nexternal-8)
write (*,*) "------
After "make check" command, it reported the following error:
gfortran -w -fPIC -ffixed-
Undefined symbols for architecture arm64:
"_sloopmatrix_", referenced from:
_MAIN__ in check_sa.o
(maybe you meant: _ml5_0_
ld: symbol(s) not found for architecture arm64
collect2: error: ld returned 1 exit status
make: *** [check] Error 1
I am not sure whether it is caused by the inconsistencies of gfortran in ARM architecture. Then, how to solve this bug?
%%%%%%%
I also have another question. It seems that the amplitude is averaged over all helicity and colour configurations, then how to fix a specific helicity configuration?
%%%%%%%
My computer is MacBook Air with Apple M1 and the OS is macOS Ventura.
The gcc version is as follows:
Apple clang version 14.0.3 (clang-
Target: arm64-apple-
Thread model: posix
InstalledDir: /Library/
The gfortran version is "GNU Fortran (Homebrew GCC 13.2.0) 13.2.0".
The MadGraph version is "MG5_aMC_v3_5_3".
%%%%%%%
Best,
Shi-Ping He
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Olivier Mattelaer
- Solved:
- Last query:
- Last reply: