[Numpy-discussion] F2PY error : ... on platform 'posix' with 'gcc' compiler

Arthur Bousquet arthbous at indiana.edu
Fri Sep 25 16:36:40 EDT 2009


Thanks a lot for you help. Now it is working, I downloaded the gfortran from
http://hpc.sourceforge.net/.

Best regards,
Arthur

On Fri, Sep 25, 2009 at 3:49 PM, Arthur Bousquet <arth.bousquet at gmail.com>wrote:

> How can I add the flags ?
>
> Thank
>
> Arthur
>
>
> On Fri, Sep 25, 2009 at 3:46 PM, Robert Kern <robert.kern at gmail.com>wrote:
>
>> On Fri, Sep 25, 2009 at 14:44, Arthur Bousquet <arthbous at indiana.edu>
>> wrote:
>> > $ file libsw.so gives :
>> >
>> > libsw.so: Mach-O bundle i386
>> >
>> > How can I change it ? Is it because of my gfortran ?
>>
>> Your gfortran is probably still configured to make x86 executables by
>> default. Try recompiling libsw.so with the flags
>>
>>  -arch x86 -arch x86_64
>>
>> --
>> Robert Kern
>>
>> "I have come to believe that the whole world is an enigma, a harmless
>> enigma that is made terrible by our own mad attempt to interpret it as
>> though it had an underlying truth."
>>  -- Umberto Eco
>> _______________________________________________
>> NumPy-Discussion mailing list
>> NumPy-Discussion at scipy.org
>> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090925/c56a15b5/attachment.html>


More information about the NumPy-Discussion mailing list