Nils Wagner | 1 Oct 2003 10:15
Picon

Missing matrix function sqrtm

Dear experts,

I would appreciate it, if the square root of a matrix will be provided
as a separate function in scipy. 

Any suggestion ?

Nils
Nils Wagner | 1 Oct 2003 10:27
Picon

config.h:1: error: parse error before '<<' token error

Hi all,

python setup.py build from latest cvs failed 

In file included from
/export/home/wagner/cvs/scipy/Lib/xplt/src/play/unix/dir.c:16:
/export/home/wagner/cvs/scipy/Lib/xplt/src/play/unix/config.h:1: error:
parse error before '<<' token
error: command 'gcc' failed with exit status 1

Nils
Pearu Peterson | 1 Oct 2003 09:39
Favicon

Re: config.h:1: error: parse error before '<<' token error


On Wed, 1 Oct 2003, Nils Wagner wrote:

> python setup.py build from latest cvs failed 
> 
> In file included from
> /export/home/wagner/cvs/scipy/Lib/xplt/src/play/unix/dir.c:16:
> /export/home/wagner/cvs/scipy/Lib/xplt/src/play/unix/config.h:1: error:
> parse error before '<<' token
> error: command 'gcc' failed with exit status 1

This probably means that there were conflicts when mergeing the changes in
CVS and your local config.h. This is is a known issue that we should
evenutally fix (generate files only under build/ tree and never commit
generated files to CVS).

As a workaround, remove scipy/Lib/xplt/src/play/unix/config.h and 
do `cvs update` again.

Pearu
Nils Wagner | 1 Oct 2003 11:06
Picon

Re: config.h:1: error: parse error before '<<' tokenerror

Pearu Peterson schrieb:
> 
> On Wed, 1 Oct 2003, Nils Wagner wrote:
> 
> > python setup.py build from latest cvs failed
> >
> > In file included from
> > /export/home/wagner/cvs/scipy/Lib/xplt/src/play/unix/dir.c:16:
> > /export/home/wagner/cvs/scipy/Lib/xplt/src/play/unix/config.h:1: error:
> > parse error before '<<' token
> > error: command 'gcc' failed with exit status 1
> 
> This probably means that there were conflicts when mergeing the changes in
> CVS and your local config.h. This is is a known issue that we should
> evenutally fix (generate files only under build/ tree and never commit
> generated files to CVS).
> 
> As a workaround, remove scipy/Lib/xplt/src/play/unix/config.h and
> do `cvs update` again.
> 
> Pearu
> 

Just another question. What is the meaning of

? scipy/_ft.cpp
? scipy/_kiva.cpp
? scipy/Lib/linalg/build
? scipy/Lib/linalg/cblas.pyf
? scipy/Lib/linalg/clapack.pyf
(Continue reading)

Pearu Peterson | 1 Oct 2003 10:16
Favicon

Re: config.h:1: error: parse error before '<<' tokenerror


On Wed, 1 Oct 2003, Nils Wagner wrote:

> Just another question. What is the meaning of
> 
> ? scipy/_ft.cpp
> ? scipy/_kiva.cpp
> ? scipy/Lib/linalg/build
> ? scipy/Lib/linalg/cblas.pyf
> ? scipy/Lib/linalg/clapack.pyf
> ? scipy/Lib/linalg/fblas.pyf
> ? scipy/Lib/linalg/flapack.pyf
> ? scipy/Lib/xplt/pygist/Make.cfg
> ? scipy/scipy_core/scipy_base/mconf_lite.h
> ? scipy/scipy_core/scipy_base/mconf_lite.h
> 
> Is it necessary to remove these files ?

No. But they all illustrate a bad habit to generate files under CVS tree. 
While *.pyf,*.cpp files are platform/compiler independent then other files 
are not. These other files must be removed whenever you switch a compiler 
or a platform but using the same CVS tree. Actually, also *.pyf files 
depend on the ATLAS version and may cause problems when switching ATLAS 
libraries.
`?` indicates that those files are unknown to the CVS repository and this 
is a good thing.

Pearu
Nils Wagner | 1 Oct 2003 11:40
Picon

Different failures in scipy.test()

Dear experts,

I have observed different failures in scipy.test() on different
installations (python2.2, python2.3) with different versions of ATLAS.
What is the reason for that ?

Which versions of ATLAS and python are recommended ?

Nils
Pearu Peterson | 1 Oct 2003 10:34
Favicon

Re: Different failures in scipy.test()


On Wed, 1 Oct 2003, Nils Wagner wrote:

> Dear experts,
> 
> I have observed different failures in scipy.test() on different
> installations (python2.2, python2.3) with different versions of ATLAS.
> What is the reason for that ?

Could you include also the nature of these failures?
It is rather difficult to comment with the given (lack of) information.

> Which versions of ATLAS and python are recommended ?

See INSTALL.txt. 

In practice, less trouble are with versions that scipy developers 
use;-)

I usually test scipy with the boundary versions of software as given in
INSTALL.txt.

Pearu
Nils Wagner | 1 Oct 2003 12:43
Picon

Improvements for the iterative computation of signm

Dear experts,

The current iterative algorithm for signm can be improved.
The theory is given in a recent paper by Bai et. al.

The spectral decomposition of nonsymmetric matrices
on distributed memory parallel computers,
SIAM J. Sci. Comput. Vol. 18 (5) pp. 1446-1461

Any cooments ?

                       Nils
Nils Wagner | 1 Oct 2003 17:47
Picon

Re: Different failures in scipy.test()

Pearu Peterson schrieb:
> 
> On Wed, 1 Oct 2003, Nils Wagner wrote:
> 
> > Dear experts,
> >
> > I have observed different failures in scipy.test() on different
> > installations (python2.2, python2.3) with different versions of ATLAS.
> > What is the reason for that ?
> 
> Could you include also the nature of these failures?
Yes.

>> scipy.__version__
'0.2.0__220.4275'
>>> Numeric.__version__
'23.0'
Python 2.2.2 (#1, Mar 17 2003, 15:17:58)
[GCC 3.3 20030226 (prerelease) (SuSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

BTW, Is it possible to dtermine the version of ATLAS in a similar way ?

======================================================================
FAIL: check_pro_ang1_cv (test_basic.test_cephes)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/lib/python2.2/site-packages/scipy/special/tests/test_basic.py",
line 357, in check_pro_ang1_cv
(Continue reading)

Pearu Peterson | 1 Oct 2003 21:30
Favicon

Re: Different failures in scipy.test()


On Wed, 1 Oct 2003, Nils Wagner wrote:

> >> scipy.__version__
> '0.2.0__220.4275'
> >>> Numeric.__version__
> '23.0'
> Python 2.2.2 (#1, Mar 17 2003, 15:17:58)
> [GCC 3.3 20030226 (prerelease) (SuSE Linux)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> 
> 
> BTW, Is it possible to dtermine the version of ATLAS in a similar way ?

Yes, see INSTALL.txt: section TROUBLESHOOTING, item (6)

> ======================================================================
> FAIL: check_pro_ang1_cv (test_basic.test_cephes)
> ----------------------------------------------------------------------
> Items are not equal:
> DESIRED: (1.0, 0.0)
> ACTUAL: (0.99999999999999989, 0.0)

This could be related to Python 2.2.2, not sure. On Python 2.3.1 this 
test succeeds.

> #################################################################################################################
> 
> The same cvs version of scipy
> but
(Continue reading)


Gmane