picmi-standard / picmi

Standard input format for Particle-In-Cell codes
https://picmi.readthedocs.io
Other
35 stars 25 forks source link

Compilation issue with ADIOS+conda on MacOS #87

Closed RemiLehe closed 1 year ago

RemiLehe commented 1 year ago

When installing dependencies with conda (https://warpx.readthedocs.io/en/latest/install/dependencies.html#conda-linux-macos-windows) on MacOS, I get the following error when compiling WarpX:

[  3%] Linking CXX shared library ../../lib/libopenPMD.ADIOS1.Serial.dylib
ld: warning: -pie being ignored. It is only used when linking a main executable
Undefined symbols for architecture x86_64:
  "openPMD::internal::operationAsString(openPMD::Operation)", referenced from:
      openPMD::ADIOS1IOHandlerImpl::flush() in ADIOS1IOHandler.cpp.o
ld: symbol(s) not found for architecture x86_64
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [_deps/fetchedopenpmd-build/CMakeFiles/openPMD.ADIOS1.Serial.dir/build.make:133: lib/libopenPMD.ADIOS1.Serial.dylib] Error 1
RemiLehe commented 1 year ago

Sorry, this should have been a WarpX issue. I reproduced it here: https://github.com/ECP-WarpX/WarpX/issues/3541