[Numpy-discussion] Numpy and Scientific Python

2009-03-12 Thread vincent . thierion
Hello,

I use numpy and Scientific Numpy for my work.
I installed them in a manner I can use them on remote OS in copying  
them and using sys.path.append. Many times it works, but sometimes  
(depending on Python version) I receive this error :

ImportError: $MYLIBFOLDER/site-packages/
numpy/core/multiarray.so: cannot open shared object file: No such file  
or directory

While this file exists on the expected place.

Error occurs on 2.3.4 (#1, Dec 11 2007, 18:02:43) [GCC 3.4.6 20060404  
(Red Hat 3.4.6-9)]

Thank you in advance

Vincent


Ce message a ete envoye par le serveur IMP de l'EMA.


___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


[Numpy-discussion] numpy for 64 bits machine

2009-03-19 Thread Vincent Thierion
Hello,

I built the numpy module for 32 bits architecture (it seems the default
building). However, my programs using this module have to be launched on
remote worker nodes whose architecture can be 32 bits as well 64 bits (grid
computing). First experimentations on 64 bits machines is bad, my programs
don't work (problem of shared files). Is there someone who can provide me
some documentations or hints to build 64 bits numpy for linux machines
(mainly SL4) ?

Thanks

Vincent
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] numpy for 64 bits machine

2009-03-20 Thread Vincent Thierion
Hello,

Is there an "easy way" to build numpy on remote 64 bits machines on which I
don't have any roots privilege ?
The shared problem seems related to 64 bits / 32 bits building.

Vincent

2009/3/20 David Cournapeau 

> 2009/3/20 Vincent Thierion :
> > Hello,
> >
> > I built the numpy module for 32 bits architecture (it seems the default
> > building). However, my programs using this module have to be launched on
> > remote worker nodes whose architecture can be 32 bits as well 64 bits
> (grid
> > computing). First experimentations on 64 bits machines is bad, my
> programs
> > don't work (problem of shared files). Is there someone who can provide me
> > some documentations or hints to build 64 bits numpy for linux machines
>
> It is exactly the same as for 32 bits, but you need to build numpy on
> a 64 bits machine (you can't build 64 bits numpy on a 32 bits
> machine).
>
> The shared problem may be that you forgot to add -fPIC compilation
> flag when building blas/lapack/atlas, but it is hard to tell without
> more details,
>
> David
> ___
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


[Numpy-discussion] numpy import on x86_64 arch

2009-04-10 Thread Vincent Thierion
Hello,

I import numpy module (numpy-1.0.4) on a x86_64 machine (on which I don't
have any root privileges) after having install it thanks to python "setup.py
install --prefix=../numpy". In this manner, I obtain a 64 bits compatible
numpy library.
(the "numpy" folder used for install is created just before install process)

I had the following error :

*import numpy
  File "../numpy/lib64/python2.3/site-packages/numpy/__init__.py", line 43,
in ?
  File "../numpy/lib64/python2.3/site-packages/numpy/linalg/__init__.py",
line 4, in ?
  File "../numpy/lib64/python2.3/site-packages/numpy/linalg/linalg.py", line
25, in ?
ImportError: liblapack.so.3: cannot open shared object file: No such file or
directory

*I looked for liblapack.so.3 and find it in /usr/*lib*/liblapack.so.3. It
seems it doesn't work because numpy 64 bits version seems to need /usr/*
lib64*/liblapack.so.3. That I tested in other machine and it works when
numpy can find /usr/*lib64*/liblapack.so.3.

So is there a solution to use numpy 64 bits version with a
/usr/*lib*/liblapack.so.3
or is it absolutly necessary to install lapack 64 bits version ?

Thank you

Vincent
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion