Re: [petsc-users] Exhausted all shared linker guesses. Could not determine how to create a shared library!

2021-03-08 Thread Barry Smith
Fande, I see you are using CONDA, this can cause issues since it sticks all kinds of things into the environment. PETSc tries to remove some of them but perhaps not enough. If you run printenv you will see all the mess it is dumping in. Can you trying the same build without CONDA

Re: [petsc-users] Exhausted all shared linker guesses. Could not determine how to create a shared library!

2021-03-08 Thread Matthew Knepley
On Mon, Mar 8, 2021 at 8:23 PM Fande Kong wrote: > Thanks Matthew, > > Hmm, we still have the same issue after shutting off all unknown flags. > Oh, I was misinterpreting the error message: ld: can't link with a main executable file

Re: [petsc-users] Exhausted all shared linker guesses. Could not determine how to create a shared library!

2021-03-08 Thread Matthew Knepley
On Mon, Mar 8, 2021 at 7:55 PM Fande Kong wrote: > Hi All, > > mpicc rejected "-fPIC". Anyone has a clue how to work around this issue? > The failure is at the last step Executing: mpicc -o /var/folders/tv/ljnkj46x3nq45cp9tbkc000cgn/T/petsc-6v1w4q4u/config.setCompilers/conftest -fPIC

Re: [petsc-users] DMPlex tetrahedra facets orientation

2021-03-08 Thread Matthew Knepley
On Mon, Mar 8, 2021 at 11:18 AM Nicolas Barral < nicolas.bar...@math.u-bordeaux.fr> wrote: > On 08/03/2021 15:55, Matthew Knepley wrote: > > On Mon, Mar 8, 2021 at 4:02 AM Nicolas Barral > > > > wrote: > > > > On 07/03/2021 22:56, Matthew Knepley

Re: [petsc-users] DMPlex tetrahedra facets orientation

2021-03-08 Thread Nicolas Barral
On 08/03/2021 15:55, Matthew Knepley wrote: On Mon, Mar 8, 2021 at 4:02 AM Nicolas Barral > wrote: On 07/03/2021 22:56, Matthew Knepley wrote: > On Sun, Mar 7, 2021 at 4:51 PM Nicolas Barral > mailto:nicolas.bar...@math.u-bordeaux.fr>

Re: [petsc-users] DMPlex tetrahedra facets orientation

2021-03-08 Thread Matthew Knepley
On Mon, Mar 8, 2021 at 10:21 AM Isaac, Tobin G wrote: > Right that is what is needed from each side, but taking area and vn and > scaling them back together is just undoing a computation that happens > inside of cellgeometryfvm. I'm saying that long term, in the same way that > for FEM we

Re: [petsc-users] DMPlex tetrahedra facets orientation

2021-03-08 Thread Isaac, Tobin G
Right that is what is needed from each side, but taking area and vn and scaling them back together is just undoing a computation that happens inside of cellgeometryfvm. I'm saying that long term, in the same way that for FEM we provide different callbacks that are intended for contraction with

Re: [petsc-users] DMPlex tetrahedra facets orientation

2021-03-08 Thread Matthew Knepley
On Mon, Mar 8, 2021 at 10:08 AM Isaac, Tobin G wrote: > What Nicolas wants is pretty common in DG, and the quantity is available > as just the cross product of the two vectors of the facet Jacobian. > Computing it the way you suggest is kind of a backward reconstruction. > I do not quite

Re: [petsc-users] DMPlex tetrahedra facets orientation

2021-03-08 Thread Isaac, Tobin G
What Nicolas wants is pretty common in DG, and the quantity is available as just the cross product of the two vectors of the facet Jacobian. Computing it the way you suggest is kind of a backward reconstruction. Toby Isaac, Assistant Professor, GTCSE From:

Re: [petsc-users] DMPlex tetrahedra facets orientation

2021-03-08 Thread Matthew Knepley
On Mon, Mar 8, 2021 at 4:02 AM Nicolas Barral < nicolas.bar...@math.u-bordeaux.fr> wrote: > On 07/03/2021 22:56, Matthew Knepley wrote: > > On Sun, Mar 7, 2021 at 4:51 PM Nicolas Barral > > > > wrote: > > > > > > On 07/03/2021 22:30, Matthew Knepley

Re: [petsc-users] DMPlex tetrahedra facets orientation

2021-03-08 Thread Nicolas Barral
On 07/03/2021 22:56, Matthew Knepley wrote: On Sun, Mar 7, 2021 at 4:51 PM Nicolas Barral > wrote: On 07/03/2021 22:30, Matthew Knepley wrote: > On Sun, Mar 7, 2021 at 4:13 PM Nicolas Barral > mailto:nicolas.bar...@math.u-bordeaux.fr>