Re: [petsc-users] errors when using elemental with petsc3.10.5

2019-08-22 Thread Smith, Barry F. via petsc-users
Does this crash on a PETSc example that uses elemental? For example run src/ksp/ksp/examples/tests/ex40.c: with the arguments -pc_type lu -pc_factor_mat_solver_type elemental To get the stack trace Add the command line option -start_in_debugger noxterm when you run your

Re: [petsc-users] errors when using elemental with petsc3.10.5

2019-08-22 Thread Balay, Satish via petsc-users
On Fri, 23 Aug 2019, Smith, Barry F. via petsc-users wrote: > bsmith@es:~$ ldd /usr/lib/libparmetis.so.3.1 > linux-vdso.so.1 => (0x7fff9115e000) > libmpi.so.1 => /usr/lib/libmpi.so.1 (0x7faf95f87000) > libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7faf95c81000) >

Re: [petsc-users] errors when using elemental with petsc3.10.5

2019-08-22 Thread Smith, Barry F. via petsc-users
> On Aug 22, 2019, at 6:48 PM, Balay, Satish wrote: > > Compilers are supposed to prefer libraries in specified -L path before system > stuff. Suppose to. > >>> > balay@es^~ $ ls /usr/lib/lib*metis* > /usr/lib/libmetis.a/usr/lib/libmetis.so.3.1 /usr/lib/libparmetis.so@ >

Re: [petsc-users] errors when using elemental with petsc3.10.5

2019-08-22 Thread Balay, Satish via petsc-users
Compilers are supposed to prefer libraries in specified -L path before system stuff. >> balay@es^~ $ ls /usr/lib/lib*metis* /usr/lib/libmetis.a/usr/lib/libmetis.so.3.1 /usr/lib/libparmetis.so@ /usr/lib/libscotchmetis-5.1.so /usr/lib/libscotchmetis.so@ /usr/lib/libmetis.so@

Re: [petsc-users] errors when using elemental with petsc3.10.5

2019-08-22 Thread Smith, Barry F. via petsc-users
You have a copy of parmetis installed in /usr/lib this is a systems directory and many compilers and linkers automatically find libraries in that location and it is often difficult to avoid have the compilers/linkers use these. In general you never want to install external software such

Re: [petsc-users] errors when using elemental with petsc3.10.5

2019-08-22 Thread Balay, Satish via petsc-users
> ./ex19: symbol lookup error: /usr/lib/libparmetis.so: undefined symbol: > ompi_mpi_comm_world For some reason the wrong parmetis library is getting picked up. I don't know why. Can you copy/paste the log from the following? cd src/snes/examples/tutorials make

Re: [petsc-users] errors when using elemental with petsc3.10.5

2019-08-22 Thread Balay, Satish via petsc-users
Any reason for using petsc-3.10.5 and not latest petsc-3.11? I suggest starting from scatch and rebuilding. And if you still have issues - send corresponding configure.log and make.log Satish On Thu, 22 Aug 2019, Lailai Zhu via petsc-users wrote: > sorry, Satish, > > but it does not seem to

Re: [petsc-users] errors when using elemental with petsc3.10.5

2019-08-21 Thread Balay, Satish via petsc-users
Can you run 'make' again and see if this error goes away? Satish On Wed, 21 Aug 2019, Lailai Zhu via petsc-users wrote: > hi, Satish, > i tried to do it following your suggestion, i get the following errors when > installing. > here is my configuration, > > any ideas? > > best, > lailai > >

Re: [petsc-users] errors when using elemental with petsc3.10.5

2019-08-21 Thread Balay, Satish via petsc-users
To install elemental - you use: --download-elemental=1 [not --download-elemental-commit=v0.87.7] Satish On Wed, 21 Aug 2019, Lailai Zhu via petsc-users wrote: > hi, dear petsc developers, > > I am having a problem when using the external solver elemental. > I installed petsc3.10.5 version