Building Python with icc on 64-bit Linux

2009-05-26 Thread Konrad Hinsen
I am trying to install Python 2.6.2 on a 64-bit Linux machine (RedHat Enterprise) using the Intel compiler (version 11). Even without optimizations (-O0), I get a compilation error in the ctypes module icc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -O0 -I. -I/home/shr/ khinsen/tm\

[issue3646] MacOS X framework install to non-standard directory fails

2008-08-22 Thread Konrad Hinsen
New submission from Konrad Hinsen [EMAIL PROTECTED]: The file Mac/README in Python 2.6b3 says: Installing in another place, for instance $HOME/Library/Frameworks if you have no admin privileges on your machine, has only been tested very lightly. This can be done by configuring with --enable

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2008-08-18 Thread Konrad Hinsen
New submission from Konrad Hinsen [EMAIL PROTECTED]: On a MacOS X framework build, the LINKFORSHARED variable obtained from distutils.sysconfig.get_config_vars() has the value -u _PyMac_Error Python.framework/Versions/2.5/Python The last item is incomplete, it needs to be prefixed

Re: parallel processing in standard library

2008-01-01 Thread Konrad Hinsen
Emin.shopper Martinian.shopper wrote: Is there any hope of a parallel processing toolkit being incorporated into the python standard library? I've seen a wide variety of toolkits each with various features and limitations. Unfortunately, each has its own API. For coarse-grained

Re: Installing Python in a path that contains a blank

2007-05-22 Thread Konrad Hinsen
On 21.05.2007, at 21:11, Stargaming wrote: You could give /foo/bar\ baz/ham or /foo/bar baz/ham (either escaping the blanks or wrapping the path in quotation marks) a try. I can't verify it either, just guess from other terminals' behaviour. I tried both already, but neither one works. If

Re: Installing Python in a path that contains a blank

2007-05-22 Thread Konrad Hinsen
On 22.05.2007, at 00:34, Greg Donald wrote: On 5/21/07, John Machin [EMAIL PROTECTED] wrote: Is there not a similar trick on MacOS X? It's called a symlink: ln -s /Users/gdonald /foo Right, but since I have no write permissions anywhere except in my home directory (whose path already has

Installing Python in a path that contains a blank

2007-05-21 Thread Konrad Hinsen
I am trying to install Python from sources in my home directory on a Mac cluster (running MacOS X 10.4.8). The path to my home directory contains a blank, and since the installation procedure insists on getting an absolute path for the prefix, I cannot avoid installing to a path whose name

Re: Parallel Python

2007-01-12 Thread Konrad Hinsen
. -- - Konrad Hinsen Centre de Biophysique Moléculaire, CNRS Orléans Synchrotron Soleil - Division Expériences Saint Aubin - BP 48 91192 Gif sur Yvette Cedex, France Tel. +33-1 69 35 97 15 E-Mail: [EMAIL PROTECTED

Re: Parallel Python

2007-01-12 Thread Konrad Hinsen
) If no-one beats me to it, I may write something up over the weekend. That sounds like a good idea. I won't beat you to it, but I'll have a look next week and perhaps add information that I have. Konrad. -- - Konrad Hinsen Centre

Re: Parallel Python

