Open ax3l opened 2 years ago
I just encountered similar issues on my MacBook Pro but already during the build/install step after WarpX was configured with -DWarpX_DIMS=2 -DWarpX_COMPUTE=OMP -DWarpX_PSATD=ON
.
This occurred with openPMD-api version 0.14.5 that I downloaded from the conda-forge feedstock.
"/Users/mgarten/Library/Application Support/JetBrains/Toolbox/apps/CLion/ch-0/221.5921.27/CLion.app/Contents/bin/cmake/mac/bin/cmake" --build /Users/mgarten/src/WarpX/cmake-build-issue3232 --target install -j 6
[315/320] Linking CXX shared library lib/libopenPMD.ADIOS1.Serial.dylib
FAILED: lib/libopenPMD.ADIOS1.Serial.dylib
: && /Users/mgarten/opt/anaconda3/envs/warpx-dev/bin/x86_64-apple-darwin13.4.0-clang++ -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/mgarten/opt/anaconda3/envs/warpx-dev/include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -dynamiclib -Wl,-headerpad_max_install_names -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/mgarten/opt/anaconda3/envs/warpx-dev/lib -L/Users/mgarten/opt/anaconda3/envs/warpx-dev/lib -o lib/libopenPMD.ADIOS1.Serial.dylib -install_name @rpath/libopenPMD.ADIOS1.Serial.dylib _deps/fetchedopenpmd-build/CMakeFiles/openPMD.ADIOS1.Serial.dir/src/auxiliary/Filesystem.cpp.o _deps/fetchedopenpmd-build/CMakeFiles/openPMD.ADIOS1.Serial.dir/src/ChunkInfo.cpp.o _deps/fetchedopenpmd-build/CMakeFiles/openPMD.ADIOS1.Serial.dir/src/IO/ADIOS/ADIOS1IOHandler.cpp.o /Users/mgarten/opt/anaconda3/envs/warpx-dev/lib/libadios_nompi.a /Users/mgarten/opt/anaconda3/envs/warpx-dev/lib/libz.dylib /Users/mgarten/opt/anaconda3/envs/warpx-dev/lib/libbz2.dylib /Users/mgarten/opt/anaconda3/envs/warpx-dev/lib/libblosc.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)
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
[316/320] Building CXX object _deps/fetchedopenpmd-build/CMakeFiles/openPMD.ADIOS1.Parallel.dir/src/IO/ADIOS/ParallelADIOS1IOHandler.cpp.o
ninja: build stopped: subcommand failed.
Disable ADIOS1 due to link issues downstream.
See: