[f2py] f2py 2_1975 and amd64
pgmdevlist at mailcan.com
pgmdevlist at mailcan.com
Sat Jan 28 07:55:10 EET 2006
Folks,
I used regularly f2py 2.45.xxx, but I wanted to check the new numpy package
(0.9.4), that comes with f2py 2_1975.
I'm having extreme difficulties having this version of f2py recognize my
system. I run on a amd64, gcc-3.4.4, I have the 07/15/2005 version of g95,
the 8.1 and 9.0 version of the Intel Compiler.
A f2py -c -help-fcompiler shows me that none of the three f90 compiler above
are recognized on my machine:
List of available Fortran compilers:
--fcompiler=gnu GNU Fortran Compiler (3.4.4)
List of unavailable Fortran compilers:
--fcompiler=absoft Absoft Corp Fortran Compiler
--fcompiler=compaq Compaq Fortran Compiler
--fcompiler=compaqv DIGITAL|Compaq Visual Fortran Compiler
--fcompiler=g95 GNU Fortran 95 Compiler
--fcompiler=gnu95 GNU 95 Fortran Compiler
--fcompiler=hpux HP Fortran 90 Compiler
--fcompiler=ibm IBM XL Fortran Compiler
--fcompiler=intel Intel Fortran Compiler for 32-bit apps
--fcompiler=intele Intel Fortran Compiler for Itanium apps
--fcompiler=intelev Intel Visual Fortran Compiler for Itanium apps
--fcompiler=intelv Intel Visual Fortran Compiler for 32-bit apps
--fcompiler=lahey Lahey/Fujitsu Fortran 95 Compiler
--fcompiler=mips MIPSpro Fortran Compiler
--fcompiler=nag NAGWare Fortran 95 Compiler
--fcompiler=none Fake Fortran compiler
--fcompiler=pg Portland Group Fortran Compiler
--fcompiler=sun Sun|Forte Fortran 95 Compiler
--fcompiler=vast Pacific-Sierra Research Fortran 90 Compiler
List of unimplemented Fortran compilers:
--fcompiler=f Fortran Company/NAG F Compiler
For compiler details, run 'config_fc --verbose' setup command.
How can I have my compilers recognized ? Sorry if it sounds a trivial
question, I just spent the last 3h trying to find some info on the web, to no
avail.
Note that I did try a
f2py -c -f90exec=g95 -h mysigfile.pyf -m mymodule mysourcefile.f90
just in case. The compilation runs fine, I have my mymodule.so, but when I
import it in Python, I end up with
undefined symbol: _g95_power_r8_i4
If I use
f2py -c -f90exec=ifort -h mysigfile.pyf -m mymodule mysourcefile.f90
I end up with
undefined symbol: f_powdi
instead.
Any help more than welcome.
Thx in advance.
More information about the f2py-users
mailing list