[petsc-users] Memory usage during matrix factorization

Jed Brown jed at jedbrown.org
Wed May 14 19:58:23 CDT 2014


"De Groof, Vincent Frans Maria" <Vincent.De-Groof at uibk.ac.at> writes:

> Thanks. I made a new function based on the PetscGetCurrentUsage which
> does what I want. It seems like I am being lucky as the numbers
> returned by the OS seem to be reasonable.

For example, Blue Gene/Q wants us to use Kernel_GetMemorySize, which
resides in a header with inline assembly.  So we need compiler flags
that support the inline assembly just to access the function.
getrusage() is useless on BG/Q and some other HPC systems.  If it works
on your system, you should think the vendor for doing something
reasonable with the useful POSIX function.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140514/4d9d1bc7/attachment.pgp>


More information about the petsc-users mailing list