Comments (2)
Sorry for the slow reply. DUMPI isn't being actively developed and we're stretched pretty thin at the moment for supporting the package.
I can reproduce your error with openmpi-4.1.0 and it looks like there are now asserts enforcing MPI 3 compliance that are breaking dumpi. It'll take me some time to implement a fix for this. In the meantime, you should be able to use this patch to get things running (yes, it's an ugly hack...):
diff --git a/acinclude/mpitypes.m4 b/acinclude/mpitypes.m4
index 9fe2553..142818e 100644
--- a/acinclude/mpitypes.m4
+++ b/acinclude/mpitypes.m4
@@ -77,12 +77,8 @@ AC_DEFINE(DUMPI_HAVE_MPI_PACKED, [1])
AC_DEFINE(DUMPI_DATATYPE_MPI_PACKED, [MPI_PACKED])
AH_TEMPLATE([DUMPI_HAVE_MPI_LB], [defined if MPI_LB is available])
AH_TEMPLATE([DUMPI_DATATYPE_MPI_LB], [Map DUMPI types to MPI])
-AC_DEFINE(DUMPI_HAVE_MPI_LB, [1])
-AC_DEFINE(DUMPI_DATATYPE_MPI_LB, [MPI_LB])
AH_TEMPLATE([DUMPI_HAVE_MPI_UB], [defined if MPI_UB is available])
AH_TEMPLATE([DUMPI_DATATYPE_MPI_UB], [Map DUMPI types to MPI])
-AC_DEFINE(DUMPI_HAVE_MPI_UB, [1])
-AC_DEFINE(DUMPI_DATATYPE_MPI_UB, [MPI_UB])
AH_TEMPLATE([DUMPI_HAVE_MPI_FLOAT_INT], [defined if MPI_FLOAT_INT is available])
AH_TEMPLATE([DUMPI_DATATYPE_MPI_FLOAT_INT], [Map DUMPI types to MPI])
AC_DEFINE(DUMPI_HAVE_MPI_FLOAT_INT, [1])
@@ -107,4 +103,4 @@ AH_TEMPLATE([DUMPI_HAVE_MPI_LONG_DOUBLE_INT], [defined if MPI_LONG_DOUBLE_INT is
AH_TEMPLATE([DUMPI_DATATYPE_MPI_LONG_DOUBLE_INT], [Map DUMPI types to MPI])
AC_DEFINE(DUMPI_HAVE_MPI_LONG_DOUBLE_INT, [1])
AC_DEFINE(DUMPI_DATATYPE_MPI_LONG_DOUBLE_INT, [MPI_LONG_DOUBLE_INT])
-])
\ No newline at end of file
+])
diff --git a/configure.ac b/configure.ac
index 1220653..9fdff20 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,6 +137,17 @@ else
fi
AC_SUBST([HAVE_DOT])
+AC_DEFINE(DUMPI_SKIP_MPI_TYPE_HVECTOR, [1])
+AC_DEFINE(DUMPI_SKIP_MPI_TYPE_HINDEXED, [1])
+AC_DEFINE(DUMPI_SKIP_MPI_TYPE_STRUCT, [1])
+AC_DEFINE(DUMPI_SKIP_MPI_ADDRESS, [1])
+AC_DEFINE(DUMPI_SKIP_MPI_ERRHANDLER_CREATE, [1])
+AC_DEFINE(DUMPI_SKIP_MPI_ERRHANDLER_SET, [1])
+AC_DEFINE(DUMPI_SKIP_MPI_ERRHANDLER_GET, [1])
+AC_DEFINE(DUMPI_SKIP_MPI_TYPE_EXTENT, [1])
+AC_DEFINE(DUMPI_SKIP_MPI_TYPE_LB, [1])
+AC_DEFINE(DUMPI_SKIP_MPI_TYPE_UB, [1])
+
AC_CONFIG_FILES([
Makefile
dumpi/Makefile
diff --git a/dumpi/libdumpi/data.c b/dumpi/libdumpi/data.c
index 7d2de76..f21484d 100644
--- a/dumpi/libdumpi/data.c
+++ b/dumpi/libdumpi/data.c
@@ -70,8 +70,6 @@ const MPI_Datatype dumpi_mpi_datatype_match[DUMPI_FIRST_USER_DATATYPE] = {
DUMPI_DATATYPE_MPI_UNSIGNED_LONG_LONG,
DUMPI_DATATYPE_MPI_LONG_LONG,
DUMPI_DATATYPE_MPI_PACKED,
- DUMPI_DATATYPE_MPI_LB,
- DUMPI_DATATYPE_MPI_UB,
DUMPI_DATATYPE_MPI_FLOAT_INT,
DUMPI_DATATYPE_MPI_DOUBLE_INT,
DUMPI_DATATYPE_MPI_LONG_INT,
@@ -96,4 +94,4 @@ const MPI_Op dumpi_mpi_op_match[DUMPI_FIRST_USER_OP] = {
DUMPI_OP_MPI_MAXLOC,
DUMPI_OP_MPI_REPLACE,
MPI_OP_NULL
-};
\ No newline at end of file
+};
diff --git a/dumpi/libdumpi/mpibindings.h b/dumpi/libdumpi/mpibindings.h
index 1757bd1..6367e22 100644
--- a/dumpi/libdumpi/mpibindings.h
+++ b/dumpi/libdumpi/mpibindings.h
@@ -345,27 +345,18 @@ extern "C" {
#if DUMPI_HAVE_MPI_COMBINER_VECTOR
case MPI_COMBINER_VECTOR: return DUMPI_COMBINER_VECTOR;
#endif
-#if DUMPI_HAVE_MPI_COMBINER_HVECTOR_INTEGER
- case MPI_COMBINER_HVECTOR_INTEGER: return DUMPI_COMBINER_HVECTOR_INTEGER;
-#endif
#if DUMPI_HAVE_MPI_COMBINER_HVECTOR
case MPI_COMBINER_HVECTOR: return DUMPI_COMBINER_HVECTOR;
#endif
#if DUMPI_HAVE_MPI_COMBINER_INDEXED
case MPI_COMBINER_INDEXED: return DUMPI_COMBINER_INDEXED;
#endif
-#if DUMPI_HAVE_MPI_COMBINER_HINDEXED_INTEGER
- case MPI_COMBINER_HINDEXED_INTEGER: return DUMPI_COMBINER_HINDEXED_INTEGER;
-#endif
#if DUMPI_HAVE_MPI_COMBINER_HINDEXED
case MPI_COMBINER_HINDEXED: return DUMPI_COMBINER_HINDEXED;
#endif
#if DUMPI_HAVE_MPI_COMBINER_INDEXED_BLOCK
case MPI_COMBINER_INDEXED_BLOCK: return DUMPI_COMBINER_INDEXED_BLOCK;
#endif
-#if DUMPI_HAVE_MPI_COMBINER_STRUCT_INTEGER
- case MPI_COMBINER_STRUCT_INTEGER: return DUMPI_COMBINER_STRUCT_INTEGER;
-#endif
#if DUMPI_HAVE_MPI_COMBINER_STRUCT
case MPI_COMBINER_STRUCT: return DUMPI_COMBINER_STRUCT;
#endif
@@ -955,4 +946,4 @@ extern "C" {
} /* End of extern C block */
#endif /* ! __cplusplus */
-#endif /* DUMPI_LIBDUMPI_MPIBINDINGS_H */
\ No newline at end of file
+#endif /* DUMPI_LIBDUMPI_MPIBINDINGS_H */
from sst-dumpi.
fixed in devel via PR #29
from sst-dumpi.
Related Issues (13)
- Configure error HOT 2
- No DUMPI binary files generated HOT 7
- Suspicious values in MPI_Testany records HOT 2
- libundumpi thread value
- DUMPI_UNDEFINED for comm split color
- memory leaks in dumpi2dumpi and dumpi2ascii
- How can I get trace file from python script?
- test issue
- Issue while building sst-dumpi HOT 1
- DUMPI with a Fortran code HOT 1
- Install DUMPI libaray HOT 13
- Error: trace::get_commentry: Invalid communicator index.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sst-dumpi.