In file included from /usr/ports/misc/lbann/work/lbann-caa8e5d/src/objective_functions/weight_regularization/l2.cpp:27:
In file included from /usr/ports/misc/lbann/work/lbann-caa8e5d/include/lbann/objective_functions/weight_regularization/l2.hpp:30:
/usr/ports/misc/lbann/work/lbann-caa8e5d/include/lbann/comm_nb_request.hpp:80:3: error: unknown type name 'MPI_Request'
MPI_Request raw_mpi_req = MPI_REQUEST_NULL;
^
include/lbann/comm_nb_request.hpp is missing the mpi.h include.
This patch fixes this error:
--- include/lbann/comm_nb_request.hpp.orig 2025-01-15 05:37:57 UTC
+++ include/lbann/comm_nb_request.hpp
@@ -33,6 +33,8 @@
#include <Al.hpp>
#endif // LBANN_HAS_ALUMINUM
+#include <mpi.h>
+
namespace lbann {
namespace Al {
Version: 0.104
clang-18
FreeBSD 14.2