Ticket #163 (assigned enhancement)

Opened 2 months ago

Last modified 2 months ago

1Gb of RAM required to build openturns

Reported by: Jerome Robert Assigned to: dutka (accepted)
Priority: major Milestone: not defined
Component: build / install process Version: SVN-HEAD
Keywords: swig wrapper Cc:

Description

The swig wrapper should be split into modules: http://www.swig.org/Doc1.3/Modules.html

This would allow to build ot_wrap.cpp on a computer with less than 2Gb of memory and would dramatically speed up the openturns build process.

Doing so would also break the API at native level but this could probably be fixed a python level.

Change History

11/14/08 10:29:57 changed by dutka

  • keywords set to swig wrapper.
  • owner changed from lapointe@phimeca.com to dutka.
  • status changed from new to assigned.
  • priority changed from unspecified to major.

I know the problem. I've been working on it for hours.

But I never succeeded to get a working multi-module wrapper. The SWIG documentation you mention is far too poor to be useful. And it seems there is no better one. The SWIG documentation is not updated with the binary executable capabilities, there is no mention of some command line options (-oh for instance). Some options are useless : -compact only suppress blanks in source code !

So my opinion is that we have reached the SWIG limits. I'll try to replace SWIG wrapper by something else in the next months, if my daily work let me some time to do it.

I will let this ticket open to periodically give information on this ongoing process.

Ivan