From fa4ce11bf112d5bb1711c75b5027504f5fd3d6cf Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 7 Jan 2013 14:21:54 +0000 Subject: [PATCH] Avoid use of deprecated function. git-svn-id: https://svn.dealii.org/trunk@27959 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/mpi/coarse_grid_common.h | 2 +- tests/mpi/matrix_free_01.cc | 2 +- tests/mpi/matrix_free_02.cc | 2 +- tests/mpi/matrix_free_03.cc | 2 +- tests/mpi/p4est_save_01.cc | 8 ++++---- tests/mpi/p4est_save_02.cc | 8 ++++---- tests/mpi/p4est_save_03.cc | 8 ++++---- tests/mpi/parallel_partitioner_01.cc | 4 ++-- tests/mpi/parallel_partitioner_02.cc | 4 ++-- tests/mpi/parallel_partitioner_03.cc | 4 ++-- tests/mpi/parallel_partitioner_04.cc | 4 ++-- tests/mpi/parallel_vector_01.cc | 4 ++-- tests/mpi/parallel_vector_02.cc | 4 ++-- tests/mpi/parallel_vector_03.cc | 4 ++-- tests/mpi/parallel_vector_04.cc | 4 ++-- tests/mpi/parallel_vector_05.cc | 4 ++-- tests/mpi/parallel_vector_06.cc | 4 ++-- tests/mpi/parallel_vector_07.cc | 4 ++-- tests/mpi/parallel_vector_08.cc | 4 ++-- tests/mpi/parallel_vector_09.cc | 4 ++-- tests/mpi/parallel_vector_10.cc | 4 ++-- tests/mpi/parallel_vector_11.cc | 4 ++-- tests/mpi/parallel_vector_12.cc | 4 ++-- tests/mpi/step-48.cc | 2 +- 24 files changed, 49 insertions(+), 49 deletions(-) diff --git a/tests/mpi/coarse_grid_common.h b/tests/mpi/coarse_grid_common.h index 76a4cdda5a..fffee6e19d 100644 --- a/tests/mpi/coarse_grid_common.h +++ b/tests/mpi/coarse_grid_common.h @@ -58,7 +58,7 @@ void write_vtk (const parallel::distributed::Triangulation &tria, if (false) { - int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); // copy the .pvtu and .vtu files diff --git a/tests/mpi/matrix_free_01.cc b/tests/mpi/matrix_free_01.cc index d69a5e9b03..79c00d5063 100644 --- a/tests/mpi/matrix_free_01.cc +++ b/tests/mpi/matrix_free_01.cc @@ -251,7 +251,7 @@ int main (int argc, char ** argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/matrix_free_02.cc b/tests/mpi/matrix_free_02.cc index 108ab8cd75..2578c07dec 100644 --- a/tests/mpi/matrix_free_02.cc +++ b/tests/mpi/matrix_free_02.cc @@ -228,7 +228,7 @@ int main (int argc, char ** argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/matrix_free_03.cc b/tests/mpi/matrix_free_03.cc index 46c88302f2..4e549b746c 100644 --- a/tests/mpi/matrix_free_03.cc +++ b/tests/mpi/matrix_free_03.cc @@ -256,7 +256,7 @@ int main (int argc, char ** argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/p4est_save_01.cc b/tests/mpi/p4est_save_01.cc index b9b0b01dfa..183395474b 100644 --- a/tests/mpi/p4est_save_01.cc +++ b/tests/mpi/p4est_save_01.cc @@ -42,9 +42,9 @@ template void test() { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); - if (Utilities::System::get_this_mpi_process (MPI_COMM_WORLD) == 0) + if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) deallog << "hyper_cube" << std::endl; std::string filename = @@ -96,7 +96,7 @@ void test() << std::endl; } - if (Utilities::System::get_this_mpi_process (MPI_COMM_WORLD) == 0) + if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) deallog << "OK" << std::endl; } @@ -112,7 +112,7 @@ int main(int argc, char *argv[]) (void)argv; #endif - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); diff --git a/tests/mpi/p4est_save_02.cc b/tests/mpi/p4est_save_02.cc index 34a2b763bb..937eddad20 100644 --- a/tests/mpi/p4est_save_02.cc +++ b/tests/mpi/p4est_save_02.cc @@ -42,9 +42,9 @@ template void test() { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); - if (Utilities::System::get_this_mpi_process (MPI_COMM_WORLD) == 0) + if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) deallog << "hyper_cube" << std::endl; std::string filename = @@ -150,7 +150,7 @@ void test() << std::endl; } - if (Utilities::System::get_this_mpi_process (MPI_COMM_WORLD) == 0) + if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) deallog << "OK" << std::endl; } @@ -166,7 +166,7 @@ int main(int argc, char *argv[]) (void)argv; #endif - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); diff --git a/tests/mpi/p4est_save_03.cc b/tests/mpi/p4est_save_03.cc index 88bcf4ca29..dd09750767 100644 --- a/tests/mpi/p4est_save_03.cc +++ b/tests/mpi/p4est_save_03.cc @@ -43,9 +43,9 @@ template void test() { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); - if (Utilities::System::get_this_mpi_process (MPI_COMM_WORLD) == 0) + if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) deallog << "hyper_cube" << std::endl; std::string filename = @@ -161,7 +161,7 @@ void test() << std::endl; } - if (Utilities::System::get_this_mpi_process (MPI_COMM_WORLD) == 0) + if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) deallog << "OK" << std::endl; } @@ -177,7 +177,7 @@ int main (int argc, char *argv[]) (void) argv; #endif - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push (Utilities::int_to_string (myid)); diff --git a/tests/mpi/parallel_partitioner_01.cc b/tests/mpi/parallel_partitioner_01.cc index 595fd2e535..898b54129d 100644 --- a/tests/mpi/parallel_partitioner_01.cc +++ b/tests/mpi/parallel_partitioner_01.cc @@ -25,7 +25,7 @@ void test () { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); unsigned int numproc = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "numproc=" << numproc << std::endl; @@ -117,7 +117,7 @@ int main (int argc, char **argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/parallel_partitioner_02.cc b/tests/mpi/parallel_partitioner_02.cc index 57c0521626..1d016a4bbe 100644 --- a/tests/mpi/parallel_partitioner_02.cc +++ b/tests/mpi/parallel_partitioner_02.cc @@ -24,7 +24,7 @@ void test () { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); unsigned int numproc = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "numproc=" << numproc << std::endl; @@ -90,7 +90,7 @@ int main (int argc, char **argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/parallel_partitioner_03.cc b/tests/mpi/parallel_partitioner_03.cc index d70ffe174d..d3b7c2df31 100644 --- a/tests/mpi/parallel_partitioner_03.cc +++ b/tests/mpi/parallel_partitioner_03.cc @@ -25,7 +25,7 @@ void test () { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); unsigned int numproc = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "numproc=" << numproc << std::endl; @@ -96,7 +96,7 @@ int main (int argc, char **argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/parallel_partitioner_04.cc b/tests/mpi/parallel_partitioner_04.cc index 1bde44a68a..defb95d8af 100644 --- a/tests/mpi/parallel_partitioner_04.cc +++ b/tests/mpi/parallel_partitioner_04.cc @@ -25,7 +25,7 @@ void test () { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); unsigned int numproc = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "numproc=" << numproc << std::endl; @@ -87,7 +87,7 @@ int main (int argc, char **argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/parallel_vector_01.cc b/tests/mpi/parallel_vector_01.cc index e3fc60869b..2836b61528 100644 --- a/tests/mpi/parallel_vector_01.cc +++ b/tests/mpi/parallel_vector_01.cc @@ -24,7 +24,7 @@ void test () { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); unsigned int numproc = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "numproc=" << numproc << std::endl; @@ -68,7 +68,7 @@ int main (int argc, char **argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/parallel_vector_02.cc b/tests/mpi/parallel_vector_02.cc index 69017a26ce..3ad8747346 100644 --- a/tests/mpi/parallel_vector_02.cc +++ b/tests/mpi/parallel_vector_02.cc @@ -24,7 +24,7 @@ void test () { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); unsigned int numproc = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "numproc=" << numproc << std::endl; @@ -79,7 +79,7 @@ int main (int argc, char **argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/parallel_vector_03.cc b/tests/mpi/parallel_vector_03.cc index 3bdf0a5208..c0afd2ecdf 100644 --- a/tests/mpi/parallel_vector_03.cc +++ b/tests/mpi/parallel_vector_03.cc @@ -24,7 +24,7 @@ void test () { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); unsigned int numproc = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "numproc=" << numproc << std::endl; @@ -81,7 +81,7 @@ int main (int argc, char **argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/parallel_vector_04.cc b/tests/mpi/parallel_vector_04.cc index a6b5ff8610..266e9ee3a3 100644 --- a/tests/mpi/parallel_vector_04.cc +++ b/tests/mpi/parallel_vector_04.cc @@ -25,7 +25,7 @@ void test () { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); unsigned int numproc = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "numproc=" << numproc << std::endl; @@ -102,7 +102,7 @@ int main (int argc, char **argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/parallel_vector_05.cc b/tests/mpi/parallel_vector_05.cc index 687de5a424..6720c52a26 100644 --- a/tests/mpi/parallel_vector_05.cc +++ b/tests/mpi/parallel_vector_05.cc @@ -24,7 +24,7 @@ void test () { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); unsigned int numproc = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "numproc=" << numproc << std::endl; @@ -71,7 +71,7 @@ int main (int argc, char **argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/parallel_vector_06.cc b/tests/mpi/parallel_vector_06.cc index 2e1380d482..d465624c1c 100644 --- a/tests/mpi/parallel_vector_06.cc +++ b/tests/mpi/parallel_vector_06.cc @@ -25,7 +25,7 @@ void test () { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); unsigned int numproc = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "numproc=" << numproc << std::endl; @@ -220,7 +220,7 @@ int main (int argc, char **argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/parallel_vector_07.cc b/tests/mpi/parallel_vector_07.cc index 3196817ba2..5470bbc4fe 100644 --- a/tests/mpi/parallel_vector_07.cc +++ b/tests/mpi/parallel_vector_07.cc @@ -24,7 +24,7 @@ void test () { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); unsigned int numproc = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "numproc=" << numproc << std::endl; @@ -96,7 +96,7 @@ int main (int argc, char **argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/parallel_vector_08.cc b/tests/mpi/parallel_vector_08.cc index 405c20e683..034bfb6689 100644 --- a/tests/mpi/parallel_vector_08.cc +++ b/tests/mpi/parallel_vector_08.cc @@ -25,7 +25,7 @@ void test () { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); unsigned int numproc = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "numproc=" << numproc << std::endl; @@ -143,7 +143,7 @@ int main (int argc, char **argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/parallel_vector_09.cc b/tests/mpi/parallel_vector_09.cc index bbb06deb9b..91adb14f95 100644 --- a/tests/mpi/parallel_vector_09.cc +++ b/tests/mpi/parallel_vector_09.cc @@ -24,7 +24,7 @@ void test () { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); unsigned int numproc = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "numproc=" << numproc << std::endl; @@ -116,7 +116,7 @@ int main (int argc, char **argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/parallel_vector_10.cc b/tests/mpi/parallel_vector_10.cc index 284587d450..022aa244bd 100644 --- a/tests/mpi/parallel_vector_10.cc +++ b/tests/mpi/parallel_vector_10.cc @@ -24,7 +24,7 @@ void test () { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); unsigned int numproc = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "numproc=" << numproc << std::endl; @@ -70,7 +70,7 @@ int main (int argc, char **argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/parallel_vector_11.cc b/tests/mpi/parallel_vector_11.cc index ec8bda8fa1..c5742229dd 100644 --- a/tests/mpi/parallel_vector_11.cc +++ b/tests/mpi/parallel_vector_11.cc @@ -25,7 +25,7 @@ void test () { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); unsigned int numproc = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "numproc=" << numproc << std::endl; @@ -164,7 +164,7 @@ int main (int argc, char **argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/parallel_vector_12.cc b/tests/mpi/parallel_vector_12.cc index 4d223b3378..e2f8188f2e 100644 --- a/tests/mpi/parallel_vector_12.cc +++ b/tests/mpi/parallel_vector_12.cc @@ -27,7 +27,7 @@ DeclException2 (ExcNonEqual, void test () { - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); unsigned int numproc = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "numproc=" << numproc << std::endl; @@ -170,7 +170,7 @@ int main (int argc, char **argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) diff --git a/tests/mpi/step-48.cc b/tests/mpi/step-48.cc index d8092d49d8..5802fa21da 100644 --- a/tests/mpi/step-48.cc +++ b/tests/mpi/step-48.cc @@ -386,7 +386,7 @@ int main (int argc, char ** argv) { Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); + unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); deallog.push(Utilities::int_to_string(myid)); if (myid == 0) -- 2.39.5