piasek4:~/unres/source/maxlik/src_FPy> f2py -h dupa.pyf dupa.f Reading fortran codes... Reading file 'dupa.f' (format:fix,strict) Post-processing... Block: dupa Post-processing (stage 2)... Saving signatures to file "./dupa.pyf" piasek4:~/unres/source/maxlik/src_FPy> f2py -c --fcompiler=intelem dupa.o --verbose dupa.pyf Traceback (most recent call last): File "/usr/local/bin/f2py", line 24, in main() File "/usr/local/lib/python2.7/dist-packages/numpy/f2py/f2py2e.py", line 594, in main run_compile() File "/usr/local/lib/python2.7/dist-packages/numpy/f2py/f2py2e.py", line 569, in run_compile ext = Extension(**ext_args) File "/usr/local/lib/python2.7/dist-packages/numpy/distutils/extension.py", line 52, in __init__ export_symbols) File "/usr/lib/python2.7/distutils/extension.py", line 106, in __init__ assert type(name) is StringType, "'name' must be a string" AssertionError: 'name' must be a string piasek4:~/unres/source/maxlik/src_FPy> f2py -c --fcompiler=gfortran -m dupa dupa.f Unknown vendor: "gfortran" running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building extension "dupa" sources f2py options: [] f2py:> /tmp/tmpx5e0Pj/src.linux-x86_64-2.7/dupamodule.c creating /tmp/tmpx5e0Pj/src.linux-x86_64-2.7 Reading fortran codes... Reading file 'dupa.f' (format:fix,strict) Post-processing... Block: dupa Block: dupa Post-processing (stage 2)... Building modules... Building module "dupa"... Constructing wrapper function "dupa"... dupa(x) Wrote C/API module "dupa" to file "/tmp/tmpx5e0Pj/src.linux-x86_64-2.7/dupamodule.c" adding '/tmp/tmpx5e0Pj/src.linux-x86_64-2.7/fortranobject.c' to sources. adding '/tmp/tmpx5e0Pj/src.linux-x86_64-2.7' to include_dirs. copying /usr/local/lib/python2.7/dist-packages/numpy/f2py/src/fortranobject.c -> /tmp/tmpx5e0Pj/src.linux-x86_64-2.7 copying /usr/local/lib/python2.7/dist-packages/numpy/f2py/src/fortranobject.h -> /tmp/tmpx5e0Pj/src.linux-x86_64-2.7 build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/bin/gfortran customize Gnu95FCompiler using build_ext building 'dupa' extension compiling C sources C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC creating /tmp/tmpx5e0Pj/tmp creating /tmp/tmpx5e0Pj/tmp/tmpx5e0Pj creating /tmp/tmpx5e0Pj/tmp/tmpx5e0Pj/src.linux-x86_64-2.7 compile options: '-I/tmp/tmpx5e0Pj/src.linux-x86_64-2.7 -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c' gcc: /tmp/tmpx5e0Pj/src.linux-x86_64-2.7/dupamodule.c In file included from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from /tmp/tmpx5e0Pj/src.linux-x86_64-2.7/fortranobject.h:13, from /tmp/tmpx5e0Pj/src.linux-x86_64-2.7/dupamodule.c:17: /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] gcc: /tmp/tmpx5e0Pj/src.linux-x86_64-2.7/fortranobject.c In file included from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from /tmp/tmpx5e0Pj/src.linux-x86_64-2.7/fortranobject.h:13, from /tmp/tmpx5e0Pj/src.linux-x86_64-2.7/fortranobject.c:2: /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] compiling Fortran sources Fortran f77 compiler: /usr/bin/gfortran -Wall -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/bin/gfortran -Wall -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -fPIC -O3 -funroll-loops compile options: '-I/tmp/tmpx5e0Pj/src.linux-x86_64-2.7 -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c' gfortran:f77: dupa.f /usr/bin/gfortran -Wall -Wall -shared /tmp/tmpx5e0Pj/tmp/tmpx5e0Pj/src.linux-x86_64-2.7/dupamodule.o /tmp/tmpx5e0Pj/tmp/tmpx5e0Pj/src.linux-x86_64-2.7/fortranobject.o /tmp/tmpx5e0Pj/dupa.o -lgfortran -o ./dupa.so Removing build directory /tmp/tmpx5e0Pj piasek4:~/unres/source/maxlik/src_FPy>