running install
running build
running config_fc
running build_src
building extension "ZonalMeans._gengridzmean" sources
f2py:> build/src/ZonalMeans/_gengridzmeanmodule.c
creating build
creating build/src
creating build/src/ZonalMeans
Reading fortran codes...
	Reading file 'Src/zonebasin.f90'
	Reading file 'Src/mask4d.f90'
	Reading file 'Src/meme_cote.f90'
	Reading file 'Src/intersecte.f90'
	Reading file 'Src/echange.f90'
	Reading file 'Src/SphericalPolyArea.f90'
	Reading file 'Src/cal_int.f90'
	Reading file 'Src/cfraction.f90'
Post-processing...
	Block: _gengridzmean
			Block: zonebasin
			Block: mpr_mask4d
				Block: mask4d
			Block: mpr_meme_cote
				Block: meme_cote
			Block: mpr_intersecte
				Block: intersecte
			Block: mpr_echange
				Block: echange
			Block: mpr_hav
				Block: hav
			Block: mpr_sphericalpolyarea
				Block: sphericalpolyarea
			Block: mpr_cal_int
				Block: cal_int
			Block: mpr_cfraction
				Block: cfraction
Post-processing (stage 2)...
	Block: _gengridzmean
		Block: unknown_interface
			Block: zonebasin
			Block: mpr_mask4d
				Block: mask4d
			Block: mpr_meme_cote
				Block: meme_cote
			Block: mpr_intersecte
				Block: intersecte
			Block: mpr_echange
				Block: echange
			Block: mpr_hav
				Block: hav
			Block: mpr_sphericalpolyarea
				Block: sphericalpolyarea
			Block: mpr_cal_int
				Block: cal_int
			Block: mpr_cfraction
				Block: cfraction
Building modules...
	Building module "_gengridzmean"...
		Constructing wrapper function "zonebasin"...
		  areaband,zonxbar,zoninv,zonmask = zonebasin(var,bounds_lon,bounds_lat,bounds_depth,mask,basin_masks,area,volume,bandlat,[imt,jmt,kmt,nt,kmt_grid,iomax,vol_length,nb])
		Constructing F90 module support for "mpr_mask4d"...
			Constructing wrapper function "mpr_mask4d.mask4d"...
			  mask4d(tab,mask,miss_val,[imt,jmt,kmt,nt])
		Constructing F90 module support for "mpr_meme_cote"...
		Creating wrapper for Fortran function "meme_cote"("meme_cote")...
			Constructing wrapper function "mpr_meme_cote.meme_cote"...
			  meme_cote = meme_cote(x,y)
		Constructing F90 module support for "mpr_intersecte"...
		Creating wrapper for Fortran function "intersecte"("intersecte")...
			Constructing wrapper function "mpr_intersecte.intersecte"...
			  intersecte = intersecte(xseg1,yseg1,xseg2,yseg2,latitude,xint,yint)
		Constructing F90 module support for "mpr_echange"...
			Constructing wrapper function "mpr_echange.echange"...
			  echange(i,j,x,y)
		Constructing F90 module support for "mpr_hav"...
		Creating wrapper for Fortran function "hav"("hav")...
			Constructing wrapper function "mpr_hav.hav"...
			  hav = hav(x)
		Constructing F90 module support for "mpr_sphericalpolyarea"...
		Creating wrapper for Fortran function "sphericalpolyarea"("sphericalpolyarea")...
			Constructing wrapper function "mpr_sphericalpolyarea.sphericalpolyarea"...
			  sphericalpolyarea = sphericalpolyarea(lon,lat,[n])
		Constructing F90 module support for "mpr_cal_int"...
			Constructing wrapper function "mpr_cal_int.cal_int"...
			  cal_int(x,y,rlatmax,rlatmin,latitude,haut,x_sortie,y_sortie,info)
		Constructing F90 module support for "mpr_cfraction"...
			Constructing wrapper function "mpr_cfraction.cfraction"...
			  fareaz = cfraction(xlon,ylat,bandlat,[imt,jmt,nband])
	Wrote C/API module "_gengridzmean" to file "build/src/ZonalMeans/_gengridzmeanmodule.c"
	Fortran 90 wrappers are saved to "build/src/ZonalMeans/_gengridzmean-f2pywrappers2.f90"
  adding 'build/src/fortranobject.c' to sources.
  adding 'build/src' to include_dirs.
copying /lgm/cdat/latest/lib/python2.5/site-packages/f2py2e/src/fortranobject.c -> build/src
copying /lgm/cdat/latest/lib/python2.5/site-packages/f2py2e/src/fortranobject.h -> build/src
  adding 'build/src/ZonalMeans/_gengridzmean-f2pywrappers2.f90' to sources.
