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

Stefano Zampini s.zampini at cineca.it
Thu Oct 10 04:27:54 CDT 2013


Thanks Satish.

FYI I also had to remove $PETSC_ARCH/bin/bfort to get it working


2013/10/10 Satish Balay <balay at mcs.anl.gov>

> rm -rf externalpackages/sowing* PETSC_ARCH/conf/sowing
>
> and rerun configure
>
> [unless you have sowing installed elsewere and have it in your PATH]
>
> satish
>
> On Thu, 10 Oct 2013, Stefano Zampini wrote:
>
> > 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/5c9c5c84/attachment.html>


More information about the petsc-dev mailing list