milc-qcd / milc_qcd

MILC collaboration code for lattice QCD calculations
Other
34 stars 33 forks source link

Inquiry Regarding ARM64 Architecture Support for MILC Application #63

Closed Masterwater-y closed 7 months ago

Masterwater-y commented 7 months ago

I am encountering challenges while attempting to compile ks_imp_rhmc on a machine with the ARM64 architecture.

Below is the error messages, it seems the libraries don't support arm64 /usr/bin/ld: ../libraries/su3.2.a(cs_m_a_mat.2.o): Relocations in generic ELF (EM: 62) /usr/bin/ld: ../libraries/su3.2.a(cs_m_a_mat.2.o): Relocations in generic ELF (EM: 62) /usr/bin/ld: ../libraries/su3.2.a: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status make[1]: *** [Make_template:388: localmake] Error 1

The Makefile works at x86-64 machine Makefile_198.txt

stevengottlieb commented 7 months ago

Did you compile the library files for ARM64? That is, did you

make -f Make_vanilla clean make -f Make_vanilla all

Steven Gottlieb

On Nov 22, 2023, at 11:24 AM, Masterwater-y @.***> wrote:

I am encountering challenges while attempting to compile ks_imp_rhmc on a machine with the ARM64 architecture.

Below is the error messages, it seems the libraries don't support arm64 /usr/bin/ld: ../libraries/su3.2.a(cs_m_a_mat.2.o): Relocations in generic ELF (EM: 62) /usr/bin/ld: ../libraries/su3.2.a(cs_m_a_mat.2.o): Relocations in generic ELF (EM: 62) /usr/bin/ld: ../libraries/su3.2.a: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status make[1]: *** [Make_template:388: localmake] Error 1

The Makefile Makefile_198.txthttps://github.com/milc-qcd/milc_qcd/files/13442054/Makefile_198.txt

— Reply to this email directly, view it on GitHubhttps://github.com/milc-qcd/milc_qcd/issues/63, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABGG3BM4UADEJW7DYHW3E7DYFYRL7AVCNFSM6AAAAAA7WQFLX2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYDMNZQGE2TANI. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Masterwater-y commented 7 months ago

It works, thank you very much