[SciPy-user] numpy and fcompiler

Pearu Peterson pearu at scipy.org
Sat Jan 14 00:23:02 EST 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