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

Satish Balay balay at mcs.anl.gov
Wed Oct 9 17:20:56 CDT 2013


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
> 
> 


More information about the petsc-dev mailing list