2007-01-11 Thread Konrad Hinsen
. -- - Konrad Hinsen Centre de Biophysique Moléculaire, CNRS Orléans Synchrotron Soleil - Division Expériences Saint Aubin - BP 48 91192 Gif sur Yvette Cedex, France Tel. +33-1 69 35 97 15 E-Mail: [EMAIL PROTECTED

Re: About alternatives to Matlab

2006-12-12 Thread Konrad Hinsen
crunching in mind, but perhaps I am wrong. Konrad. -- - Konrad Hinsen Centre de Biophysique Moléculaire, CNRS Orléans Synchrotron Soleil - Division Expériences Saint Aubin - BP 48 91192 Gif sur Yvette Cedex, France Tel. +33-1 69 35

Re: About alternatives to Matlab

2006-12-12 Thread konrad . hinsen
standard Linux as well. Konrad. -- - Konrad Hinsen Centre de Biophysique Moléculaire, CNRS Orléans Synchrotron Soleil - Division Expériences Saint Aubin - BP 48 91192 Gif sur Yvette Cedex, France Tel. +33-1 69 35 97 15 E-Mail

Re: Windows installer for Scientific Python for Python 2.4?

2006-12-07 Thread konrad . hinsen
it on the download page! Konrad. -- - Konrad Hinsen Centre de Biophysique Moléculaire, CNRS Orléans Synchrotron Soleil - Division Expériences Saint Aubin - BP 48 91192 Gif sur Yvette Cedex, France Tel. +33-1 69 35 97 15 E-Mail: [EMAIL PROTECTED

Re: About alternatives to Matlab

2006-12-06 Thread Konrad Hinsen
On Dec 5, 2006, at 16:35, Mark Morss wrote: very well-written) _Practical OCaml_. However, I also understand that OCaml supports only double-precision implementation of real numbers; that its implementation of arrays is a little clunky compared to Fortran 95 or Numpy (and I suspect not as

New parallel computing module for Python

2006-11-16 Thread konrad . hinsen
! -- - Konrad Hinsen Centre de Biophysique Moléculaire, CNRS Orléans Synchrotron Soleil - Division Expériences Saint Aubin - BP 48 91192 Gif sur Yvette Cedex, France Tel. +33-1 69 35 97 15 E-Mail: [EMAIL PROTECTED

Re: Compiling Python using the Portland Group compiler

2006-07-19 Thread Konrad Hinsen
On Jul 12, 2006, at 15:57, Konrad Hinsen wrote: I am trying to install Python 2.4.3 on an AMD Opteron system using the Portland Group's compiler (pgcc). Using CC=pgcc -DNCURSES_ENABLE_STDBOOL_H=0 OPT=-O0 LINKFORSHARED=-Wl,- export-dynamic ./configure --without-cxx I finally managed

Re: ScientificPython - LeastSquareFit diverges

2006-07-19 Thread Konrad Hinsen
of Python should probably have both of them installed. Konrad. -- - Konrad Hinsen Centre de Biophysique Moléculaire, CNRS Orléans Synchrotron Soleil - Division Expériences Saint Aubin - BP 48 91192 Gif sur Yvette Cedex, France Tel

Re: ScientificPython - LeastSquareFit diverges

2006-07-18 Thread konrad . hinsen
a lack of stability in the fit. Konrad. -- - Konrad Hinsen Centre de Biophysique Moléculaire, CNRS Orléans Synchrotron Soleil - Division Expériences Saint Aubin - BP 48 91192 Gif sur Yvette Cedex, France Tel. +33-1 69 35 97 15 E-Mail

Re: Compiling Python using the Portland Group compiler

2006-07-13 Thread Konrad Hinsen
the usual ANSI and C9x compatibility switches, which only change the amount of warnings. However, I will take up your suggestion and see if I can compile a 32- bit executable. Konrad. -- - Konrad Hinsen Centre de Biophysique

Compiling Python using the Portland Group compiler

2006-07-12 Thread Konrad Hinsen
. -- - Konrad Hinsen Centre de Biophysique Moléculaire, CNRS Orléans Synchrotron Soleil - Division Expériences Saint Aubin - BP 48 91192 Gif sur Yvette Cedex, France Tel. +33-1 69 35 97 15 E-Mail: hinsen ät cnrs-orleans.fr

Re: Looking for thoughts on PyMPI

2006-04-13 Thread Konrad Hinsen
not have to worry about synchronization, which is a major source of hard-to-track- down bugs. Konrad. -- - Konrad Hinsen Laboratoire Léon Brillouin, CEA Saclay, 91191 Gif-sur-Yvette Cedex, France Tel.: +33-1 69 08 79 25 Fax: +33-1

Re: IMPORTANT 2.5 API changes for C Extension Modules

2006-04-06 Thread konrad . hinsen
with older Python versions? I am thinking of something like #ifndef PY_SSIZE_T_DEFINED typedef Py_ssize_t int; #endif assuming that Python 2.5 defines PY_SSIZE_T_DEFINED. Konrad. -- --- Konrad

Re: An Efficient Scalar Class in Python

2006-03-23 Thread konrad . hinsen
): http://dirac.cnrs-orleans.fr/ScientificPython/ Unum http://sourceforge.net/projects/unum/ Konrad. -- --- Konrad Hinsen Laboratoire Leon Brillouin (CEA-CNRS), CEA Saclay, 91191 Gif-sur-Yvette

Re: MPI implementations

2006-03-20 Thread Konrad Hinsen
is a major source of hard-to-track- down bugs. Konrad. -- - Konrad Hinsen Laboratoire Léon Brillouin, CEA Saclay, 91191 Gif-sur-Yvette Cedex, France Tel.: +33-1 69 08 79 25 Fax: +33-1 69 08 82 61 E-Mail: [EMAIL PROTECTED

Re: email package 4.0a2

2006-03-16 Thread Konrad Hinsen
compatibility-breaking changes be postponed until Python 3K. I'd rather have worry about compatibility once than continously. Konrad. -- - Konrad Hinsen Laboratoire Léon Brillouin, CEA Saclay, 91191 Gif-sur-Yvette Cedex

Re: Why do Pythoneers reinvent the wheel?

2005-09-14 Thread konrad . hinsen
Stefano Masini wrote: There are a few ares where everybody seems to be implementing their own stuff over and over: logging, file handling, ordered dictionaries, data serialization, and maybe a few more. I don't know what's the ultimate problem, but I think there are 3 main reasons: 1) poor

Re: any Python equivalent of Math::Polynomial::Solve?

2005-03-02 Thread konrad . hinsen
Carl Banks wrote: If you don't have a great need for speed, you can accomplish this easily with the linear algebra module of Numeric/numarray. Suppose your quintic polynomial's in the form a + b*x + c*x**2 + d*x**3 + e*x**4 + x**5 The roots of it are equal to the eigenvalues of the