[petsc-dev] MatCreateVecs from Fortran problem

Victor Eijkhout eijkhout at tacc.utexas.edu
Tue Mar 17 13:41:55 CDT 2020



On , 2020Mar17, at 13:15, Mark Adams <mfadams at lbl.gov<mailto:mfadams at lbl.gov>> wrote:

Is the PETSc model that you don't inialized PETSc object to NULL because you check that pointers are valid PETSc pointers instead of testing on NULL?

I think petsc has switched to the mpi/f08 model where objects are no longer opaque pointers hiding in INTEGERs, but actual Fortran derived Type objects.

At least in MPI these days MPI_COMM_NULL is not a constant but a Type(MPI_Comm) variable.

Victor.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20200317/9e2a574d/attachment.html>


More information about the petsc-dev mailing list