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

macOS: Disable ADIOS1 #87

Closed
ax3l opened this issue Apr 12, 2022 · 2 comments
Closed

macOS: Disable ADIOS1 #87

ax3l opened this issue Apr 12, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ax3l
Copy link
Member

ax3l commented Apr 12, 2022

Disable ADIOS1 due to link issues downstream.

See:

@ax3l ax3l added the bug Something isn't working label Apr 12, 2022
@ax3l ax3l self-assigned this Apr 12, 2022
@n01r
Copy link
Member

n01r commented Jul 18, 2022

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.

@ax3l
Copy link
Member Author

ax3l commented Oct 8, 2024

ADIOS1 removed in 0.16.0+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants