./configure --prefix=$HOME/opt/petsc3 --with-zlib=1 \
--with-hypre=1 --download-hypre=yes \
--with-viennacl=1 --download-viennacl=yes \
--with-hdf5=1 --download-hdf5=yes \
--with-metis=1 --download-metis=yes \
--with-parmetis=1 --download-parmetis=yes \
--with-superlu=1 --download-superlu=yes \
--with-slepc=1 --download-slepc=yes \
--with-suitesparse=1 --download-suitesparse=yes \
--with-hpddm=1 --download-hpddm=yes \
--with-p4est=1 --download-p4est=yes \
--with-tetgen=1 --download-tetgen=yes \
--with-triangle=1 --download-triangle=yes \
--with-mumps=1 --download-mumps=yes \
--with-opengl=1 \
--with-scalapack=1 --download-scalapack=yes \
--with-debugging=no \
&& make -j8 && make install
Need add enable vtk in configure ?
Thanks.
./ex1 -dm_view vtk:ex1.vtu