[petsc-users] undefined symbol: mpi_init_

Antonio Trande anto.trande at gmail.com
Sat Jun 25 14:45:39 CDT 2016


On 06/25/2016 04:18 PM, Satish Balay wrote:
> 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
> 

Why not?

All libraries can be installed at the same time:

/usr/lib64/openmpi/lib/libpetsc.so.3.7.2
/usr/lib64/libpetsc.so.3.7.2
/usr/lib64/mpich/lib/libpetsc.so.3.7.2
/usr/lib64/libpetsc64.so.3.7.2


-- 
---
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/40bb6dee/attachment.pgp>


More information about the petsc-users mailing list