[SciPy-user] numpy and fcompiler

Pearu Peterson pearu at scipy.org
Fri Jan 13 23:23:02 CST 2006



On Fri, 13 Jan 2006, Eric Zollars wrote:

> Pearu Peterson wrote:
>>
>> Have you tried to fix ibm.py? For debugging, you can run
>>
>>    python ibm.py --verbose
>>
>> in numpy/distutils/fcompiler/ that should show compiler version number if
>> xlf is detected.
>>
>> Pearu
>
> After it prints out IbmFCompiler instance properties:, it prints "None".
>  The compiler.customize() line does not appear to getting any of the
> changes I make to the class IbmFCompiler in ibm.py.

Change the line

   compiler = new_fcompiler(compiler='ibm')

to

   compiler = IbmFCompiler()

Also, what are the values

   os.name
   sys.platform

in your system? Currently ibm compiler is enabled only for aix platforms, 
see _default_compilers dictionary in 
numpy/distutils/fcompiler/__init__.py.

Pearu



More information about the SciPy-user mailing list