-
Notifications
You must be signed in to change notification settings - Fork 19
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
Ngen build getting an BMI error #50
Comments
The build failure comes from a recent merge of NOAA-OWP/ngen#679 . Still digging into the possible regression. |
Also, looks like the serial build completes OK: |
Doing some investigating led to realizing that the serial build is actually failing due to having build artifacts from the parallel configuration. After a recent NGen update, we started providing compile-time information at runtime by configuring a header file Then, we first build the parallel version (which succeeds because it is linked to MPI as expected), then build the serial version: for BUILD_DIR in
$(if [ "${BUILD_NGEN_PARALLEL}" == "true" ]; then echo "cmake_build_parallel"; fi)
$(if [ "${BUILD_NGEN_SERIAL}" == "true" ]; then echo "cmake_build_serial"; fi)
do
cmake --build $BUILD_DIR --target all -j $(nproc)
done This means the serial build, gets the parallel header, hence why the MPI functions are not defined, but why SolutionConfigure and build each version individually instead of in tandem, such that modify the Dockerfile to do
instead of
Alternative Solution
|
@benlee0423 are we good to close this Issue since mentioned tickets are merged and closed? |
Yeah, we can close this ticket. |
Current behavior
Ngen build getting an error.
Expected behavior
Build without error
Steps to replicate behavior (include URLs)
156 # && ./build_sub extern/test_bmi_cpp
Recent failed action can be found here.
https://github.com/CIROH-UA/NGIAB-CloudInfra/actions/runs/6949391875
Getting the same error in github runner and locally.
The text was updated successfully, but these errors were encountered: