[SciPy-user] SciPy with gcc4 and gfortran on OS X

Pearu Peterson pearu at scipy.org
Sat Apr 8 13:55:00 CDT 2006



On Sat, 8 Apr 2006, Zachary Pincus wrote:

>> Try the latest numpy and scipy from svn. I have added support to specify
>> config_fc options inside setup.py files for libraries. This feature would
>> be probably useful also C libraries and extension modules but let's see
>> if this can fix the current issue first..
>
> OK, with latest SVN of scipy and numpy, I can properly build everything with 
> gcc4 and gfortran. However, a couple of tests still fail, which worries me. 
> Also, some of the failures don't happen every time. (See below.)
>
> Finally, I would note that maybe the patched setup.py files should only turn 
> off optimization for the mach files if gfortran is being used. (If this is 
> something that can easily be done.)

Nope. Actually mach files should be compiled without optimization for all
compilers. So the patched setup.py files are ok.

> Anyhow, I'm not sure what to make of all of this. Not looking too good for 
> gfortran, though.

On my debian sid linux box all blas tests pass ok when using gfortran 
4.0.3. But that's linux..

Pearu



More information about the SciPy-user mailing list