PetscMalloc petsc-3.0.0-p4

David Fuentes fuentesdt at gmail.com
Mon Mar 23 17:49:02 CDT 2009


In 3.0.0-p4

PetscMalloc doesn't seem to return an error code if the requested memory
wasn't allocated ? Is this correct ?

I'm trying to allocate a dense matrix for which there was not enough 
memory and PetscMalloc is returning a null pointer but no errorcode to
catch. which is causing seg faults later.



thanks,
df



More information about the petsc-users mailing list