<div>quite strange. it doesn&#39;t happen to me. here is what I get</div>
<div>&nbsp;</div>
<div>----------------------</div>
<div>&nbsp;</div>
<div>&gt;&nbsp;f2py --fcompiler=intele -c test.f90 -m test<br>running build<br>running config_fc<br>running build_src<br>building extension &quot;test&quot; sources<br>f2py options: []<br>f2py:&gt; /tmp/tmpkQ6dXv/src.linux-ia64-2.5
/testmodule.c<br>creating /tmp/tmpkQ6dXv<br>creating /tmp/tmpkQ6dXv/src.linux-ia64-2.5<br>Reading fortran codes...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reading file &#39;test.f90&#39; (format:free)<br>Post-processing...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Block: test<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Block: calc_km
<br>Post-processing (stage 2)...<br>Building modules...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Building module &quot;test&quot;...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Constructing wrapper function &quot;calc_km&quot;...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; km = calc_km(km)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Wrote C/API module &quot;test&quot; to file &quot;/tmp/tmpkQ6dXv/src.linux-
ia64-2.5/testmodule.c&quot;<br>&nbsp; adding &#39;/tmp/tmpkQ6dXv/src.linux-ia64-2.5/fortranobject.c&#39; to sources.<br>&nbsp; adding &#39;/tmp/tmpkQ6dXv/src.linux-ia64-2.5&#39; to include_dirs.<br>copying /xlv1/labsoi_devices/bollalo001/lib/python2.5/site-packages/numpy/f2py/src/fortranobject.c -&gt; /tmp/tmpkQ6dXv/src.linux-
ia64-2.5<br>copying /xlv1/labsoi_devices/bollalo001/lib/python2.5/site-packages/numpy/f2py/src/fortranobject.h -&gt; /tmp/tmpkQ6dXv/src.linux-ia64-2.5<br>running build_ext<br>customize UnixCCompiler<br>customize UnixCCompiler using build_ext
<br>Could not locate executable ifc<br>Could not locate executable efort<br>Could not locate executable efort<br>customize IntelItaniumFCompiler<br>customize IntelItaniumFCompiler using build_ext<br>building &#39;test&#39; extension
<br>compiling C sources<br>C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC</div>
<p>creating /tmp/tmpkQ6dXv/tmp<br>creating /tmp/tmpkQ6dXv/tmp/tmpkQ6dXv<br>creating /tmp/tmpkQ6dXv/tmp/tmpkQ6dXv/src.linux-ia64-2.5<br>compile options: &#39;-I/tmp/tmpkQ6dXv/src.linux-ia64-2.5 -I/xlv1/labsoi_devices/bollalo001/lib/python2.5/site-packages/numpy/core/include -I/xlv1/labsoi_devices/bollalo001/include/python2.5 -c&#39;
<br>gcc: /tmp/tmpkQ6dXv/src.linux-ia64-2.5/fortranobject.c<br>gcc: /tmp/tmpkQ6dXv/src.linux-ia64-2.5/testmodule.c<br>compiling Fortran sources<br>Fortran f77 compiler: /opt/intel/fc/bin/ifort -FI -w90 -w95 -KPIC -cm -O3 -unroll
<br>Fortran f90 compiler: /opt/intel/fc/bin/ifort -FR -KPIC -cm -O3 -unroll<br>Fortran fix compiler: /opt/intel/fc/bin/ifort -FI -KPIC -cm -O3 -unroll<br>compile options: &#39;-I/tmp/tmpkQ6dXv/src.linux-ia64-2.5 -I/xlv1/labsoi_devices/bollalo001/lib/python2.5/site-packages/numpy/core/include -I/xlv1/labsoi_devices/bollalo001/include/python2.5 -c&#39;
<br>ifort:f90: test.f90<br>ifort: Command line warning: ignoring option &#39;-u&#39;; no argument required<br>/opt/intel/fc/bin/ifort -shared -nofor_main /tmp/tmpkQ6dXv/tmp/tmpkQ6dXv/src.linux-ia64-2.5/testmodule.o /tmp/tmpkQ6dXv/tmp/tmpkQ6dXv/src.linux-
ia64-2.5/fortranobject.o /tmp/tmpkQ6dXv/test.o -o ./test.so<br>Removing build directory /tmp/tmpkQ6dXv<br></p>
<div><br>&nbsp;</div>
<div>----------------------</div>
<div>&nbsp;</div>
<div>what is the exact error message you get?</div>
<div>lorenzo</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><br>&nbsp;</div>
<div><span class="gmail_quote">On 7/6/07, <b class="gmail_sendername">fred</b> &lt;<a href="mailto:fredmfp@gmail.com">fredmfp@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">lorenzo bolla a écrit :<br>&gt; I use f2py with .f90 files and the intel compiler, and it works fine<br>&gt; for me... can you submit a piece of .f90 code?
<br>&gt; by the way, I specify the intel compiler by this command line:<br>&gt; f2py -c &lt;file.f90&gt; -m &lt;module&gt; --fcompiler=intele --compiler=intel<br>PS: I use two debian etch boxes, i686 &amp; x86_64.<br>I get the same issue on both.
<br><br>PS2: f2py 2_3649, scipy 0.5.2, numpy 1.0.2<br><br>Cheers,<br><br>--<br><a href="http://scipy.org/FredericPetit">http://scipy.org/FredericPetit</a><br><br>_______________________________________________<br>SciPy-user mailing list
<br><a href="mailto:SciPy-user@scipy.org">SciPy-user@scipy.org</a><br><a href="http://projects.scipy.org/mailman/listinfo/scipy-user">http://projects.scipy.org/mailman/listinfo/scipy-user</a><br></blockquote></div><br>