<div dir="ltr">DMViewFromOptions does not seem to have Fortran bindings and I don't see it on the web page for DM methods.<br><div><br></div><div>I was able to get it to compile using PetscObjectViewFromOptions</div><div><br></div><div>FYI,</div><div>It seems to be an inlined thing, thus missing the web page and Fortran bindings:</div><div><br></div><div>include/petscdm.h:PETSC_STATIC_INLINE PetscErrorCode DMViewFromOptions(DM A,PetscObject obj,const char name[]) {return PetscObjectViewFromOptions((PetscObject)A,obj,name);}<br></div><div><br></div><div><br></div><div><br></div><div>18:53 2 mark/feature-xgc-interface *+ ~/Codes/petsc/src/dm/impls/plex/examples/tutorials$ make ex6f90<br>/Users/markadams/homebrew/Cellar/mpich/3.3.1/bin/mpif90 -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-no_compact_unwind  -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -g   -I/Users/markadams/Codes/petsc/include -I/Users/markadams/Codes/petsc/arch-macosx-gnu-g/include -I/opt/X11/include -I/Users/markadams/homebrew/Cellar/mpich/3.3.1/include      ex6f90.F90  -Wl,-rpath,/Users/markadams/Codes/petsc/arch-macosx-gnu-g/lib -L/Users/markadams/Codes/petsc/arch-macosx-gnu-g/lib -Wl,-rpath,/Users/markadams/Codes/petsc/arch-macosx-gnu-g/lib -L/Users/markadams/Codes/petsc/arch-macosx-gnu-g/lib -Wl,-rpath,/opt/X11/lib -L/opt/X11/lib -Wl,-rpath,/Users/markadams/homebrew/Cellar/mpich/3.3.1/lib -L/Users/markadams/homebrew/Cellar/mpich/3.3.1/lib -Wl,-rpath,/Users/markadams/homebrew/Cellar/gcc/9.1.0/lib/gcc/9/gcc/x86_64-apple-darwin18/9.1.0 -L/Users/markadams/homebrew/Cellar/gcc/9.1.0/lib/gcc/9/gcc/x86_64-apple-darwin18/9.1.0 -Wl,-rpath,/Users/markadams/homebrew/Cellar/gcc/9.1.0/lib/gcc/9 -L/Users/markadams/homebrew/Cellar/gcc/9.1.0/lib/gcc/9 -lpetsc -lHYPRE -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -lscalapack -lsuperlu -lsuperlu_dist -lfftw3_mpi -lfftw3 -lp4est -lsc -llapack -lblas -lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 -lchaco -lparmetis -lmetis -ltriangle -lz -lX11 -lctetgen -lc++ -ldl -lmpifort -lmpi -lpmpi -lgfortran -lquadmath -lm -lc++ -ldl -o ex6f90<br>Undefined symbols for architecture x86_64:<br>  "_dmviewfromoptions_", referenced from:<br>      _MAIN__ in ccALMXJ2.o<br>ld: symbol(s) not found for architecture x86_64<br>collect2: error: ld returned 1 exit status<br>make: *** [ex6f90] Error 1<br></div></div>