[petsc-dev] Undefined reference to `MPI_Datatype f2c' in master

Stefano Zampini s.zampini at cineca.it
Wed Oct 9 17:16:06 CDT 2013


Current master seems broken.

Just checkout the latest master, reconfigure, make allfortranstubs and then
make

Make shows a warning

src/dm/impls/plex/ftn-auto/plexf.c: In function ‘dmplexdistributedata_’:
src/dm/impls/plex/ftn-auto/plexf.c:220:2: warning: implicit declaration of
function ‘MPI_Datatype_f2c’ [-Wimplicit-function-declaration]

Then make test fails

/home/stefano/Sviluppo/petsc/debug/lib/libpetsc.so: undefined reference to
`MPI_Datatype_f2c'

My config line is

--PETSC_ARCH=debug --PETSC_DIR=/home/stefano/Sviluppo/petsc
--download-chaco=1 --download-f-blas-lapack=1 --download-hypre=1
--download-metis=1 --download-ml=1 --download-mpich=1 --download-mumps=1
--download-parmetis=1 --download-party=1 --download-ptscotch=1
--download-scalapack=1 --download-superlu_dist=1 --download-umfpack=1
--with-cmake=cmake --with-gnu-compilers=1 --with-pcbddc=1
--with-shared-libraries=1 --with-valgrind=1

-- 

Ph. D. Stefano Zampini
CINECA
SuperComputing Applications and Innovations Department - SCAI
Via dei Tizii, 6 00185 Roma - ITALY
------------------------------------------------------------------------------------------------------------------------
Email: s.zampini at cineca.it
SkypeID: stefano.zampini
GoogleTalk: stefano.zampini at gmail.com
Tel: +39 06.44486.707
------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131010/f0aa8ecb/attachment.html>


More information about the petsc-dev mailing list