Re: [Numpy-discussion] ANN: NumPy 1.8.0 release.

2013-11-03 Thread xavier.gn...@gmail.com
On ubuntu 13.10 with the following packages installed:
libopenblas-base
libopenblas-dev
liblapack-dev
liblapack3

site.cfg:
[DEFAULT]
library_dirs = /usr/lib
include_dirs = /usr/lib/openblas-base
[openblas]
libraries = openblas
library_dirs = /usr/lib/openblas-base
include_dirs = /usr/lib/openblas-base

I get this error when I try to import numpy1.8:

/usr/local/lib/python3.3/dist-packages/numpy/__init__.py in module()
 151 return loader(*packages, **options)
 152
-- 153 from . import add_newdocs
 154 __all__ = ['add_newdocs', 'ModuleDeprecationWarning']
 155

/usr/local/lib/python3.3/dist-packages/numpy/add_newdocs.py in module()
  11 from __future__ import division, absolute_import, print_function
  12
--- 13 from numpy.lib import add_newdoc
  14
  15 
###

/usr/local/lib/python3.3/dist-packages/numpy/lib/__init__.py in module()
  16
  17 from . import scimath as emath
--- 18 from .polynomial import *
  19 #import convertcode
  20 from .utils import *

/usr/local/lib/python3.3/dist-packages/numpy/lib/polynomial.py in module()
  17 from numpy.lib.function_base import trim_zeros, sort_complex
  18 from numpy.lib.type_check import iscomplex, real, imag
--- 19 from numpy.linalg import eigvals, lstsq, inv
  20
  21 class RankWarning(UserWarning):

/usr/local/lib/python3.3/dist-packages/numpy/linalg/__init__.py in 
module()
  48 from .info import __doc__
  49
--- 50 from .linalg import *
  51
  52 from numpy.testing import Tester

/usr/local/lib/python3.3/dist-packages/numpy/linalg/linalg.py in module()
  27 )
  28 from numpy.lib import triu, asfarray
--- 29 from numpy.linalg import lapack_lite, _umath_linalg
  30 from numpy.matrixlib.defmatrix import matrix_power
  31 from numpy.compat import asbytes

ImportError: 
/usr/local/lib/python3.3/dist-packages/numpy/linalg/lapack_lite.cpython-33m.so: 
undefined symbol: dpotrf_

What's wrong?

 Use site.cfg.example as template to create a new site.cfg.  For 
 openblas, uncomment:
 [openblas]
 library_dirs = /opt/OpenBLAS/lib
 include_dirs = /opt/OpenBLAS/include
 Also, uncomment default section:
 [DEFAULT]
 library_dirs = /usr/local/lib
 include_dirs = /usr/local/include
 That should do it - hopefully.


 On Thu, Oct 31, 2013 at 7:13 AM, Neal Becker ndbeck...@gmail.com 
 mailto:ndbeck...@gmail.com wrote:

 Charles R Harris wrote:

  On Thu, Oct 31, 2013 at 6:58 AM, Neal Becker
 ndbeck...@gmail.com mailto:ndbeck...@gmail.com wrote:
 
  Thanks for the release!
 
  I am having a hard time finding the build instructions.  Could
 you please
  add
  this to the announcement?
 
 
  What sort of build instructions are you looking for?
 
  Chuck

 How to build from source, what are some settings for site.cfg.  I
 did get this
 figured out (wanted to try out openblas), but it could be a small
 barrier to
 new users.


 That should be explained in INSTALL.txt. It may be a bit outdated at 
 this point. If so, could you make a PR adding relevant bits from your 
 experience.

 Chuck



 ___
 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


Re: [Numpy-discussion] ANN: NumPy 1.8.0 release.

2013-10-31 Thread Neal Becker
Thanks for the release!

I am having a hard time finding the build instructions.  Could you please add 
this to the announcement?

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


Re: [Numpy-discussion] ANN: NumPy 1.8.0 release.

2013-10-31 Thread Charles R Harris
On Thu, Oct 31, 2013 at 6:58 AM, Neal Becker ndbeck...@gmail.com wrote:

 Thanks for the release!

 I am having a hard time finding the build instructions.  Could you please
 add
 this to the announcement?


