[Numpy-discussion] Failing to build numpy properly on Ubuntu Hardy

Grissiom chaos.proton@gmail....
Thu Dec 11 01:56:23 CST 2008


On Thu, Dec 11, 2008 at 15:13, David Cournapeau <
david@ar.media.kyoto-u.ac.jp> wrote:

> Grissiom wrote:
> > I have encountered with such problem before. My solution is recompile
> > the problem package(maybe atlas in your case) with -ff2c option passed
> > to gfortran.
>
> This is a bad idea: it won't work with libraries which are not built
> with this option, and the error won't always be easy to detect (one key
> difference is that wo ff2c, complex variables are passed by value by
> gfortran, whereas they are passed by reference with the ff2c option -
> which means crash and/or corruption).
>
> http://wiki.debian.org/GfortranTransition
>
> The only viable solution is to avoid mixing g77-built and gfortran-built
> libraries (there is now a simple test which tries to detect those mix in
> both numpy and scipy),
>
> cheers,
>
> David
>

Thanks for pointing out my mistake ;)

-- 
Cheers,
Grissiom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20081211/9a4ff674/attachment.html 


More information about the Numpy-discussion mailing list