]> https://gitweb.dealii.org/ - dealii.git/commit
Avoid using std::cout in a test. 10194/head
authorDavid Wells <drwells@email.unc.edu>
Wed, 13 May 2020 17:37:24 +0000 (13:37 -0400)
committerDavid Wells <drwells@email.unc.edu>
Wed, 13 May 2020 17:37:24 +0000 (13:37 -0400)
commitb39c3b5f16bb8d4e5db7ddda8a042cafcec3ab72
tree85e1422fd29006b2b9de47bfd147f5f424c35649
parent6798213e41231683f8926a3ecd70baa273efac2b
Avoid using std::cout in a test.

This is problematic on misconfigured MPI implementations that print
warnings for one reason or another every time they are run (e.g., the
default MPI implementation on Ubuntu 16.04).

It is easy enough in this case to do the normal thing and print
everything to deallog.
tests/mpi/petsc_step-27.cc
tests/mpi/petsc_step-27.with_p4est=true.with_petsc_with_hypre=true.with_petsc_with_complex=false.mpirun=1.output
tests/mpi/petsc_step-27.with_p4est=true.with_petsc_with_hypre=true.with_petsc_with_complex=false.mpirun=1.output.petsc3.13.0
tests/mpi/petsc_step-27.with_p4est=true.with_petsc_with_hypre=true.with_petsc_with_complex=false.mpirun=2.output
tests/mpi/petsc_step-27.with_p4est=true.with_petsc_with_hypre=true.with_petsc_with_complex=false.mpirun=2.output.petsc3.13.0

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.