[SciPy-User] GSVD in Scipy (ticket 964)

Iain Day iain@day-online.org.uk.inva...
Sun Jul 25 11:35:20 CDT 2010


Hello,

Apologies if this is the wrong mailing list for this. I'm working on a 
problem which needs the generalized SVD of a matrix pair, similar to the 
MatLab routine gsvd. There is a ticket open for an enhancement for this 
to go into scipy/linalg (ticket 964). Does anyone know if/when this is 
likely to land in a release of scipy?

Other wise, I've been trying to use the patch provided by Mike Trumpis 
to wrap the relevant lapack calls myself. I've taken his .pyf file and 
downloaded the four lapack routines for gsvd. I'm trying to follow the 
f2py example on the scipy pages:

$ f2py2.6 -c lapack_gsvd.pyf sggsvd.f dggsvd.f cggsvd.f zggsvd.f -latlas 
-llapack -lblas

which fails with an error given below. Does anyone have any pointers as 
where I might be going wrong. Many thanks.  For information, numpy, 
scipy, atlas, lapack and blas are all from Fink.

Many thanks.

Iain




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 "lapack_gsvd" sources
creating /var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_
creating 
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6
f2py options: []
f2py: lapack_gsvd.pyf
Reading fortran codes...
	Reading file 'lapack_gsvd.pyf' (format:free)
Line #6 in lapack_gsvd.pyf:"subroutine 
<tchar=s,d>ggsvd(m,p,n,k,l,du,dv,dq,a,b,compute_vecs,u,v,q,alpha,beta,work,iwork,info) 
"
	analyzeline: No name/args pattern found for line.
Line #34 in lapack_gsvd.pyf:"end subroutine <tchar=s,d>ggsvd"
	analyzeline: No name/args pattern found for line.
Line #36 in lapack_gsvd.pyf:"subroutine 
<tchar=c,z>ggsvd(m,p,n,k,l,du,dv,dq,a,b,compute_vecs,u,v,q,alpha,beta,work,rwork,iwork,info) 
"
	analyzeline: No name/args pattern found for line.
Line #65 in lapack_gsvd.pyf:"end subroutine <tchar=c,z>ggsvd "
	analyzeline: No name/args pattern found for line.
crackline: groupcounter=4 groupname={0: '', 1: 'python module', 2: 
'interface', 3: 'subroutine', 4: 'subroutine', 5: 'subroutine', 6: 
'subroutine'}
crackline: Mismatch of blocks encountered. Trying to fix it by assuming 
"end" statement.
crackline: groupcounter=3 groupname={0: '', 1: 'python module', 2: 
'interface', 3: 'subroutine', 4: 'subroutine', 5: 'subroutine', 6: 
'subroutine'}
crackline: Mismatch of blocks encountered. Trying to fix it by assuming 
"end" statement.
crackline: groupcounter=2 groupname={0: '', 1: 'python module', 2: 
'interface', 3: 'subroutine', 4: 'subroutine', 5: 'subroutine', 6: 
'subroutine'}
crackline: Mismatch of blocks encountered. Trying to fix it by assuming 
"end" statement.
crackline: groupcounter=1 groupname={0: '', 1: 'python module', 2: 
'interface', 3: 'subroutine', 4: 'subroutine', 5: 'subroutine', 6: 
'subroutine'}
crackline: Mismatch of blocks encountered. Trying to fix it by assuming 
"end" statement.
Post-processing...
	Block: lapack_gsvd
			Block: unknown_subroutine
Post-processing (stage 2)...
Building modules...
	Building module "lapack_gsvd"...
		Constructing wrapper function "unknown_subroutine"...
		  unknown_subroutine()
	Wrote C/API module "lapack_gsvd" to file 
"/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c"
   adding 
'/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/fortranobject.c' 
to sources.
   adding 
'/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6' 
to include_dirs.
copying /sw/lib/python2.6/site-packages/numpy/f2py/src/fortranobject.c 
-> 
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6
copying /sw/lib/python2.6/site-packages/numpy/f2py/src/fortranobject.h 
-> 
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6
build_src: building npy-pkg config files
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize NAGFCompiler
Could not locate executable f95
customize AbsoftFCompiler
Could not locate executable f90
Could not locate executable f77
customize IBMFCompiler
Could not locate executable xlf90
Could not locate executable xlf
customize IntelFCompiler
Could not locate executable ifort
Could not locate executable ifc
customize GnuFCompiler
Could not locate executable g77
customize Gnu95FCompiler
Found executable /sw/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
building 'lapack_gsvd' extension
compiling C sources
C compiler: gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall 
-Wstrict-prototypes

creating /var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/var
creating 
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/var/folders
creating 
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/var/folders/Ss
creating 
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI
creating 
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-
creating 
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_
creating 
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6
compile options: 
'-I/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6 
-I/sw/lib/python2.6/site-packages/numpy/core/include 
-I/sw/include/python2.6 -c'
gcc: 
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:100: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:100: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:100: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:100: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:100: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:100: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:100: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:100: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:120: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:120: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:120: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:120: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:120: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:120: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:120: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:120: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c: 
In function ‘f2py_rout_lapack_gsvd_unknown_subroutine’:
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘compute_vecs’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: (Each undeclared identifier is reported only once
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: for each function it appears in.)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘m’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘n’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘p’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘k’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘l’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘a’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘b’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘alpha’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘beta’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘u’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘du’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘v’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘dv’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘q’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘dq’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘work’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘iwork’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘info’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: too many arguments to function ‘f2py_func’
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:100: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:100: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:100: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:100: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:100: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:100: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:100: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:100: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:120: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:120: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:120: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:120: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:120: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:120: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:120: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:120: 
error: expected declaration specifiers or ‘...’ before ‘<’ token
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c: 
In function ‘f2py_rout_lapack_gsvd_unknown_subroutine’:
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘compute_vecs’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: (Each undeclared identifier is reported only once
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: for each function it appears in.)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘m’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘n’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘p’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘k’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘l’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘a’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘b’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘alpha’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘beta’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘u’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘du’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘v’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘dv’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘q’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘dq’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘work’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘iwork’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: ‘info’ undeclared (first use in this function)
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c:141: 
error: too many arguments to function ‘f2py_func’
error: Command "gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall 
-Wstrict-prototypes 
-I/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6 
-I/sw/lib/python2.6/site-packages/numpy/core/include 
-I/sw/include/python2.6 -c 
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.c 
-o 
/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/var/folders/Ss/SsCJ6A6sENq5sQzZeDzoT++++TI/-Tmp-/tmpYRUAv_/src.macosx-10.6-x86_64-2.6/lapack_gsvdmodule.o" 
failed with exit status 1



More information about the SciPy-User mailing list