Re: [Numpy-discussion] www.scipy.org down?

2013-05-09 Thread KACVINSKY Tom
Unfortunately, the Mac OS downloads won't work for us as they install into the 
system Python.  We have a custom built Python (2.7.3) so I compiled from 
source.  I noticed a few things:

1.  The modules compiled from C source have an extension of .so, not .dylib
2.  I installed nose so I could run the numpy tests, but 0 tests ran.
3.  I configured numpy to use MKL as per the instructions on Intel's site, but 
the build still used the Accelerate framework provided by Apple.

Given all of this, whom do I speak to regarding numpy builds on Mac OS?

Thanks,

Tom

-Original Message-
From: numpy-discussion-boun...@scipy.org 
[mailto:numpy-discussion-boun...@scipy.org] On Behalf Of Robert Kern
Sent: Thursday, May 09, 2013 9:21 AM
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] www.scipy.org down?

On Thu, May 9, 2013 at 2:10 PM, KACVINSKY Tom tom.kacvin...@3ds.com wrote:
 I am looking for a release of numpy for Mac OS, but I can't reach the
 scipy web server.  IS it down for maintenance?

It might have been. It's up now. The PyPI page is the best place to start 
looking for downloads:

  https://pypi.python.org/pypi/numpy/

The Mac binaries are hosted on SourceForge:

  http://sourceforge.net/projects/numpy/files/NumPy/

--
Robert Kern
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systemes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.

For other languages, go to http://www.3ds.com/terms/email-disclaimer
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] www.scipy.org down?

2013-05-09 Thread David Cournapeau
On Thu, May 9, 2013 at 3:25 PM, KACVINSKY Tom tom.kacvin...@3ds.com wrote:
 Unfortunately, the Mac OS downloads won't work for us as they install into 
 the system Python.

They actually install in a python installed from python.org, not system

  We have a custom built Python (2.7.3) so I compiled from source.  I noticed 
 a few things:

 1.  The modules compiled from C source have an extension of .so, not .dylib

.so is the usual extension for python extensions on mac os x

 2.  I installed nose so I could run the numpy tests, but 0 tests ran.

How did you run nose ?

 3.  I configured numpy to use MKL as per the instructions on Intel's site, 
 but the build still used the Accelerate framework provided by Apple.

Setting up the MKL is a bit tedious, but essentially, you need to
create a site.cfg in the source tree that looks as follows:

[mkl]
library_dirs = where the libraries are
include_dirs = where the headers are
libpack_libs = mkl_lapack95
mkl_libs = mkl_intel,mkl_intel_thread, mkl_core, mkl_p4m, mkl_p4p

and (that's the undocumented/buggy part), set ATLAS=1 to disable accelerate.

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


Re: [Numpy-discussion] www.scipy.org down?

2013-05-09 Thread Robert Kern
On Thu, May 9, 2013 at 3:25 PM, KACVINSKY Tom tom.kacvin...@3ds.com wrote:
 Unfortunately, the Mac OS downloads won't work for us as they install into 
 the system Python.  We have a custom built Python (2.7.3) so I compiled from 
 source.  I noticed a few things:

 1.  The modules compiled from C source have an extension of .so, not .dylib

As do all Python extension modules.

 2.  I installed nose so I could run the numpy tests, but 0 tests ran.

Without more information about exactly what command you tried and in
what context (like the current working directory), there is no way for
us to help you except to point you to the relevant section of the
README:

https://github.com/numpy/numpy/blob/master/README.txt#L17

 3.  I configured numpy to use MKL as per the instructions on Intel's site, 
 but the build still used the Accelerate framework provided by Apple.

 Given all of this, whom do I speak to regarding numpy builds on Mac OS?

This mailing list.

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


Re: [Numpy-discussion] www.scipy.org down?

2013-05-09 Thread KACVINSKY Tom
I ran the tests as per the instructions:



python -c 'import numpy; numpy.test()'



This is what I get for output:



tkacvins@macomsim !python

python -Wd -c 'import numpy; numpy.test()'

Running unit tests for numpy

/rd/gen/tky/do_not_delete/Python/macpython27/lib/python2.7/site-packages/nose/util.py:14:
 DeprecationWarning: The compiler package is deprecated and removed in Python 
3.x.

  from compiler.consts import CO_GENERATOR

NumPy version 1.6.2

NumPy is installed in 
/rd/gen/tky/do_not_delete/Python/macpython27/lib/python2.7/site-packages/numpy

Python version 2.7.3 (default, Oct 10 2012, 14:47:52) [GCC 4.2.1 (Based on 
Apple Inc. build 5658) (LLVM build 2336.9.00)]

nose version 0.11.4



--

Ran 0 tests in 0.148s



OK



Tom



-Original Message-
From: numpy-discussion-boun...@scipy.org 
[mailto:numpy-discussion-boun...@scipy.org] On Behalf Of Robert Kern
Sent: Thursday, May 09, 2013 10:46 AM
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] www.scipy.org down?



