Comment 5 for bug 1183402

Revision history for this message
Bruno Chareyre (bruno-chareyre) wrote :

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