Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation on ARM #993

Open
Z10Frank opened this issue Jul 6, 2023 · 2 comments
Open

Compilation on ARM #993

Z10Frank opened this issue Jul 6, 2023 · 2 comments

Comments

@Z10Frank
Copy link

Z10Frank commented Jul 6, 2023

Hello,
I tried to compile the code on my Mac, following the instructions to use home-brew in the documentation, and using

export CXX=g++-12
export CC=gcc-12

I obtain a long error message at the linking phase, does the code support ARM architectures?

[100%] Linking CXX executable bin/hipace.MPI.OMP.DP.LF
Undefined symbols for architecture arm64:
  "__ZN6adios22IO12SetParameterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_", referenced from:
      __ZN7openPMD6detail15BufferedActions17configure_IO_ReadESt8optionalIbE in libopenPMD.a(ADIOS2IOHandler.cpp.o)
...
@SeverinDiederichs
Copy link
Member

Hi Francesco,
thank you for reaching out.

The error seems to come from the openPMD-api, so I'll ping @ax3l, so he can have a look when he is back.

In the meantime, could you try without ADIOS2? If you install both ADIOS2 and HDF5 you can choose the backend. Only one is required and here there seems to be a problem with ADIOS2, so you could remove it from your brew setup and try just with HDF5.

The code does support ARM architectures, I run on my Macbook with an M1 chip, but I used Spack for installing the dependencies of HiPACE++.

@Z10Frank
Copy link
Author

Z10Frank commented Jul 7, 2023

Thank you for the quick answer, I will try!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants