Bug#897006: [petsc-maint] Bug#897006: petsc FTBFS on mips: f951: out of memory

Satish Balay balay at mcs.anl.gov
Tue May 1 07:02:47 BST 2018


On Tue, 1 May 2018, Drew Parsons wrote:

> Would it work to split petscdmmod.F into two pieces, e.g. one with
> petscdmda and central petscdm and the other with petscdmplex? 
> 
> Naively the two separate object files would then need around 1GB,
> allowing mpif90 -c to succeed.  This assumes that linking won't emit
> the same problem.

Can you try:

https://bitbucket.org/petsc/petsc/commits/23928a85ec343de9282b261069af0f1f2146e3ee

[Matt would have to review]

Checked with 'valgrind --tool=massif --trace-children=yes' [with
massif-visualizer] and 'gfortran 8.0.1' - and I get:

'Memory consumption Peak' for 'f951'

before split:
petscdmmod.F:     1.2GiB

after split:
petscdmmod.F:     815.9MiB
petscdmplexmod.F: 405.0MiB

Satish



More information about the debian-science-maintainers mailing list