← Back to team overview

yade-dev team mailing list archive

[Bug 1183402] Re: Segmentation fault by importing scipy.interpolate

 

Well, importing scipy by default was a stupid idea, since many other
modules may have to be imported the same way (Raphael was importing his
own fortran library, for instance).

I added an optional command line argument, so that it does not add global dependencies for yade.
https://github.com/yade/trunk/commit/317d1718bd29cba22a1d22ed9422681f36d6e2ab

@Matthias, you can type "yade -lscipy.interpolate"
@Raphaël: "yade -lnsmp1d_yade"

I've seen a few projects having similar problems with scipy, some of them quite old [,12,3].
I noticed that both scipy and Raphael's library are based on fortran code. Maybe related?
I also realize that Raphael's lib has blas/lapack/friends as dependencies, which is also the case of some modules imported by yade (matplotlib, PFV option,...). They are maybe using  incompatible variants of those, as suggested by [2]?

[1] http://mail.scipy.org/pipermail/scipy-dev/2007-March/006724.html
[2] http://blog.tremily.us/posts/SciPy_and_ATLAS/
[3] http://lists.opensuse.org/opensuse-bugs/2010-11/msg00466.html

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1183402

Title:
  Segmentation fault by importing scipy.interpolate

Status in Yet Another Dynamic Engine:
  New

Bug description:
  importing scipy.interpolate leads to a segmentation fault

  kubuntu 13.04
  yade 0.90.3 (stable) and yade_daily (0.97.0)
  python 2.7.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1183402/+subscriptions


References