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

Build: MPMD w/ MPI Only #316

Merged
merged 1 commit into from
May 13, 2024
Merged

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented May 12, 2024

Fix no-MPI build logic.

Seen for no-MPI builds in conda-forge/pyamrex-feedstock#19

[ 60%] Building CXX object CMakeFiles/pyAMReX_2d.dir/src/Base/MPMD.cpp.o
$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ -DAMREX_SPACEDIM=2 -DpyAMReX_2d_EXPORTS -I$SRC_DIR/src -I$PREFIX/share/amrex/C_scripts -isystem $PREFIX/include/python3.10 -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/pyamrex-24.05 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -Wall -Wextra -Wpedantic -Wshadow -Woverloaded-virtual -Wunreachable-code -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -pthread -fopenmp -flto -fno-fat-lto-objects -MD -MT CMakeFiles/pyAMReX_2d.dir/src/Base/MPMD.cpp.o -MF CMakeFiles/pyAMReX_2d.dir/src/Base/MPMD.cpp.o.d -o CMakeFiles/pyAMReX_2d.dir/src/Base/MPMD.cpp.o -c $SRC_DIR/src/Base/MPMD.cpp
/home/conda/feedstock_root/build_artifacts/pyamrex_1715553474293/work/src/Base/MPMD.cpp:11:10: fatal error: AMReX_MPMD.H: No such file or directory
   11 | #include <AMReX_MPMD.H>
      |          ^~~~~~~~~~~~~~

Follow-up to #271

cc @siddanib

@ax3l ax3l added bug Something isn't working install Build and installation bug: affects latest release Bug also exists in latest release version component: MPI Domain decomposition and communication labels May 12, 2024
ax3l added a commit to regro-cf-autotick-bot/pyamrex-feedstock that referenced this pull request May 12, 2024
src/Base/CMakeLists.txt Outdated Show resolved Hide resolved
```
[ 60%] Building CXX object CMakeFiles/pyAMReX_2d.dir/src/Base/MPMD.cpp.o
$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ -DAMREX_SPACEDIM=2 -DpyAMReX_2d_EXPORTS -I$SRC_DIR/src -I$PREFIX/share/amrex/C_scripts -isystem $PREFIX/include/python3.10 -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/pyamrex-24.05 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -Wall -Wextra -Wpedantic -Wshadow -Woverloaded-virtual -Wunreachable-code -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -pthread -fopenmp -flto -fno-fat-lto-objects -MD -MT CMakeFiles/pyAMReX_2d.dir/src/Base/MPMD.cpp.o -MF CMakeFiles/pyAMReX_2d.dir/src/Base/MPMD.cpp.o.d -o CMakeFiles/pyAMReX_2d.dir/src/Base/MPMD.cpp.o -c $SRC_DIR/src/Base/MPMD.cpp
/home/conda/feedstock_root/build_artifacts/pyamrex_1715553474293/work/src/Base/MPMD.cpp:11:10: fatal error: AMReX_MPMD.H: No such file or directory
   11 | #include <AMReX_MPMD.H>
      |          ^~~~~~~~~~~~~~
```
@ax3l ax3l force-pushed the fix-nompi-mpmd branch from 52d935e to 39c2152 Compare May 13, 2024 00:41
ax3l added a commit to regro-cf-autotick-bot/pyamrex-feedstock that referenced this pull request May 13, 2024
@ax3l ax3l merged commit 1e1392c into AMReX-Codes:development May 13, 2024
19 checks passed
@ax3l ax3l deleted the fix-nompi-mpmd branch May 13, 2024 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: affects latest release Bug also exists in latest release version bug Something isn't working component: MPI Domain decomposition and communication install Build and installation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants