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

Satish Balay <balay-zhzY/AYb9nBYTrM/[email protected]>
Newsgroups gmane.linux.debian.alioth.science-maintainers,gmane.linux.debian.ports.mips
Message-ID <alpine.LFD.2.21.1805010043400.10443@asterix>
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

-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.