[SciPy-user] scipy, matlab and NASTRAN

Nathan Bell wnbell@gmail....
Fri Feb 27 12:58:59 CST 2009


On Fri, Feb 27, 2009 at 7:01 AM, Nils Wagner
<nwagner@iam.uni-stuttgart.de> wrote:
> Hi all,
>
> Meanwhile I made some progress.
>
>>>> import loadop4
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: ./loadop4.so: undefined symbol:
> sp_copy_column
>
> nm loadop4.so | grep sp_copy_column
>                  U sp_copy_column
> 000000000000e091 t _wrap_sp_copy_column
>
> How can I resolve that problem ?
>

It looks like sparse.h contains function prototypes that are never
defined in a .c file.  You should be able to just delete them from the
header files.

Nils, have you considered using NumPy's IO capabilities instead of
using this code?  I find IO to be a place where implementing from
scratch with Python + NumPy is often easier and just as fast.   Plus,
you end up with a .py that's easy to share with others.

-- 
Nathan Bell wnbell@gmail.com
http://graphics.cs.uiuc.edu/~wnbell/


More information about the SciPy-user mailing list