<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 2014/9/24 12:52, Charles R Harris wrote:<br>
    <blockquote
cite="mid:CAB6mnxLOCF2+SuV-U20ezT9JNOwamXVDdQ=bSR3BKnfyjJ3iHg@mail.gmail.com"
      type="cite">
      <div dir="ltr">On Tue, Sep 23, 2014 at 10:30 PM, Charles R Harris
        <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:charlesr.harris@gmail.com" target="_blank">charlesr.harris@gmail.com</a>></span>
        wrote:<br>
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div dir="ltr">On Tue, Sep 23, 2014 at 10:20 PM, Charles R
                Harris <span dir="ltr"><<a moz-do-not-send="true"
                    href="mailto:charlesr.harris@gmail.com"
                    target="_blank">charlesr.harris@gmail.com</a>></span>
                wrote:<br>
                <div class="gmail_extra">
                  <div class="gmail_quote">
                    <div>
                      <div class="h5">
                        <blockquote class="gmail_quote"
                          style="margin:0px 0px 0px
                          0.8ex;border-left:1px solid
                          rgb(204,204,204);padding-left:1ex">
                          <div dir="ltr"><br>
                            <br>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div><snip><br>
              <br>
            </div>
            <div>Looks like you need to do<br>
              <br>
              >>> import numpy.f2py as f2py<br>
              >>> f2py.test()<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I tried it but no test was run:<br>
    <br>
    Run python in the python27 env:<br>
    <br>
    <tt>$ scl enable python27 "python"</tt><tt><br>
    </tt><tt>Python 2.7.5 (default, Aug 13 2014, 02:49:07)</tt><tt><br>
    </tt><tt>[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2</tt><tt><br>
    </tt><tt>Type "help", "copyright", "credits" or "license" for more
      information.</tt><tt><br>
    </tt><tt>>>></tt><br>
    <br>
    Run the test:<br>
    <br>
    <tt>>>> import numpy.f2py as f2py</tt><tt><br>
    </tt><tt>>>> f2py.test()</tt><tt><br>
    </tt><tt>Running unit tests for numpy.f2py</tt><tt><br>
    </tt><tt>NumPy version 1.7.1</tt><tt><br>
    </tt><tt>NumPy is installed in
      /opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy</tt><tt><br>
    </tt><tt>Python version 2.7.5 (default, Aug 13 2014, 02:49:07) [GCC
      4.4.7 20120313 (Red Hat 4.4.7-3)]</tt><tt><br>
    </tt><tt>nose version 1.3.0</tt><tt><br>
    </tt><tt>S</tt><tt><br>
    </tt><tt>----------------------------------------------------------------------</tt><tt><br>
    </tt><tt>Ran 0 tests in 0.452s</tt><tt><br>
    </tt><tt><br>
    </tt><tt>OK (SKIP=1)</tt><tt><br>
    </tt><tt><nose.result.TextTestResult run=0 errors=0
      failures=0></tt><br>
    <br>
    Files of the python27-numpy-f2py-1.7.1-9.el6.x86_64 package:<br>
    <br>
    <tt>/opt/rh/python27/root/usr/bin/f2py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/__init__.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/__init__.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/__init__.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/__version__.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/__version__.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/__version__.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/auxfuncs.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/auxfuncs.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/auxfuncs.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/capi_maps.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/capi_maps.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/capi_maps.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/cb_rules.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/cb_rules.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/cb_rules.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/cfuncs.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/cfuncs.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/cfuncs.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/common_rules.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/common_rules.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/common_rules.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/crackfortran.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/crackfortran.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/crackfortran.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/diagnose.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/diagnose.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/diagnose.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f2py2e.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f2py2e.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f2py2e.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f2py_testing.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f2py_testing.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f2py_testing.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f90mod_rules.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f90mod_rules.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f90mod_rules.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/func2subr.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/func2subr.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/func2subr.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/info.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/info.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/info.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/rules.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/rules.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/rules.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/setup.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/setup.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/setup.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/setupscons.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/setupscons.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/setupscons.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/src</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/src/fortranobject.c</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/src/fortranobject.h</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/array_from_pyobj</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/assumed_shape</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/assumed_shape/.f2py_f2cmap</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/assumed_shape/foo_free.f90</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/assumed_shape/foo_mod.f90</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/assumed_shape/foo_use.f90</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/assumed_shape/precision.f90</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/kind</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/kind/foo.f90</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/mixed</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/mixed/foo.f</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/mixed/foo_fixed.f90</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/mixed/foo_free.f90</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/size</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/size/foo.f90</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_array_from_pyobj.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_array_from_pyobj.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_array_from_pyobj.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_assumed_shape.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_assumed_shape.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_assumed_shape.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_callback.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_callback.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_callback.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_kind.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_kind.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_kind.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_mixed.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_mixed.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_mixed.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_character.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_character.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_character.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_complex.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_complex.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_complex.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_integer.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_integer.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_integer.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_logical.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_logical.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_logical.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_real.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_real.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_real.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_size.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_size.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_size.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/util.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/util.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/util.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/use_rules.py</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/use_rules.pyc</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/use_rules.pyo</tt><tt><br>
    </tt><tt>/opt/rh/python27/root/usr/share/man/man1/f2py.1.gz</tt><br>
    <br>
    <br>
    Thanks<br>
    Romu<br>
  </body>
</html>