Bug#897006: petsc FTBFS on mips: f951: out of memory

Drew Parsons dparsons at debian.org
Fri Apr 27 02:48:17 BST 2018


Source: petsc
Version: 3.9.0+dfsg1-1exp4
Severity: normal

PETSc 3.9 Fails To Build From Source on mips. PETSC 3.8 continues to build fine.

Build logs are at
  https://buildd.debian.org/status/logs.php?pkg=petsc&arch=mips
e.g.
  https://buildd.debian.org/status/fetch.php?pkg=petsc&arch=mips&ver=3.9.0%2Bdfsg1-1exp4&stamp=1524789882&raw=0

The build log reports
-====
...
         CXX mips-linux-gnu-real-debug/obj/tao/linesearch/interface/dlregis_taolinesearch.o
         CXX mips-linux-gnu-real-debug/obj/tao/linesearch/impls/gpcglinesearch/gpcglinesearch.o
         CXX mips-linux-gnu-real-debug/obj/tao/linesearch/interface/ftn-auto/taolinesearchf.o
         CXX mips-linux-gnu-real-debug/obj/tao/linesearch/interface/ftn-custom/ztaolinesearchf.o
         CXX mips-linux-gnu-real-debug/obj/tao/linesearch/interface/taolinesearch.o
         CXX mips-linux-gnu-real-debug/obj/tao/leastsquares/impls/pounders/gqt.o
         CXX mips-linux-gnu-real-debug/obj/tao/leastsquares/impls/pounders/pounders.o
          FC mips-linux-gnu-real-debug/obj/mat/f90-mod/petscmatmod.o
          FC mips-linux-gnu-real-debug/obj/dm/f90-mod/petscdmmod.o

f951: out of memory allocating 2097152 bytes after a total of 1844178944 bytes
make[4]: *** [gmakefile:164: mips-linux-gnu-real-debug/obj/dm/f90-mod/petscdmmod.o] Error 1
-====

Looks like the fortran module for petscdm has gotten bigger than it
used to be.

Nevertheless, on amd64 the 3.9 library is 15539008 bytes,  while 3.8 was 14727872,
not much smaller.  The amd64 3.9 debug library is 86882368 bytes where 3.8
was 84142848.

On mips the 3.8 debug library is 68622188 bytes, smaller than amd64.
Is this out-of-memory error a problem with the mips buildds? Are there
buildd memory constraints we're hitting against? Or is there a problem with
fortran95 on mips?

I'm cc:ing upstream to keep them informed.



More information about the debian-science-maintainers mailing list