[petsc-users] undefined symbol: mpi_init_

Antonio Trande anto.trande at gmail.com
Sat Jun 25 08:21:59 CDT 2016


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

-- 
---
Antonio Trande
mailto: sagitter 'at' fedoraproject 'dot' org
http://fedoraos.wordpress.com/
https://fedoraproject.org/wiki/User:Sagitter
GPG Key: 0x6CE6D08A
Check on https://keys.fedoraproject.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160625/72c3dd61/attachment.pgp>


More information about the petsc-users mailing list