diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e4eab4e6..70b6106f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -26,7 +26,7 @@ jobs: runs-on: ${{matrix.os}} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Configure run: | diff --git a/CITATION.cff b/CITATION.cff index fbc55fb1..1d509d41 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -5,6 +5,6 @@ authors: given-names: Erik orcid: https://orcid.org/0000-0002-4518-9017 title: MPItrampoline -version: v5.2.2 +version: v5.2.3 doi: 10.5281/zenodo.6174408 date-released: 2023-04-11 diff --git a/CMakeLists.txt b/CMakeLists.txt index 60773431..f5d3f76b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.12...3.20) project( - MPItrampoline VERSION 5.2.2 + MPItrampoline VERSION 5.2.3 DESCRIPTION "MPI trampoline" HOMEPAGE_URL "https://github.com/eschnett/MPItrampoline" LANGUAGES NONE diff --git a/mpiabi/mpi_functions_fortran.py b/mpiabi/mpi_functions_fortran.py index 661f37af..21b82890 100755 --- a/mpiabi/mpi_functions_fortran.py +++ b/mpiabi/mpi_functions_fortran.py @@ -680,7 +680,7 @@ ("const MPI_Aint *", "outsize"), ("MPI_Aint *", "position"), ("MPI_Fint *", "ierror"), - ("const size_t *", "datarep_len"), + ("size_t", "datarep_len"), ]), ("void", "MPI_Unpack_external", [ @@ -692,7 +692,7 @@ ("const MPI_Fint *", "outcount"), ("const MPI_Datatype *", "datatype"), ("MPI_Fint *", "ierror"), - ("const size_t *", "datarep_len"), + ("size_t", "datarep_len"), ]), ("void", "MPI_Pack_external_size", [ @@ -701,7 +701,7 @@ ("const MPI_Datatype *", "datatype"), ("MPI_Aint *", "size"), ("MPI_Fint *", "ierror"), - ("const size_t *", "datarep_len"), + ("size_t", "datarep_len"), ]), # 5.3 Barrier Synchronization @@ -1504,7 +1504,7 @@ ("const MPI_Comm *", "comm"), ("const char *", "comm_name"), ("MPI_Fint *", "ierror"), - ("const size_t *", "comm_name_len"), + ("size_t", "comm_name_len"), ]), ("void", "MPI_Comm_get_name", [ @@ -1512,14 +1512,14 @@ ("char *", "comm_name"), ("int *", "resultlen"), ("MPI_Fint *", "ierror"), - ("const size_t *", "comm_name_len"), + ("size_t", "comm_name_len"), ]), ("void", "MPI_Type_set_name", [ ("const MPI_Datatype *", "type"), ("const char *", "type_name"), ("MPI_Fint *", "ierror"), - ("const size_t *", "type_name_len"), + ("size_t", "type_name_len"), ]), ("void", "MPI_Type_get_name", [ @@ -1527,14 +1527,14 @@ ("char *", "type_name"), ("int *", "resultlen"), ("MPI_Fint *", "ierror"), - ("const size_t *", "type_name_len"), + ("size_t", "type_name_len"), ]), ("void", "MPI_Win_set_name", [ ("const MPI_Win *", "win"), ("const char *", "win_name"), ("MPI_Fint *", "ierror"), - ("const size_t *", "win_name_len"), + ("size_t", "win_name_len"), ]), ("void", "MPI_Win_get_name", [ @@ -1542,7 +1542,7 @@ ("char *", "win_name"), ("int *", "resultlen"), ("MPI_Fint *", "ierror"), - ("const size_t *", "win_name_len"), + ("size_t", "win_name_len"), ]), # 7.5 Topology Constructors @@ -1860,14 +1860,14 @@ ("char *", "version"), ("int *", "resultlen"), ("MPI_Fint *", "ierror"), - ("const size_t *", "version_len"), + ("size_t", "version_len"), ]), ("void", "MPI_Get_processor_name", [ ("char *", "name"), ("int *", "resultlen"), ("MPI_Fint *", "ierror"), - ("const size_t *", "name_len"), + ("size_t", "name_len"), ]), # 8.2 Memory Allocation @@ -1971,7 +1971,7 @@ ("char *", "string"), ("int *", "resultlen"), ("MPI_Fint *", "ierror"), - ("const size_t *", "string_len"), + ("size_t", "string_len"), ]), # 8.4 Error Codes and Classes @@ -1999,7 +1999,7 @@ ("const MPI_Fint *", "errorcode"), ("const char *", "string"), ("MPI_Fint *", "ierror"), - ("const size_t *", "string_len"), + ("size_t", "string_len"), ]), ("void", "MPI_Comm_call_errhandler", [ @@ -2066,15 +2066,15 @@ ("const char *", "key"), ("const char *", "value"), ("MPI_Fint *", "ierror"), - ("const size_t *", "key_len"), - ("const size_t *", "value_len"), + ("size_t", "key_len"), + ("size_t", "value_len"), ]), ("void", "MPI_Info_delete", [ ("const MPI_Info *", "info"), ("const char *", "key"), ("MPI_Fint *", "ierror"), - ("const size_t *", "key_len"), + ("size_t", "key_len"), ]), ("void", "MPI_Info_get", [ @@ -2084,8 +2084,8 @@ ("char *", "value"), ("int *", "flag"), ("MPI_Fint *", "ierror"), - ("const size_t *", "key_len"), - ("const size_t *", "value_len"), + ("size_t", "key_len"), + ("size_t", "value_len"), ]), ("void", "MPI_Info_get_valuelen", [ @@ -2094,7 +2094,7 @@ ("int *", "valuelen"), ("int *", "flag"), ("MPI_Fint *", "ierror"), - ("const size_t *", "key_len"), + ("size_t", "key_len"), ]), ("void", "MPI_Info_get_nkeys", [ @@ -2108,7 +2108,7 @@ ("const MPI_Fint *", "n"), ("char *", "key"), ("MPI_Fint *", "ierror"), - ("const size_t *", "key_len"), + ("size_t", "key_len"), ]), ("void", "MPI_Info_dup", [ @@ -2134,8 +2134,8 @@ ("MPI_Comm *", "intercomm"), ("int *", "array_off_errcodes"), ("MPI_Fint *", "ierror"), - ("const size_t *", "command_len"), - ("const size_t *", "argv_len"), + ("size_t", "command_len"), + ("size_t", "argv_len"), ]), ("void", "MPI_Comm_get_parent", [ @@ -2154,8 +2154,8 @@ ("MPI_Comm *", "intercomm"), ("int *", "array_of_errcodes"), ("MPI_Fint *", "ierror"), - ("const size_t *", "arrray_of_commands_len"), - ("const size_t *", "arrray_of_argv_len"), + ("size_t", "arrray_of_commands_len"), + ("size_t", "arrray_of_argv_len"), ]), # 10.4 Establishing Communication @@ -2164,13 +2164,13 @@ ("const MPI_Info *", "info"), ("char *", "port_name"), ("MPI_Fint *", "ierror"), - ("const size_t *", "port_name_len"), + ("size_t", "port_name_len"), ]), ("void", "MPI_Close_port", [ ("const char *", "port_name"), ("MPI_Fint *", "ierror"), - ("const size_t *", "port_name_len"), + ("size_t", "port_name_len"), ]), ("void", "MPI_Comm_accept", [ @@ -2180,7 +2180,7 @@ ("const MPI_Comm *", "comm"), ("MPI_Comm *", "newcomm"), ("MPI_Fint *", "ierror"), - ("const size_t *", "port_name_len"), + ("size_t", "port_name_len"), ]), ("void", "MPI_Comm_connect", [ @@ -2190,7 +2190,7 @@ ("const MPI_Comm *", "comm"), ("MPI_Comm *", "newcomm"), ("MPI_Fint *", "ierror"), - ("const size_t *", "port_name_len"), + ("size_t", "port_name_len"), ]), ("void", "MPI_Publish_name", [ @@ -2198,8 +2198,8 @@ ("const MPI_Info *", "info"), ("const char *", "port_name"), ("MPI_Fint *", "ierror"), - ("const size_t *", "service_name_len"), - ("const size_t *", "port_name_len"), + ("size_t", "service_name_len"), + ("size_t", "port_name_len"), ]), ("void", "MPI_Unpublish_name", [ @@ -2207,8 +2207,8 @@ ("const MPI_Info *", "info"), ("const char *", "port_name"), ("MPI_Fint *", "ierror"), - ("const size_t *", "service_name_len"), - ("const size_t *", "port_name_len"), + ("size_t", "service_name_len"), + ("size_t", "port_name_len"), ]), ("void", "MPI_Lookup_name", [ @@ -2216,8 +2216,8 @@ ("const MPI_Info *", "info"), ("char *", "port_name"), ("MPI_Fint *", "ierror"), - ("const size_t *", "service_name_len"), - ("const size_t *", "port_name_len"), + ("size_t", "service_name_len"), + ("size_t", "port_name_len"), ]), # 10.5 Other Functionality @@ -2609,7 +2609,7 @@ ("const MPI_Info *", "info"), ("MPI_File *", "fh"), ("MPI_Fint *", "ierror"), - ("const size_t *", "filename_len"), + ("size_t", "filename_len"), ]), ("void", "MPI_File_close", [ @@ -2621,7 +2621,7 @@ ("const char *", "filename"), ("const MPI_Info *", "info"), ("MPI_Fint *", "ierror"), - ("const size_t *", "filename_len"), + ("size_t", "filename_len"), ]), ("void", "MPI_File_set_size", [ @@ -2676,7 +2676,7 @@ ("const char *", "datarep"), ("const MPI_Info *", "info"), ("MPI_Fint *", "ierror"), - ("const size_t *", "datarep_len"), + ("size_t", "datarep_len"), ]), ("void", "MPI_File_get_view", [ @@ -2686,7 +2686,7 @@ ("MPI_Datatype *", "filetype"), ("char *", "datarep"), ("MPI_Fint *", "ierror"), - ("const size_t *", "datarep_len"), + ("size_t", "datarep_len"), ]), # 13.4 Data Access