What sort of build instructions are you looking for?

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


Re: [Numpy-discussion] ANN: NumPy 1.8.0 release.

2013-10-31 Thread Neal Becker
Charles R Harris wrote:

 On Thu, Oct 31, 2013 at 6:58 AM, Neal Becker ndbeck...@gmail.com wrote:
 
 Thanks for the release!

 I am having a hard time finding the build instructions.  Could you please
 add
 this to the announcement?

 
 What sort of build instructions are you looking for?
 
 Chuck

How to build from source, what are some settings for site.cfg.  I did get this 
figured out (wanted to try out openblas), but it could be a small barrier to 
new users.

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


Re: [Numpy-discussion] ANN: NumPy 1.8.0 release.

2013-10-31 Thread Charles R Harris
On Thu, Oct 31, 2013 at 7:13 AM, Neal Becker ndbeck...@gmail.com wrote:

 Charles R Harris wrote:

  On Thu, Oct 31, 2013 at 6:58 AM, Neal Becker ndbeck...@gmail.com
 wrote:
 
  Thanks for the release!
 
  I am having a hard time finding the build instructions.  Could you
 please
  add
  this to the announcement?
 
 
  What sort of build instructions are you looking for?
 
  Chuck

 How to build from source, what are some settings for site.cfg.  I did get
 this
 figured out (wanted to try out openblas), but it could be a small barrier
 to
 new users.


That should be explained in INSTALL.txt. It may be a bit outdated at this
point. If so, could you make a PR adding relevant bits from your experience.

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


Re: [Numpy-discussion] ANN: NumPy 1.8.0 release.

2013-10-31 Thread Dinesh Vadhia
Use site.cfg.example as template to create a new site.cfg.  For openblas, 
uncomment:

[openblas]
library_dirs = /opt/OpenBLAS/lib
include_dirs = /opt/OpenBLAS/include

Also, uncomment default section:

[DEFAULT]
library_dirs = /usr/local/lib
include_dirs = /usr/local/include

That should do it - hopefully.





 
On Thu, Oct 31, 2013 at 7:13 AM, Neal Becker ndbeck...@gmail.com wrote:

  Charles R Harris wrote:

   On Thu, Oct 31, 2013 at 6:58 AM, Neal Becker ndbeck...@gmail.com wrote:
  
   Thanks for the release!
  
   I am having a hard time finding the build instructions.  Could you please
   add
   this to the announcement?
  
  
   What sort of build instructions are you looking for?
  
   Chuck


  How to build from source, what are some settings for site.cfg.  I did get this
  figured out (wanted to try out openblas), but it could be a small barrier to
  new users.





That should be explained in INSTALL.txt. It may be a bit outdated at this 
point. If so, could you make a PR adding relevant bits from your experience.


Chuck


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


Re: [Numpy-discussion] ANN: NumPy 1.8.0 release.

2013-10-31 Thread Dinesh Vadhia
Use site.cfg.example as template to create a new site.cfg.  For openblas, 
uncomment:

[openblas]
library_dirs = /opt/OpenBLAS/lib
include_dirs = /opt/OpenBLAS/include

Also, uncomment default section:

[DEFAULT]
library_dirs = /usr/local/lib
include_dirs = /usr/local/include

That should do it - hopefully.





 
On Thu, Oct 31, 2013 at 7:13 AM, Neal Becker ndbeck...@gmail.com wrote:

  Charles R Harris wrote:

   On Thu, Oct 31, 2013 at 6:58 AM, Neal Becker ndbeck...@gmail.com wrote:
  
   Thanks for the release!
  
   I am having a hard time finding the build instructions.  Could you please
   add
   this to the announcement?
  
  
   What sort of build instructions are you looking for?
  
   Chuck


  How to build from source, what are some settings for site.cfg.  I did get this
  figured out (wanted to try out openblas), but it could be a small barrier to
  new users.





That should be explained in INSTALL.txt. It may be a bit outdated at this 
point. If so, could you make a PR adding relevant bits from your experience.


Chuck


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