On Mon, 10 Oct 2016, Antonio Trande wrote: > This error is disappeared.
Its strange that PetscStrncpy() issues comes up only on this one build. > > Build on RHEL6 systems: > https://copr-be.cloud.fedoraproject.org/results/sagitter/petsc/epel-6-i386/00463135-petsc/build.log.gz > > Build on Fedora 26 (development branch) systems: > https://copr-be.cloud.fedoraproject.org/results/sagitter/petsc/fedora-rawhide-i386/00463135-petsc/build.log.gz > > What does mean the line > > + make -C petsc-3.7.4 test > 'MPIEXEC=/builddir/build/BUILD/petsc-3.7.4/petsc-3.7.4/bin/petscmpiexec > -valgrind' > make: Entering directory '/builddir/build/BUILD/petsc-3.7.4/petsc-3.7.4' > Running test examples to verify correct installation > Using PETSC_DIR=/builddir/build/BUILD/petsc-3.7.4/petsc-3.7.4 and > PETSC_ARCH=i386 > C/C++ example src/snes/examples/tutorials/ex19 run successfully with 1 > MPI process > *Possible error running C/C++ src/snes/examples/tutorials/ex19 with 2 > MPI processes* > See http://www.mcs.anl.gov/petsc/documentation/faq.html > Uniprocessor version of MPI can only use one processor > Fortran example src/snes/examples/tutorials/ex5f run successfully with 1 > MPI process > Completed test examples > > ? Use the attached mpiuni-check.patch Satish
diff --git a/src/snes/examples/tutorials/makefile b/src/snes/examples/tutorials/makefile index 38dc7e8..fcac7dd 100644 --- a/src/snes/examples/tutorials/makefile +++ b/src/snes/examples/tutorials/makefile @@ -931,7 +931,7 @@ testex19: ex19.PETSc else echo "Possible error running C/C++ src/snes/examples/tutorials/ex19 with 1 MPI process"; \ echo "See http://www.mcs.anl.gov/petsc/documentation/faq.html";\ cat ex19_1.tmp; fi; \ - if [ "${MPIEXEC}" != "${PETSC_DIR}/bin/petsc-mpiexec.uni" ]; then \ + if [ ! "${MPI_IS_MPIUNI}" ]; then \ ${MPIEXEC} -n 2 ./ex19 -da_refine 3 -pc_type mg -ksp_type fgmres > ex19_1.tmp 2>&1; \ if (${DIFF} output/ex19_1.testout ex19_1.tmp > /dev/null 2>&1) then \ echo "C/C++ example src/snes/examples/tutorials/ex19 run successfully with 2 MPI processes"; \