running build_py
creating build/lib.linux-i686-2.5
creating build/lib.linux-i686-2.5/ZonalMeans
copying Lib/package_version.py -> build/lib.linux-i686-2.5/ZonalMeans
copying Lib/zmean.py -> build/lib.linux-i686-2.5/ZonalMeans
copying Lib/__init__.py -> build/lib.linux-i686-2.5/ZonalMeans
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize GFortranCompiler
customize GFortranCompiler using build_ext
building 'ZonalMeans._gengridzmean' extension
compiling C sources
gcc options: '-fno-strict-aliasing -DNDEBUG -O -fPIC'
creating build/temp.linux-i686-2.5
creating build/temp.linux-i686-2.5/build
creating build/temp.linux-i686-2.5/build/src
creating build/temp.linux-i686-2.5/build/src/ZonalMeans
compile options: '-ISrc -Ibuild/src -I/lgm/cdat/latest/include/python2.5 -c'
gcc: build/src/ZonalMeans/_gengridzmeanmodule.c
gcc: build/src/fortranobject.c
creating build/temp.linux-i686-2.5/ZonalMeans
XXX: module_build_dir='build/temp.linux-i686-2.5/ZonalMeans' option ignored
XXX: Fix module_dir_switch for  GFortranCompiler
XXX: module_dirs=[] option ignored
XXX: Fix module_include_switch for  GFortranCompiler
compiling Fortran 90 module sources
gfortran(f77) options: ' -fPIC -O3 -funroll-loops'
gfortran(f90) options: '-Jbuild/src -Ibuild/src -fPIC -O3 -funroll-loops'
creating build/temp.linux-i686-2.5/Src
compile options: '-ISrc -Ibuild/src -I/lgm/cdat/latest/include/python2.5 -c'
gfortran:f90: Src/mask4d.f90
gfortran:f90: Src/meme_cote.f90
gfortran:f90: Src/intersecte.f90
gfortran:f90: Src/echange.f90
gfortran:f90: Src/SphericalPolyArea.f90
gfortran:f90: Src/cal_int.f90
gfortran:f90: Src/cfraction.f90
compiling Fortran sources
gfortran(f77) options: ' -fPIC -O3 -funroll-loops'
gfortran(f90) options: '-Jbuild/src -Ibuild/src -fPIC -O3 -funroll-loops'
compile options: '-ISrc -Ibuild/src -I/lgm/cdat/latest/include/python2.5 -c'
gfortran:f90: Src/zonebasin.f90
gfortran:f90: build/src/ZonalMeans/_gengridzmean-f2pywrappers2.f90
/usr/local/bin/gfortran -shared build/temp.linux-i686-2.5/build/src/ZonalMeans/_gengridzmeanmodule.o build/temp.linux-i686-2.5/build/src/fortranobject.o build/temp.linux-i686-2.5/Src/mask4d.o build/temp.linux-i686-2.5/Src/meme_cote.o build/temp.linux-i686-2.5/Src/intersecte.o build/temp.linux-i686-2.5/Src/echange.o build/temp.linux-i686-2.5/Src/SphericalPolyArea.o build/temp.linux-i686-2.5/Src/cal_int.o build/temp.linux-i686-2.5/Src/cfraction.o build/temp.linux-i686-2.5/Src/zonebasin.o build/temp.linux-i686-2.5/build/src/ZonalMeans/_gengridzmean-f2pywrappers2.o -LSrc/lib_external -L/usr/lib -L/usr/local/lib -L/sw/lib -lgfortran -o build/lib.linux-i686-2.5/ZonalMeans/_gengridzmean.so
running install_lib
creating /lgm/cdat/latest/lib/python2.5/site-packages/ZonalMeans
copying build/lib.linux-i686-2.5/ZonalMeans/package_version.py -> /lgm/cdat/latest/lib/python2.5/site-packages/ZonalMeans
copying build/lib.linux-i686-2.5/ZonalMeans/_gengridzmean.so -> /lgm/cdat/latest/lib/python2.5/site-packages/ZonalMeans
copying build/lib.linux-i686-2.5/ZonalMeans/zmean.py -> /lgm/cdat/latest/lib/python2.5/site-packages/ZonalMeans
copying build/lib.linux-i686-2.5/ZonalMeans/__init__.py -> /lgm/cdat/latest/lib/python2.5/site-packages/ZonalMeans
byte-compiling /lgm/cdat/latest/lib/python2.5/site-packages/ZonalMeans/package_version.py to package_version.pyc
byte-compiling /lgm/cdat/latest/lib/python2.5/site-packages/ZonalMeans/zmean.py to zmean.pyc
byte-compiling /lgm/cdat/latest/lib/python2.5/site-packages/ZonalMeans/__init__.py to __init__.pyc
running install_egg_info
Writing /lgm/cdat/latest/lib/python2.5/site-packages/ZonalMeans-1.0-py2.5.egg-info