[SciPy-user] [f2py] f90 format file...

lorenzo bolla lbolla@gmail....
Fri Jul 6 04:52:47 CDT 2007

quite strange. it doesn't happen to me. here is what I get


> f2py --fcompiler=intele -c test.f90 -m test
running build
running config_fc
running build_src
building extension "test" sources
f2py options: []
f2py:> /tmp/tmpkQ6dXv/src.linux-ia64-2.5/testmodule.c
creating /tmp/tmpkQ6dXv
creating /tmp/tmpkQ6dXv/src.linux-ia64-2.5
Reading fortran codes...
        Reading file 'test.f90' (format:free)
        Block: test
                        Block: calc_km
Post-processing (stage 2)...
Building modules...
        Building module "test"...
                Constructing wrapper function "calc_km"...
                  km = calc_km(km)
        Wrote C/API module "test" to file "/tmp/tmpkQ6dXv/src.linux-ia64-2.5
  adding '/tmp/tmpkQ6dXv/src.linux-ia64-2.5/fortranobject.c' to sources.
  adding '/tmp/tmpkQ6dXv/src.linux-ia64-2.5' to include_dirs.
-> /tmp/tmpkQ6dXv/src.linux-ia64-2.5
-> /tmp/tmpkQ6dXv/src.linux-ia64-2.5
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
Could not locate executable ifc
Could not locate executable efort
Could not locate executable efort
customize IntelItaniumFCompiler
customize IntelItaniumFCompiler using build_ext
building 'test' extension
compiling C sources
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC

creating /tmp/tmpkQ6dXv/tmp
creating /tmp/tmpkQ6dXv/tmp/tmpkQ6dXv
creating /tmp/tmpkQ6dXv/tmp/tmpkQ6dXv/src.linux-ia64-2.5
compile options:
-I/xlv1/labsoi_devices/bollalo001/include/python2.5 -c'
gcc: /tmp/tmpkQ6dXv/src.linux-ia64-2.5/fortranobject.c
gcc: /tmp/tmpkQ6dXv/src.linux-ia64-2.5/testmodule.c
compiling Fortran sources
Fortran f77 compiler: /opt/intel/fc/bin/ifort -FI -w90 -w95 -KPIC -cm -O3
Fortran f90 compiler: /opt/intel/fc/bin/ifort -FR -KPIC -cm -O3 -unroll
Fortran fix compiler: /opt/intel/fc/bin/ifort -FI -KPIC -cm -O3 -unroll
compile options:
-I/xlv1/labsoi_devices/bollalo001/include/python2.5 -c'
ifort:f90: test.f90
ifort: Command line warning: ignoring option '-u'; no argument required
/opt/intel/fc/bin/ifort -shared -nofor_main
/tmp/tmpkQ6dXv/test.o -o ./test.so
Removing build directory /tmp/tmpkQ6dXv


what is the exact error message you get?

On 7/6/07, fred <fredmfp@gmail.com> wrote:
> lorenzo bolla a écrit :
> > I use f2py with .f90 files and the intel compiler, and it works fine
> > for me... can you submit a piece of .f90 code?
> > by the way, I specify the intel compiler by this command line:
> > f2py -c <file.f90> -m <module> --fcompiler=intele --compiler=intel
> PS: I use two debian etch boxes, i686 & x86_64.
> I get the same issue on both.
> PS2: f2py 2_3649, scipy 0.5.2, numpy 1.0.2
> Cheers,
> --
> http://scipy.org/FredericPetit
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20070706/d4dfc2b8/attachment.html 

More information about the SciPy-user mailing list