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\ p/Python

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 > p

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 alr

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

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
ble entry point) > > 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. -- --------

Re: Parallel Python

2007-01-12 Thread Konrad Hinsen
well be useful for all of us. 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-

Re: Parallel Python

2007-01-11 Thread Konrad Hinsen
mber of slave jobs and even handles disappearing slave jobs gracefully. Konrad. -- ----- Konrad Hinsen Centre de Biophysique Moléculaire, CNRS Orléans Synchrotron Soleil - Division Expériences Saint Aubin - BP 48 9

Re: About alternatives to Matlab

2006-12-12 Thread konrad . hinsen
ome modifications, and the binary format is different from 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 Yv

Re: About alternatives to Matlab

2006-12-12 Thread Konrad Hinsen
ber 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

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-Mai

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

Re: ScientificPython - LeastSquareFit diverges

2006-07-19 Thread Konrad Hinsen
ntific libraries from the Fortran/C/C++ world. Scientific users 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

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-dyn

Re: ScientificPython - LeastSquareFit diverges

2006-07-18 Thread konrad . hinsen
ence - another pointer towards 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, Franc

Re: Compiling Python using the Portland Group compiler

2006-07-13 Thread Konrad Hinsen
de, but I found nothing other than 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. -- --------- Konr

Compiling Python using the Portland Group compiler

2006-07-12 Thread Konrad Hinsen
encountered such failures before? Does anyone have useful suggestions for analyzing them? Konrad. -- - Konrad Hinsen Centre de Biophysique Moléculaire, CNRS Orléans Synchrotron Soleil - Division Expériences Saint Aubin - B

Re: Looking for thoughts on PyMPI

2006-04-13 Thread Konrad Hinsen
ssage passing: the programmer does 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, Franc

Re: IMPORTANT 2.5 API changes for C Extension Modules

2006-04-06 Thread konrad . hinsen
hat Python 2.5 defines PY_SSIZE_T_DEFINED. Konrad. -- -------- --- Konrad Hinsen Laboratoire Leon Brillouin (CEA-CNRS), 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: An Efficient Scalar Class in Python

2006-03-23 Thread konrad . hinsen
ity that have been around for a while: ScientificPython (module Scientific.Physics.PhysicalQuantities): http://dirac.cnrs-orleans.fr/ScientificPython/ Unum http://sourceforge.net/projects/unum/ Konrad. -- -------- --

Re: MPI implementations

2006-03-20 Thread Konrad Hinsen
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 69 0

Re: email package 4.0a2

2006-03-16 Thread Konrad Hinsen
4 will still be in common use. Personally, I would prefer that all compatibility-breaking changes be postponed until Python 3K. I'd rather have worry about compatibility once than continously. Konrad. -- --------- Konrad Hinsen Labo

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)

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