[Numpy-discussion] problem with lapack_lite / BLAS

2006-10-07 Thread Karol Langner
Dear list,

 I'm trying to compile ATLAS 3.6.0 and LAPACK 3.0 (+ update) and use them with 
the latest numpy (checked out today). Installation seems to be fine, all the 
libraries are detected. When I import numpy, however, I get this:

Python 2.5 (r25:51908, Sep 27 2006, 17:40:29) 
[GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2
Type help, copyright, credits or license for more information.
 import numpy
Traceback (most recent call last):
  File stdin, line 1, in module
  File 
/home/langner/apps/python/lib/python2.5/site-packages/numpy/__init__.py, 
line 40, in module
import linalg
  File 
/home/langner/apps/python/lib/python2.5/site-packages/numpy/linalg/__init__.py,
 
line 4, in module
from linalg import *
  File 
/home/langner/apps/python/lib/python2.5/site-packages/numpy/linalg/linalg.py, 
line 25, in module
from numpy.linalg import lapack_lite
ImportError: 
/home/langner/apps/python/lib/python2.5/site-packages/numpy/linalg/lapack_lite.so:
 
undefined symbol: xerbla_

Does anyone know where this comes from?

Cheers,
Karol

-- 
written by Karol Langner
Sat Oct  7 14:02:46 CEST 2006

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


[Numpy-discussion] Numpy types and object comparison

2006-10-07 Thread Matthew Brett
Hi,

I am sorry, I am still struggling with object arrays - and here -
numpy data types.  Is there any easy way to explain why comparisons
with numpy types give a different output from comparisons with
non-numpy types:

In [108]:oa = zeros((1,), dtype=object)

In [109]:oa == int
Out[109]:array([False], dtype=bool)

In [110]:oa == int32
Out[110]:False

Many thanks for your patience,

Matthew

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Re: [Numpy-discussion] problem with lapack_lite / BLAS

2006-10-07 Thread Albert Strasheim
Hello all

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:numpy-
 [EMAIL PROTECTED] On Behalf Of Karol Langner
 Sent: 07 October 2006 14:07
 To: NumPy List
 Subject: [Numpy-discussion] problem with lapack_lite / BLAS
 
 Dear list,
 
  I'm trying to compile ATLAS 3.6.0 and LAPACK 3.0 (+ update) and use them
 with
 the latest numpy (checked out today). Installation seems to be fine, all
 the
 libraries are detected. When I import numpy, however, I get this:
 
 snip
 ImportError: /home/langner/apps/python/lib/python2.5/site-
 packages/numpy/linalg/lapack_lite.so:
 undefined symbol: xerbla_
 
 Does anyone know where this comes from?

xerbla is an error handler for the LAPACK routines. Make sure you included
xerbla.f when building your LAPACK library. Check the symbols included in
the library with strings or objdump.

Hope this helps.

Cheers,

Albert


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Re: [Numpy-discussion] (no subject)

2006-10-07 Thread yuki
:―― INFORMATION  ―:
 不正・悪質なサイトを一切排除しておりますので
 安心してご利用ください。   http://love-match.bz/pc/01
:――:

*・゜゜・*:.。. .。.:*・゜゜・*:.。..。:*・゜゜・*:.。..。:**・゜゜・*


━━━
 □■ 不倫・ワリキリ専門の無料出会いサイト『Love☆Match』
 -
  登録料・利用料 ・【無料】
  メールの送受信 ・【無料】
  ユーザーの検索 ・【無料】
  掲示板の閲覧・書込み ・・【無料】
  画像交換・アップロード ・【無料】
  アドレス交換・電話番号交換 ・・・【無料】
 -
  どれだけ使っても全て無料! http://love-match.bz/pc/01

━━━
 □■ いつでも女性ユーザーがいっぱい。その理由は?

 -
 PC&モバイルに対応!いつでもどこでも気軽に楽しめる!
 -
 仕事中は携帯電話から、プライベートは自宅からのんびりと。
 気になる相手といつでも繋がっているから、新密度も急速にUP。
 http://love-match.bz/pc/01

 -
 PCから簡単プロフィール作成。ネット初心者でもラクラク参加OK
 -
 面倒な登録は一切不要。パソコンから簡単なプロフィールを作成して
 初心者の方や女性でもすぐに参加できます。
 http://love-match.bz/pc/01
 -
 自由恋愛対応!直電・直メ交換支援ツール
 -
 基本的にメールアドレスや電話番号は非公開ですが
 仲良くなった人だけにメールアドレスや電話番号を教える事ができます。
 http://love-match.bz/pc/01

 -
 写真アップロードに対応!好みの相手を素早くCHECK!
 -
 待ち合わせ場所にイメージとまったく違う人が来たら…。
 ピュアックスなら会う前に写真交換ができるから、そんな不安も解消。
 http://love-match.bz/pc/01

 -
 スレッド掲示板で秘密のパートナー検索も効率UP!
 -
 メインの掲示板のほかにスレッド型の掲示板を設置。
 メル友から秘密のパートナーまで目的別のユーザーが集う掲示板です。
 http://love-match.bz/pc/01


━━━
 □■ 毎日500人近くのユーザーが続々参加中!!

□-

 リエ(21歳/会社員)
 いつも1人でエッチなことを考えてます。
 メールだといろいろ話せるんだけど、実際に会うとあまりしゃべれなく
 なっちゃうので、盛り上げてくれるような楽しい男の人いないかな?
 引っ込み思案のせいか、男性経験はあまり無いんです。
 優しく&楽しくリードしてくれる男性からのメール待ってます。
 [写真有り] http://love-match.bz/pc/01

□-

 真菜(24歳/フリーター)
 彼氏が浮気してて超アタマきたっ!まなだって遊びたい盛りだし、ずっと
 ガマンしてたのにさ!かっこいい人見つけて思いっきりふってやるつもりで
 登録してみた(笑)
 [写真有り] http://love-match.bz/pc/01

□-

 みさ(34歳/専業主婦)
 殆ど家に帰ってこない仕事人間のだんなさまと二人きりの毎日で、ほんと
 寂しい思いをしています。年下の男の子がいれば仲良くなりたいな。
 年下の人とは付き合ったことがないので興味津々です(^^)
 [写真無し] http://love-match.bz/pc/01

□-

 恭子(28歳/会社員)
 彼氏とはいつも同じようなセックスばかりでかなり冷め気味です。
 誰かあたしと熱いセックスを楽しみませんか?めんどくさい事は
 言いません。ただ、いつもと違うドキドキするような事がしたい
 だけなんです。
 [写真無し] http://love-match.bz/pc/01

□-

 ななこ(28歳/主婦)
 半年前にだんなと別れて今は×1です。
 夜のお仕事なので、昼間まったりと過ごしませんか?
 心身ともに疲れ気味で、今、激しく癒されたいです。
 [写真有り] http://love-match.bz/pc/01

□-

 祥子(31歳/クリエイター)
 平日は18時くらいまでは大体仕事してるので、その後に食事したり
 楽しく飲んだりできるパートナー希望です。年上でも年下でも
 かまいませんので気軽にメールを送って頂けると嬉しいです。
 [写真有り] http://love-match.bz/pc/01

□-

 ゅヵ`(20歳/学生)
 まずゎ会ってみないとはじまらなぃょね?!
 横浜近辺の人で、いろんな意味でオトナな人は
 プロフ付きでめぇる送って☆
 [写真有り] http://love-match.bz/pc/01

□-


   出会いサイトのサクラに騙されないように↓
 ┏━━━┓
  【裏】無料の出会い情報
  -
  お金と時間を持て余している人妻の間で、噂になってるあのサイト
  [登録・利用料全て無料] http://love-match.jp/pc/?1
  -
  彼女達が求めているのはこんな男性です。
  ?年上女性にリードしてもらいたい、経験少なめの男性
  ?体力・テクニックに自信が有る男性
  男性会員が不足しています。我こそは、と思う方は今すぐ参加!
  [登録・利用料全て無料] http://love-match.bz/pc/01
 ┗━━━┛

広東省茂名市人民大街3-6-4-533
友誼網絡公司
139-3668-7892




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Re: [Numpy-discussion] problem with lapack_lite / BLAS

2006-10-07 Thread Karol Langner
On Saturday 07 of October 2006 14:20, Albert Strasheim wrote:
 Hello all

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:numpy-
  [EMAIL PROTECTED] On Behalf Of Karol Langner
  Sent: 07 October 2006 14:07
  To: NumPy List
  Subject: [Numpy-discussion] problem with lapack_lite / BLAS
 
  Dear list,
 
   I'm trying to compile ATLAS 3.6.0 and LAPACK 3.0 (+ update) and use them
  with
  the latest numpy (checked out today). Installation seems to be fine, all
  the
  libraries are detected. When I import numpy, however, I get this:
 
  snip
  ImportError: /home/langner/apps/python/lib/python2.5/site-
  packages/numpy/linalg/lapack_lite.so:
  undefined symbol: xerbla_
 
  Does anyone know where this comes from?

 xerbla is an error handler for the LAPACK routines. Make sure you included
 xerbla.f when building your LAPACK library. Check the symbols included in
 the library with strings or objdump.

 Hope this helps.

 Cheers,

 Albert

Yes, I know, and I checked this, and xerbla.o is in my lapack library, ad 
provides xerbla_:

[EMAIL PROTECTED]/apps/linalg/lib: objdump -x liblapack.a | grep xerbla.o -A 
100
xerbla.o: file format elf32-i386
rw-r--r-- 1000/1000   1380 Oct  6 17:51 2006 xerbla.o
architecture: i386, flags 0x0011:
HAS_RELOC, HAS_SYMS
start address 0x

Sections:
Idx Name  Size  VMA   LMA   File off  Algn
  0 .text 0061      0040  2**4
  CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  1 .data 006a      00c0  2**5
  CONTENTS, ALLOC, LOAD, RELOC, DATA
  2 .bss        012c  2**2
  ALLOC
  3 .rodata         012c  2**0
  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .rodata.cst4  0004      012c  2**2
  CONTENTS, ALLOC, LOAD, READONLY, DATA
  5 .note.GNU-stack       0130  2**0
  CONTENTS, READONLY
  6 .comment  0026      0130  2**0
  CONTENTS, READONLY
SYMBOL TABLE:
 ldf *ABS*   xerbla.f
 ld  .text   
 ld  .data   
 ld  .bss    
 l O .data  0014 __g77_cilist_0.1
0020 l O .data  004a __g77_format_.0
 ld  .rodata 
 ld  .rodata.cst4    
 ld  .note.GNU-stack 
 ld  .comment    
 g F .text  0061 xerbla_
 *UND*   s_wsfe
 *UND*   do_fio
 *UND*   e_wsfe
 *UND*   s_stop


RELOCATION RECORDS FOR [.text]:
OFFSET   TYPE  VALUE
(...)

And this _is_ the library I point to in site.cfg.

Karol

-- 
written by Karol Langner
Sat Oct  7 14:53:15 CEST 2006

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


[Numpy-discussion] paypal won't take my money for scipy docs

2006-10-07 Thread Greg Smith
I fill in the credit-card form, press continue, and it comes back with 
   Some required information is missing; the indicated missing info is 
the 'security code' you copy in to prove you are human, which I had 
entered. This happened 3 times in a row, and I am certain I got it right 
at least the last two (I even listened to the audio read-out the third 
time). So I am starting to get concerned that something is being 
intercepted..

I'm guessing that a paypal merchant is more likely to get attention from 
paypal than an accountless purchaser - any idea what's going on here?





-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Re: [Numpy-discussion] problem with lapack_lite / BLAS

2006-10-07 Thread Karol Langner
On Saturday 07 of October 2006 15:00, Karol Langner wrote:
   From: [EMAIL PROTECTED] [mailto:numpy-
   [EMAIL PROTECTED] On Behalf Of Karol Langner
   Sent: 07 October 2006 14:07
   To: NumPy List
   Subject: [Numpy-discussion] problem with lapack_lite / BLAS
  
   Dear list,
  
I'm trying to compile ATLAS 3.6.0 and LAPACK 3.0 (+ update) and use
   them with
   the latest numpy (checked out today). Installation seems to be fine,
   all the
   libraries are detected. When I import numpy, however, I get this:
  
   snip
   ImportError: /home/langner/apps/python/lib/python2.5/site-
   packages/numpy/linalg/lapack_lite.so:
   undefined symbol: xerbla_
  
   Does anyone know where this comes from?

OK... I am so angry at myself... I spent around 2 hours fiddling around with 
blas/lapack and numpy, and the problem was that I wasn't removing the 'build' 
directory between compiilations. Apparently it's not enough to run setup.py 
clean (I read this and forgot about it) to recompile lapack_lite.so. Now 
numpy imports fine and everything I use it for works as before (only a bit 
faster).

Karol

P.S.
I still get a floating point exception when running the numpy tests, though. I 
haven't checked out numpy for some time, so I don't now if it's a bug, or if 
it's my setup. The same thing happens when I use my manually built 
atlas/lapack and the built-in debian atlas/lapack libraries. I'd be grateful 
for a comment on if this is just me:

numpy.test(10,10)
[output]
Check reading the top fields of a nested array ... ok
Check reading the nested fields of a nested array (1st level) ... ok
Check access nested descriptors of a nested array (1st level) ... ok
Check reading the nested fields of a nested array (2nd level) ... ok
Check access nested descriptors of a nested array (2nd level) ... ok
check_access_fields 
(numpy.core.tests.test_numerictypes.test_read_values_plain_multiple) ... ok
check_access_fields 
(numpy.core.tests.test_numerictypes.test_read_values_plain_single) ... ok
check_cdouble (numpy.tests.test_linalg.test_det)Floating point exception

thanks!

-- 
written by Karol Langner
Sat Oct  7 19:41:58 CEST 2006

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Re: [Numpy-discussion] ide for python/numpy/scipy/mpl development ?

2006-10-07 Thread Alan G Isaac
On Fri, 06 Oct 2006, Robert Kern apparently wrote: 
  http://pida.berlios.de/ 

Can this be installed under Windows?
(Looks unlikely.)

Cheers,
Alan Isaac





-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


[Numpy-discussion] user-defined type example

2006-10-07 Thread Matt Knox


Could someone please point me to/provide me with a basic example of creating a user defined type?

Here is my completely naive attempt which obviously doesn't work...import numpy

class myType(numpy.void): def __init__(self,val): self.val = val

testType = numpy.dtype(myType)
val1 = myType(5)val2 = myType(6)

foo = numpy.array([val1,val2],testType)


Any help would be greatly appreciated. Thanks,

- Matt Knox

Be one of the first to try  Windows Live Mail.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


[Numpy-discussion] MKL on Intel OS X

2006-10-07 Thread Gennan Chen
Hi!We just bought MKL and icc for OS X. I don't think I will try icc for numpy and scipy. But anyone ever tried compiled with os x' MKL? How to add options to make it work?? Gen-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Re: [Numpy-discussion] ide for python/numpy/scipy/mpl development ?

2006-10-07 Thread Robert Kern
Alan G Isaac wrote:
 On Fri, 06 Oct 2006, Robert Kern apparently wrote: 
  http://pida.berlios.de/ 
 
 Can this be installed under Windows?
 (Looks unlikely.)

It might be possible if you have a Windows build of PyGTK, but not with the 
gvim 
integration. However, pida also supports other PyGTK-accessible editor widgets. 
See its documentation for details.

-- 
Robert Kern

I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth.
   -- Umberto Eco


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Re: [Numpy-discussion] can this be made faster?

2006-10-07 Thread Bill Baxter
Yes, that'd be
   a[b] += c

On 10/8/06, Daniel Mahler [EMAIL PROTECTED] wrote:
 Is there a 'loop free' way to do this in Numeric

 for i in arange(l):
a[b[i]]+=c[i]

 where l == len(b) == len(c)

 thanks
 Daniel

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion