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

Smith, Barry F. bsmith at mcs.anl.gov
Fri Sep 20 21:38:29 CDT 2019


  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 <jed at jedbrown.org> wrote:
> 
> "Smith, Barry F. via petsc-users" <petsc-users at mcs.anl.gov> 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 manual pages then the Fortran stubs/interfaces will be built automatically.
> 
> PetscObjectViewFromOptions has a custom interface because it takes a string.
> 
> Fortran users could call that today, rather than wait for stubs to be
> written.



More information about the petsc-users mailing list