update new files
[unres.git] / source / maxlik / src_FPy.org / sample1.txt
1 piasek4:~/unres/source/maxlik/src_FPy> f2py -h dupa.pyf dupa.f
2 Reading fortran codes...
3         Reading file 'dupa.f' (format:fix,strict)
4 Post-processing...
5         Block: dupa
6 Post-processing (stage 2)...
7 Saving signatures to file "./dupa.pyf"
8
9 piasek4:~/unres/source/maxlik/src_FPy> f2py -c --fcompiler=intelem dupa.o --verbose dupa.pyf
10 Traceback (most recent call last):
11   File "/usr/local/bin/f2py", line 24, in <module>
12     main()
13   File "/usr/local/lib/python2.7/dist-packages/numpy/f2py/f2py2e.py", line 594, in main
14     run_compile()
15   File "/usr/local/lib/python2.7/dist-packages/numpy/f2py/f2py2e.py", line 569, in run_compile
16     ext = Extension(**ext_args)
17   File "/usr/local/lib/python2.7/dist-packages/numpy/distutils/extension.py", line 52, in __init__
18     export_symbols)
19   File "/usr/lib/python2.7/distutils/extension.py", line 106, in __init__
20     assert type(name) is StringType, "'name' must be a string"
21 AssertionError: 'name' must be a string
22
23
24 piasek4:~/unres/source/maxlik/src_FPy> f2py -c --fcompiler=gfortran -m dupa dupa.f
25 Unknown vendor: "gfortran"
26 running build
27 running config_cc
28 unifing config_cc, config, build_clib, build_ext, build commands --compiler options
29 running config_fc
30 unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
31 running build_src
32 build_src
33 building extension "dupa" sources
34 f2py options: []
35 f2py:> /tmp/tmpx5e0Pj/src.linux-x86_64-2.7/dupamodule.c
36 creating /tmp/tmpx5e0Pj/src.linux-x86_64-2.7
37 Reading fortran codes...
38         Reading file 'dupa.f' (format:fix,strict)
39 Post-processing...
40         Block: dupa
41                         Block: dupa
42 Post-processing (stage 2)...
43 Building modules...
44         Building module "dupa"...
45                 Constructing wrapper function "dupa"...
46                   dupa(x)
47         Wrote C/API module "dupa" to file "/tmp/tmpx5e0Pj/src.linux-x86_64-2.7/dupamodule.c"
48   adding '/tmp/tmpx5e0Pj/src.linux-x86_64-2.7/fortranobject.c' to sources.
49   adding '/tmp/tmpx5e0Pj/src.linux-x86_64-2.7' to include_dirs.
50 copying /usr/local/lib/python2.7/dist-packages/numpy/f2py/src/fortranobject.c -> /tmp/tmpx5e0Pj/src.linux-x86_64-2.7
51 copying /usr/local/lib/python2.7/dist-packages/numpy/f2py/src/fortranobject.h -> /tmp/tmpx5e0Pj/src.linux-x86_64-2.7
52 build_src: building npy-pkg config files
53 running build_ext
54 customize UnixCCompiler
55 customize UnixCCompiler using build_ext
56 customize Gnu95FCompiler
57 Found executable /usr/bin/gfortran
58 customize Gnu95FCompiler using build_ext
59 building 'dupa' extension
60 compiling C sources
61 C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC
62
63 creating /tmp/tmpx5e0Pj/tmp
64 creating /tmp/tmpx5e0Pj/tmp/tmpx5e0Pj
65 creating /tmp/tmpx5e0Pj/tmp/tmpx5e0Pj/src.linux-x86_64-2.7
66 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'
67 gcc: /tmp/tmpx5e0Pj/src.linux-x86_64-2.7/dupamodule.c
68 In file included from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0,
69                  from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
70                  from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
71                  from /tmp/tmpx5e0Pj/src.linux-x86_64-2.7/fortranobject.h:13,
72                  from /tmp/tmpx5e0Pj/src.linux-x86_64-2.7/dupamodule.c:17:
73 /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]
74 gcc: /tmp/tmpx5e0Pj/src.linux-x86_64-2.7/fortranobject.c
75 In file included from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0,
76                  from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
77                  from /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
78                  from /tmp/tmpx5e0Pj/src.linux-x86_64-2.7/fortranobject.h:13,
79                  from /tmp/tmpx5e0Pj/src.linux-x86_64-2.7/fortranobject.c:2:
80 /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]
81 compiling Fortran sources
82 Fortran f77 compiler: /usr/bin/gfortran -Wall -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops
83 Fortran f90 compiler: /usr/bin/gfortran -Wall -fno-second-underscore -fPIC -O3 -funroll-loops
84 Fortran fix compiler: /usr/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -fPIC -O3 -funroll-loops
85 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'
86 gfortran:f77: dupa.f
87 /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
88 Removing build directory /tmp/tmpx5e0Pj
89 piasek4:~/unres/source/maxlik/src_FPy>
90