Re: [petsc-users] problem with PetscInitialize when moving to 3.19.0

2023-04-15 Thread Danny Lathouwers - TNW via petsc-users
Hi Matt, I just solved it :-) the problem is the ‘only’ in the use statement. After removing it the code compiles and links flawlessly. Many thanks for your suggestions ! Now off to testing this version. Danny. > On 15 Apr 2023, at 13:58, Matthew Knepley wrote: > > On Sat, Apr 15, 2023 at

Re: [petsc-users] Effect of -pc_gamg_threshold vs PETSc version

2023-04-15 Thread Mark Adams
On Fri, Apr 14, 2023 at 8:54 AM Jeremy Theler wrote: > Hi Mark. So glad you answered. > > > 0) what is your test problem? eg, 3D Lapacian with Q1 finite > > elements. > > I said in my first email it was linear elasticty (and I gave a link > where you can see the geometry, BCs, etc.) but I did not

Re: [petsc-users] problem with PetscInitialize when moving to 3.19.0

2023-04-15 Thread Matthew Knepley
On Sat, Apr 15, 2023 at 7:48 AM Danny Lathouwers - TNW < d.lathouw...@tudelft.nl> wrote: > Dear Matt, > > Thanks for the quick reply. > > This however does not resolve the problem. > It simply cannot find the routine at all during linking. > Perhaps your link line is wrong. Let's start with a PET

Re: [petsc-users] problem with PetscInitialize when moving to 3.19.0

2023-04-15 Thread Danny Lathouwers - TNW via petsc-users
Dear Matt, Thanks for the quick reply. This however does not resolve the problem. It simply cannot find the routine at all during linking. Danny. > On 15 Apr 2023, at 13:41, Matthew Knepley wrote: > > On Sat, Apr 15, 2023 at 7:28 AM Danny Lathouwers - TNW via petsc-users > mailto:petsc-user

Re: [petsc-users] problem with PetscInitialize when moving to 3.19.0

2023-04-15 Thread Matthew Knepley
On Sat, Apr 15, 2023 at 7:28 AM Danny Lathouwers - TNW via petsc-users < petsc-users@mcs.anl.gov> wrote: > Dear community, > > I am transitioning a working Fortran code based on version 3.10.4 to > version 3.19.0. > The code compiles except for one problem during linking where > PetscInitialize ca

Re: [petsc-users] Effect of -pc_gamg_threshold vs PETSc version

2023-04-15 Thread Mark Adams
OK, P2 tets linear elasticity. That is good to know. Matt, there were a bunch of changes, mostly "small", but a big change was (2.18) changing the aggressive coarsening (square graph) from MIS(A'A) to MIS(MIS(A)). In my experiments, the coarsening rates changed a little. 2.17 went from SOR to Jaco

[petsc-users] problem with PetscInitialize when moving to 3.19.0

2023-04-15 Thread Danny Lathouwers - TNW via petsc-users
Dear community,I am transitioning a working Fortran code based on version 3.10.4 to version 3.19.0.The code compiles except for one problem during linking where PetscInitialize can no longer be found (undefined reference to `petscinitialize_’).I am attaching the piece of code where the call is made