Compilation of SWIG C++ wrapper code uses too much memory and it is too slow

Bug #892786 reported by Garth Wells
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
DOLFIN
Fix Released
Undecided
Unassigned
1.1.x
Fix Released
Undecided
Unassigned

Bug Description

The SWIG generated wrapper code is all placed in one file and is getting two big. It requires a lot of memory to compile and can't be compiled in parallel (e.g. with make -j4). Compilation fails on machines with limited memory and is dead slow in other cases.

The solution is to split the SWIG wrapper into separate modules. Trilinos does this.

See https://blueprints.launchpad.net/dolfin/+spec/reduce-dolfin-compilation-swig-bottleneck

Changed in dolfin:
milestone: none → 1.1.0
status: New → Confirmed
Anders Logg (logg)
summary: - Compilation of SWIG C++ wrapper code uses too much memory and it too
+ Compilation of SWIG C++ wrapper code uses too much memory and it is too
slow
Johan Hake (johan-hake)
Changed in dolfin:
status: Confirmed → Fix Committed
Changed in dolfin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.