Skip to content

workarounds to allow aarch64 builds of Gauss sim10 against LCG102b_LHCB_7

Andrea Valassi requested to merge valassi_sim10_aarch64_lhcb7 into master

This MR includes two minor workarounds in LbAmpGen to allow aarch64 builds of Gauss againt LCG102b_LHCB_7, using sim10. It is neeeded for the port of Gauss to ARM issue #87 (closed).

It is a stripped down version of !917 (closed), which included many temporary patches that were necessary when 102b_LHCB_7 was not yet there. Now that 102b_LHCB_7 has been built for ARM by EP-SFT, most other issues (eg in Boost, Pythia etc) are fixed and only LbAmpGen remains.

I mark this as "Draft", but this is actually a complete patch as far as I can tell. Something must be done in LbAmpGen for two issues

  • First, there is a hardcoded "-march=x86" that must be changed for aarch64
  • Second, I got a strange error in my ARM podman container, maybe the USER env variable is not defined or defined in a strange way, anyway there is a direct call to "getenv(USER)" in the ampgen cpp code that gives an issue. Both of these should probably be reported to and fixed in ampgen upstream. But for the moment these are Gauss workarounds against the current ampgen.
Edited by Andrea Valassi

Merge request reports