[petsc-dev] Stale lib/petsc/conf/petscvariables interferes with prefix tests
Satish Balay
balay at mcs.anl.gov
Thu Mar 8 16:06:45 CST 2018
On Thu, 8 Mar 2018, Jed Brown wrote:
> Satish Balay <balay at mcs.anl.gov> writes:
>
>
> Related question: if the prefix install is read-only, then this line in
> "make info" fails.
>
> - at echo Using mpi.h: `echo '#include <mpi.h>' > ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/mpitest.c; ${CPP} ${PETSC_CCPPFLAGS} ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/mpitest.c |grep 'mpi\.h' | ( head -1 ; cat > /dev/null )`
>
Hm - this is primarily used by 'make all' - [that should always have write access to ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/]
And I see we've previously used it from testexamples, testfortran etc targets - but these should now be removed?
>
> Are there CPP that can't use stdin?
Windows.
Satish
More information about the petsc-dev
mailing list