FPy> f2py -c -DMPI -DISNAN -DPYTHON -I. -I/opt/cray/mpt/7.3.2/gni/mpich-gnu/5.1/include --f90exec=ftn -m helloworld helloworld.f90 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 building extension "helloworld" sources f2py options: [] f2py:> /tmp/tmpGgYOTj/src.linux-x86_64-2.6/helloworldmodule.c creating /tmp/tmpGgYOTj creating /tmp/tmpGgYOTj/src.linux-x86_64-2.6 rmbadname1: Replacing "rank" with "rank_bn". rmbadname1: Replacing "size" with "size_bn". rmbadname1: Replacing "size" with "size_bn". rmbadname1: Replacing "rank" with "rank_bn". Reading fortran codes... Reading file 'helloworld.f90' (format:free) Post-processing... Block: helloworld Block: sayhello Post-processing (stage 2)... Building modules... Building module "helloworld"... Constructing wrapper function "sayhello"... sayhello(comm) Wrote C/API module "helloworld" to file "/tmp/tmpGgYOTj/src.linux-x86_64-2.6/helloworldmodule.c" adding '/tmp/tmpGgYOTj/src.linux-x86_64-2.6/fortranobject.c' to sources. adding '/tmp/tmpGgYOTj/src.linux-x86_64-2.6' to include_dirs. copying /usr/lib64/python2.6/site-packages/numpy/f2py/src/fortranobject.c -> /tmp/tmpGgYOTj/src.linux-x86_64-2.6 copying /usr/lib64/python2.6/site-packages/numpy/f2py/src/fortranobject.h -> /tmp/tmpGgYOTj/src.linux-x86_64-2.6 running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize GnuFCompiler Could not locate executable g77 Could not locate executable f77 customize IntelFCompiler Found executable /opt/cray/craype/2.5.3/bin/ftn Could not locate executable ifort Could not locate executable ifc customize LaheyFCompiler Could not locate executable lf95 lahey: no Fortran 77 compiler found lahey: no Fortran 77 compiler found customize PGroupFCompiler Could not locate executable pgf77 pg: no Fortran 77 compiler found Could not locate executable pgf90 pg: no Fortran 77 compiler found customize AbsoftFCompiler absoft: no Fortran 77 compiler found absoft: no Fortran 77 compiler found customize NAGFCompiler Could not locate executable f95 nag: no Fortran 77 compiler found nag: no Fortran 77 compiler found customize VastFCompiler customize GnuFCompiler customize CompaqFCompiler Could not locate executable fort compaq: no Fortran 77 compiler found compaq: no Fortran 77 compiler found customize IntelItaniumFCompiler Could not locate executable efort Could not locate executable efc customize IntelEM64TFCompiler customize Gnu95FCompiler Found executable /opt/gcc/5.3.0/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building 'helloworld' extension compiling C sources C compiler: gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fwrapv -fPIC creating /tmp/tmpGgYOTj/tmp creating /tmp/tmpGgYOTj/tmp/tmpGgYOTj creating /tmp/tmpGgYOTj/tmp/tmpGgYOTj/src.linux-x86_64-2.6 compile options: '-DMPI -DISNAN -DPYTHON -I. -I/opt/cray/mpt/7.3.2/gni/mpich-gnu/5.1/include -I/tmp/tmpGgYOTj/src.linux-x86_64-2.6 -I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/include/python2.6 -c' gcc: /tmp/tmpGgYOTj/src.linux-x86_64-2.6/helloworldmodule.c gcc: /tmp/tmpGgYOTj/src.linux-x86_64-2.6/fortranobject.c compiling Fortran sources Fortran f77 compiler: /opt/cray/craype/2.5.3/bin/ftn -Wall -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: ftn -Wall -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: ftn -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -fPIC -O3 -funroll-loops compile options: '-DMPI -DISNAN -DPYTHON -I. -I/opt/cray/mpt/7.3.2/gni/mpich-gnu/5.1/include -I/tmp/tmpGgYOTj/src.linux-x86_64-2.6 -I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/include/python2.6 -c' ftn:f90: helloworld.f90 /opt/cray/craype/2.5.3/bin/ftn -Wall -Wall -shared /tmp/tmpGgYOTj/tmp/tmpGgYOTj/src.linux-x86_64-2.6/helloworldmodule.o /tmp/tmpGgYOTj/tmp/tmpGgYOTj/src.linux-x86_64-2.6/fortranobject.o /tmp/tmpGgYOTj/helloworld.o -L/usr/lib64 -lpython2.6 -lgfortran -o ./helloworld.so running scons Removing build directory /tmp/tmpGgYOTj