From 065669140ac44df1cef6d57caa1cd014fda553cd Mon Sep 17 00:00:00 2001 From: Rishav Mishra Date: Fri, 17 Jul 2026 09:57:37 -0400 Subject: [PATCH 1/2] Use sc_MPI_Sendrecv in vector handler --- cmake/thirdparty.json | 2 +- src/t8_data/t8_vector_handler.hxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmake/thirdparty.json b/cmake/thirdparty.json index f3e51f1df7..3357f4a456 100644 --- a/cmake/thirdparty.json +++ b/cmake/thirdparty.json @@ -16,7 +16,7 @@ "source": { "type": "git", "url": "https://github.com/cburstedde/libsc.git", - "ref": "f8c5099bd5ad553c1bf6e34dc7b6c290f3cc3cca", + "ref": "359f5fe542b7877fc7a71b59a77e5abf0df793d5", "shallow": "TRUE" } }, diff --git a/src/t8_data/t8_vector_handler.hxx b/src/t8_data/t8_vector_handler.hxx index 5d7b96bec2..6f51f111d0 100644 --- a/src/t8_data/t8_vector_handler.hxx +++ b/src/t8_data/t8_vector_handler.hxx @@ -339,8 +339,8 @@ struct t8_vector_handler: public t8_abstract_vector_handler /* Compute sizes of outgoing and incoming messages */ const int send_num_bytes = buffer_size (comm); int recv_num_bytes = 0; - int mpiret = MPI_Sendrecv (&send_num_bytes, 1, sc_MPI_INT, dest, tag, &recv_num_bytes, 1, sc_MPI_INT, source, tag, - comm, status); + int mpiret = sc_MPI_Sendrecv (&send_num_bytes, 1, sc_MPI_INT, dest, tag, &recv_num_bytes, 1, sc_MPI_INT, source, + tag, comm, status); SC_CHECK_MPI (mpiret); /* Prepare send buffer */ @@ -352,7 +352,7 @@ struct t8_vector_handler: public t8_abstract_vector_handler std::vector recv_buffer (recv_num_bytes); /* Actual sendrecv of data */ - mpiret = MPI_Sendrecv ( + mpiret = sc_MPI_Sendrecv ( /* send payload */ send_buffer.data (), send_num_bytes, sc_MPI_PACKED, dest, tag, /* receive payload */ From 80702b198a828a00fdc8b86f7dbe1c20eb0afaef Mon Sep 17 00:00:00 2001 From: Rishav Mishra Date: Fri, 17 Jul 2026 10:09:51 -0400 Subject: [PATCH 2/2] Disable shallow clone for pinned libsc commit --- cmake/thirdparty.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/thirdparty.json b/cmake/thirdparty.json index 3357f4a456..b31ab5683c 100644 --- a/cmake/thirdparty.json +++ b/cmake/thirdparty.json @@ -17,7 +17,7 @@ "type": "git", "url": "https://github.com/cburstedde/libsc.git", "ref": "359f5fe542b7877fc7a71b59a77e5abf0df793d5", - "shallow": "TRUE" + "shallow": "FALSE" } }, {