[f2py] Use f2py with Intel Fortran compiler on Intel Mac OS X
Richard Wang
cmwang at ucla.edu
Tue Oct 17 00:36:51 EEST 2006
sure, if run f2py --fcompiler=intel -c fib1.f -m fib1 -lpython2.4
I got the error messsage:
ifort: Command line warning: ignoring unknown option '-shared'
IPO link: can not find -lpython2.4
ifort: error: problem during multi-file optimization compilation
(code 1)
ifort: Command line warning: ignoring unknown option '-shared'
IPO link: can not find -lpython2.4
ifort: error: problem during multi-file optimization compilation
(code 1)
error: Command "/usr/bin/ifort -shared -nofor_main /tmp/tmpXqX_vM/tmp/
tmpXqX_vM/src.darwin-8.8.1-i386-2.4/fib1module.o /tmp/tmpXqX_vM/tmp/
tmpXqX_vM/src.darwin-8.8.1-i386-2.4/fortranobject.o /tmp/tmpXqX_vM/
fib1.o -lpython2.4 -o ./fib1.so" failed with exit status 1
Then I try to look for libpython2.4.so in my system, but I can not
find it. Let me if you need to know other things.
Richard
On Oct 16, 2006, at 2:20 PM, <pearu at cens.ioc.ee> wrote:
>
>
> On Mon, 16 Oct 2006, Richard Wang wrote:
>
>> I seem not to have libpyton2.4.a in my system .... I am using
>> "ActivePython 2.4.3 Build 11 (ActiveState Software Inc.) based on
>> Python 2.4.3"
>>
>> But how come gfortran 95 works fine? (although I prefer to use intel
>> compiler )
>
> First, could you give answers to my questions? These are basic
> diagnostic
> steps that I would do when trying to resolve your particular problem.
>
> Thanks,
> Pearu
>
More information about the f2py-users
mailing list