Re: [petsc-users] Undefined symbols for architecture x86_64: "_dmviewfromoptions_",

2019-09-20 Thread Smith, Barry F. via petsc-users
Oh yes, I didn't notice that. The stubs and interfaces cannot be generated automatically, but cut, paste, and make a mistake will work. > On Sep 20, 2019, at 9:35 PM, Jed Brown wrote: > > "Smith, Barry F. via petsc-users" writes: > >> Currently none of the XXXViewFromOptions() have

Re: [petsc-users] Undefined symbols for architecture x86_64: "_dmviewfromoptions_",

2019-09-20 Thread Jed Brown via petsc-users
"Smith, Barry F. via petsc-users" writes: >Currently none of the XXXViewFromOptions() have manual pages or Fortran > stubs/interfaces. It is probably easier to remove them as inline functions > and instead write them as full functions which just call > PetscObjectViewFromOptions() with

Re: [petsc-users] Undefined symbols for architecture x86_64: "_dmviewfromoptions_",

2019-09-20 Thread Smith, Barry F. via petsc-users
Currently none of the XXXViewFromOptions() have manual pages or Fortran stubs/interfaces. It is probably easier to remove them as inline functions and instead write them as full functions which just call PetscObjectViewFromOptions() with manual pages then the Fortran stubs/interfaces

[petsc-users] Undefined symbols for architecture x86_64: "_dmviewfromoptions_",

2019-09-20 Thread Mark Adams via petsc-users
DMViewFromOptions does not seem to have Fortran bindings and I don't see it on the web page for DM methods. I was able to get it to compile using PetscObjectViewFromOptions FYI, It seems to be an inlined thing, thus missing the web page and Fortran bindings: