[f2py] f2py -- getting Intel 8.0 to work with f2py with fib1.f90
integrated.m at gmail.com
Sun Feb 3 21:32:56 EET 2008
It worked, thank you.
On Feb 3, 2008 9:31 AM, William Henney <whenney at gmail.com> wrote:
> Hi Vitaly
> On Feb 2, 2008 4:31 PM, Vitaly Marin <integrated.m at gmail.com> wrote:
> > f2py -c --noarch --f90exec=/opt/intel_fc_80/bin/ifort
> > --f90flags="-ccdefault list -tpp6 -W0 -L/opt/intel_fc_80/lib -lifport"
> > --fcompiler=intel fib1.f90 -m fib1
> > I am able to compile the code but when I do ldd on fib1.so I get
> > libifport.so.5 => not found
> > libifcore.so.5 => not found
> > libimf.so => not found
> > libm.so.6 => /lib/i686/libm.so.6 (0x4000c000)
> > libcxa.so.5 => not found
> > libunwind.so.5 => not found
> > libc.so.6 => /lib/i686/libc.so.6 (0x40031000)
> > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
> You need to set up your environment variables for using the compiler.
> If you use the bash shell, this would be via a command like
> $ source /opt/intel_fc_80/bin/ifortvars.sh
> This has nothing to do with f2py. I suspect you would have the same
> problem if you tried to compile and run a pure fortran program.
> By the way, version 8 of ifort is very old now. You may want to upgrade.
> Dr William Henney, Centro de Radioastronomía y Astrofísica,
> Universidad Nacional Autónoma de México, Campus Morelia
More information about the f2py-users