[petsc-users] undefined symbol: mpi_init_
Satish Balay
balay at mcs.anl.gov
Sat Jun 25 09:05:29 CDT 2016
do not use --with-mpiuni-fortran-binding=0 option.
It should be used only building PETSc with serial MUMPs package.
Satish
On Sat, 25 Jun 2016, Antonio Trande wrote:
> Hi all,
>
> is it possible to compile serial PETSc library ?
> I'm trying to compile PETSc without MPI by configuring with options:
>
> --with-mpi=0 --with-mpiuni-fortran-binding=0
>
> but compiler uses -I/.../petsc-3.7.2/include/petsc/mpiuni flag anyway
> and libpetsc.so contains an "undefined symbol":
>
> undefined symbol: mpi_init_ (/usr/lib64/libpetsc.so.3.7.2)
>
> How I can fix this issue ?
> Full log:
> https://copr-be.cloud.fedoraproject.org/results/sagitter/petsc/fedora-24-x86_64/00362302-petsc/build.log.gz
>
>
More information about the petsc-users
mailing list