On Thu, May 9, 2013 at 3:25 PM, KACVINSKY Tom 
tom.kacvin...@3ds.commailto:tom.kacvin...@3ds.com wrote:

 Unfortunately, the Mac OS downloads won't work for us as they install into 
 the system Python.  We have a custom built Python (2.7.3) so I compiled from 
 source.  I noticed a few things:



 1.  The modules compiled from C source have an extension of .so, not

 .dylib



As do all Python extension modules.



 2.  I installed nose so I could run the numpy tests, but 0 tests ran.



Without more information about exactly what command you tried and in what 
context (like the current working directory), there is no way for us to help 
you except to point you to the relevant section of the

README:



https://github.com/numpy/numpy/blob/master/README.txt#L17



 3.  I configured numpy to use MKL as per the instructions on Intel's site, 
 but the build still used the Accelerate framework provided by Apple.



 Given all of this, whom do I speak to regarding numpy builds on Mac OS?



This mailing list.



--

Robert Kern

___

NumPy-Discussion mailing list

NumPy-Discussion@scipy.orgmailto:NumPy-Discussion@scipy.org

http://mail.scipy.org/mailman/listinfo/numpy-discussion

This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systemes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.

For other languages, go to http://www.3ds.com/terms/email-disclaimer
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] www.scipy.org down?

2013-05-09 Thread KACVINSKY Tom
I assume this is a bottom post list, so my answers are below...

-Original Message-
From: numpy-discussion-boun...@scipy.org 
[mailto:numpy-discussion-boun...@scipy.org] On Behalf Of David Cournapeau
Sent: Thursday, May 09, 2013 10:45 AM
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] www.scipy.org down?

On Thu, May 9, 2013 at 3:25 PM, KACVINSKY Tom tom.kacvin...@3ds.com wrote:
 Unfortunately, the Mac OS downloads won't work for us as they install into 
 the system Python.

They actually install in a python installed from python.org, not system

  We have a custom built Python (2.7.3) so I compiled from source.  I noticed 
 a few things:

 1.  The modules compiled from C source have an extension of .so, not .dylib

 .so is the usual extension for python extensions on mac os x

OK, this is good to know.

 2.  I installed nose so I could run the numpy tests, but 0 tests ran.

How did you run nose ?

Per the instructions in the README file.

 3.  I configured numpy to use MKL as per the instructions on Intel's site, 
 but the build still used the Accelerate framework provided by Apple.

Setting up the MKL is a bit tedious, but essentially, you need to create a 
site.cfg in the source tree that looks as follows:

[mkl]
library_dirs = where the libraries are
include_dirs = where the headers are
libpack_libs = mkl_lapack95
mkl_libs = mkl_intel,mkl_intel_thread, mkl_core, mkl_p4m, mkl_p4p

and (that's the undocumented/buggy part), set ATLAS=1 to disable accelerate.

This is what I have for my site.cfg file:

[mkl]
include_dirs = /u/users/tky/mklinc
library_dirs = /u/users/tky/mkllib
mkl_libs = mkl_sequential,mkl_intel_lp64,mkl_core
lapack_libs = mkl_sequential,mkl_intel_lp64,mkl_core

I am using MKL 11 update 3, which uses a different set of libraries for 
linking.  Where do I set ATLAS=1?

David
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systemes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.

For other languages, go to http://www.3ds.com/terms/email-disclaimer
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion