[Numpy-discussion] Problem with import ...

Konrad Hinsen hinsen at cnrs-orleans.fr
Tue Sep 11 13:26:02 EDT 2001

> FORTRAN code that I had written.  Everything worked well.  However,
> after I compiled python2.1.1 and Numeric-20.1.0 importing the blas and
> lapack modules no longer provides access to their routines.  Moreover,

Were you relying on symbols from one dynamic module being available to
other dynamic modules? That was never guaranteed in Python, whether or
not it works depends on the platform but also on the Python
interpreter version. I am not aware of any relevant changes in Python
2.1, but then none of my code relies on this.

The only safe way to call C/Fortran code in one dynamic module from
another dynamic module is passing the addresses in CObject objects.

Konrad Hinsen                            | E-Mail: hinsen at cnrs-orleans.fr
Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-
Rue Charles Sadron                       | Fax:  +33-
45071 Orleans Cedex 2                    | Deutsch/Esperanto/English/
France                                   | Nederlands/Francais

More information about the NumPy-Discussion mailing list