BTW: I see you are building multiple variants of PETSc Wrote: /builddir/build/RPMS/petsc-3.7.2-2.fc24.x86_64.rpm Wrote: /builddir/build/RPMS/petsc-devel-3.7.2-2.fc24.x86_64.rpm Wrote: /builddir/build/RPMS/petsc64-3.7.2-2.fc24.x86_64.rpm Wrote: /builddir/build/RPMS/petsc64-devel-3.7.2-2.fc24.x86_64.rpm Wrote: /builddir/build/RPMS/petsc-openmpi-3.7.2-2.fc24.x86_64.rpm Wrote: /builddir/build/RPMS/petsc-openmpi-devel-3.7.2-2.fc24.x86_64.rpm Wrote: /builddir/build/RPMS/petsc-mpich-3.7.2-2.fc24.x86_64.rpm Wrote: /builddir/build/RPMS/petsc-mpich-devel-3.7.2-2.fc24.x86_64.rpm Wrote: /builddir/build/RPMS/petsc-debuginfo-3.7.2-2.fc24.x86_64.rpm
But all of them are using --prefix=/usr. I think you need a different prefix for each of these builds - to be able to install them all.. Satish On Sat, 25 Jun 2016, Satish Balay wrote: > 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 > > > > > >
