From fd56fe1c6bdb51eeac942e6bef57ac142eb0416c Mon Sep 17 00:00:00 2001 From: Benjamin Brands Date: Wed, 24 Jan 2018 10:12:51 +0100 Subject: [PATCH] adapt output precision in ScaLAPACK test 5 --- tests/scalapack/scalapack_05.cc | 1 + tests/scalapack/scalapack_05.mpirun=1.output | 36 +++++++++---------- tests/scalapack/scalapack_05.mpirun=11.output | 36 +++++++++---------- tests/scalapack/scalapack_05.mpirun=4.output | 36 +++++++++---------- 4 files changed, 55 insertions(+), 54 deletions(-) diff --git a/tests/scalapack/scalapack_05.cc b/tests/scalapack/scalapack_05.cc index b9105209eb..7284d6c334 100644 --- a/tests/scalapack/scalapack_05.cc +++ b/tests/scalapack/scalapack_05.cc @@ -39,6 +39,7 @@ void test(const unsigned int size, const unsigned int block_size) const unsigned int this_mpi_process(Utilities::MPI::this_mpi_process(mpi_communicator)); ConditionalOStream pcout (std::cout, (this_mpi_process ==0)); + pcout << std::setprecision(7); // Create SPD matrices of requested size: FullMatrix full_A(size), inv_A(size); diff --git a/tests/scalapack/scalapack_05.mpirun=1.output b/tests/scalapack/scalapack_05.mpirun=1.output index 475800de92..bb5d10d110 100644 --- a/tests/scalapack/scalapack_05.mpirun=1.output +++ b/tests/scalapack/scalapack_05.mpirun=1.output @@ -1,36 +1,36 @@ 32 32 1 1 -0.410521 0.471758 +0.4105213 0.4717577 64 32 1 1 -0.44694 0.478753 +0.4469398 0.4787526 64 64 1 1 -0.444662 0.485916 +0.4446624 0.4859165 120 32 1 1 -0.459052 0.486953 +0.4590521 0.4869533 120 64 1 1 -0.449937 0.478099 +0.4499374 0.478099 320 32 1 1 -0.466151 0.486539 +0.4661506 0.4865389 320 64 1 1 -0.460383 0.483094 +0.4603832 0.4830939 640 32 1 1 -0.472941 0.487731 +0.4729409 0.4877309 640 64 1 1 -0.471001 0.48693 +0.4710011 0.4869297 32 32 1 1 -0.443368 0.511715 +0.4433681 0.5117154 64 32 1 1 -0.441083 0.474693 +0.4410835 0.4746928 64 64 1 1 -0.446963 0.485188 +0.4469632 0.4851883 120 32 1 1 -0.445718 0.476956 +0.4457178 0.4769557 120 64 1 1 -0.46023 0.484744 +0.4602296 0.4847439 320 32 1 1 -0.46245 0.484004 +0.4624499 0.4840038 320 64 1 1 -0.460946 0.48346 +0.4609459 0.4834603 640 32 1 1 -0.472221 0.492506 +0.472221 0.4925063 640 64 1 1 -0.470315 0.486349 +0.4703145 0.4863485 diff --git a/tests/scalapack/scalapack_05.mpirun=11.output b/tests/scalapack/scalapack_05.mpirun=11.output index 78f86b0bc6..1b4d91c7f9 100644 --- a/tests/scalapack/scalapack_05.mpirun=11.output +++ b/tests/scalapack/scalapack_05.mpirun=11.output @@ -1,36 +1,36 @@ 32 32 1 1 -0.410521 0.471758 +0.4105213 0.4717577 64 32 2 2 -0.44694 0.478753 +0.4469398 0.4787526 64 64 1 1 -0.444662 0.485916 +0.4446624 0.4859165 120 32 3 3 -0.459052 0.486953 +0.4590521 0.4869534 120 64 2 2 -0.449937 0.478099 +0.4499374 0.4780991 320 32 3 3 -0.466151 0.486539 +0.4661506 0.4865389 320 64 3 3 -0.460383 0.483094 +0.4603832 0.4830938 640 32 3 3 -0.472941 0.487731 +0.4729409 0.487731 640 64 3 3 -0.471001 0.48693 +0.4710011 0.4869297 32 32 1 1 -0.443368 0.511715 +0.4433681 0.5117154 64 32 2 2 -0.441083 0.474693 +0.4410835 0.4746928 64 64 1 1 -0.446963 0.485188 +0.4469632 0.4851883 120 32 3 3 -0.445718 0.476956 +0.4457178 0.4769557 120 64 2 2 -0.46023 0.484744 +0.4602296 0.4847439 320 32 3 3 -0.46245 0.484004 +0.4624499 0.4840038 320 64 3 3 -0.460946 0.48346 +0.4609459 0.4834603 640 32 3 3 -0.472221 0.492506 +0.472221 0.4925063 640 64 3 3 -0.470315 0.486349 +0.4703145 0.4863485 diff --git a/tests/scalapack/scalapack_05.mpirun=4.output b/tests/scalapack/scalapack_05.mpirun=4.output index d1f98f13c0..617c6a3f2c 100644 --- a/tests/scalapack/scalapack_05.mpirun=4.output +++ b/tests/scalapack/scalapack_05.mpirun=4.output @@ -1,36 +1,36 @@ 32 32 1 1 -0.410521 0.471758 +0.4105213 0.4717577 64 32 2 2 -0.44694 0.478753 +0.4469398 0.4787526 64 64 1 1 -0.444662 0.485916 +0.4446624 0.4859165 120 32 2 2 -0.459052 0.486953 +0.4590521 0.4869534 120 64 2 2 -0.449937 0.478099 +0.4499374 0.4780991 320 32 2 2 -0.466151 0.486539 +0.4661506 0.4865389 320 64 2 2 -0.460383 0.483094 +0.4603832 0.4830938 640 32 2 2 -0.472941 0.487731 +0.4729409 0.4877309 640 64 2 2 -0.471001 0.48693 +0.4710011 0.4869297 32 32 1 1 -0.443368 0.511715 +0.4433681 0.5117154 64 32 2 2 -0.441083 0.474693 +0.4410835 0.4746928 64 64 1 1 -0.446963 0.485188 +0.4469632 0.4851883 120 32 2 2 -0.445718 0.476956 +0.4457178 0.4769557 120 64 2 2 -0.46023 0.484744 +0.4602296 0.4847439 320 32 2 2 -0.46245 0.484004 +0.4624499 0.4840038 320 64 2 2 -0.460946 0.48346 +0.4609459 0.4834603 640 32 2 2 -0.472221 0.492506 +0.472221 0.4925063 640 64 2 2 -0.470315 0.486349 +0.4703145 0.4863485 -- 2.39.5