Re: python version issue

2011-04-04 Thread Jacek Hoffman
Quite fresh Debian bug on PyTrilinos: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620802 Jacek

Re: python version issue

2011-04-01 Thread Jonathan Guyer
On Apr 1, 2011, at 2:10 PM, Jacek Hoffman wrote: > You may be right. I'm considering filing Debian bug against PyTrilinos. > However, first I must learn a bit about it and then prepare some tests > on which it fails. The tests could not involve mpi4py or fipy - they are > not in Debian. > Maybe

Re: python version issue

2011-04-01 Thread Jacek Hoffman
On Fri, 1 Apr 2011, Jonathan Guyer wrote: > > > On Apr 1, 2011, at 3:56 AM, Jacek Hoffman wrote: > > > Package manager installs binary packages but lib*-dev libraries are > > development libraries used only by compiler. libopenmpi-dev was installed > > for compiling mpi4py. > > That may be, but

Re: python version issue

2011-04-01 Thread Daniel Wheeler
On Fri, Apr 1, 2011 at 3:56 AM, Jacek Hoffman wrote: > Package python-mpi4py  ver. 1.2.2-1 is sent to Daniel Thanks! I'll see if it helps. I'll take it down if mpi4py ever gets an up to date deb. -- Daniel Wheeler

Re: python version issue

2011-04-01 Thread Jonathan Guyer
On Apr 1, 2011, at 3:56 AM, Jacek Hoffman wrote: > Package manager installs binary packages but lib*-dev libraries are > development libraries used only by compiler. libopenmpi-dev was installed > for compiling mpi4py. That may be, but your PyTrilinos is not happy. > Lets take the error messag

Re: python version issue

2011-04-01 Thread Jacek Hoffman
On Thu, 31 Mar 2011, Jonathan Guyer wrote: > > > On Mar 31, 2011, at 1:47 PM, Jacek Hoffman wrote: > > > You were right, it was lack of the mpi4py module. > > I don't think it's this simple. PyTrilinos doesn't need mpi4py. > > > > Now everything works. > > There are no errors provided mpi4py is

Re: python version issue

2011-03-31 Thread Daniel Wheeler
On Thu, Mar 31, 2011 at 1:47 PM, Jacek Hoffman wrote: > 4 -- installing package system-wide as root (in such a case there is no > need to worry about PYTHONPATH or LD_LIBRARY_PATH, I fancy): > dpkg -i python-mpi4py_1.2.2-1~pre1_i386.deb Shall we put this on the download page? -- Daniel Wheeler

Re: python version issue

2011-03-31 Thread Jonathan Guyer
On Mar 31, 2011, at 1:47 PM, Jacek Hoffman wrote: > You were right, it was lack of the mpi4py module. I don't think it's this simple. PyTrilinos doesn't need mpi4py. > Now everything works. > There are no errors provided mpi4py is imported prior to fipy or > trilinos, e.g in the script: > >

Re: python version issue

2011-03-31 Thread Daniel Wheeler
On Thu, Mar 31, 2011 at 1:47 PM, Jacek Hoffman wrote: > > > You were right, it was lack of the mpi4py module. It's weird that installing mpi4py makes Trilinos work. > mpi4py module is not present in Debian repository. > I didn't like "easy_install mpi4py" since once there wasn't > "easy_uninsta

Re: python version issue

2011-03-31 Thread Jacek Hoffman
You were right, it was lack of the mpi4py module. mpi4py module is not present in Debian repository. I didn't like "easy_install mpi4py" since once there wasn't "easy_uninstall". I prefer using package manager so I did it the hard way. 1 -- Sources: git clone git://git.debian.org/pkg-exppsy/mpi4

Re: python version issue

2011-03-30 Thread Daniel Wheeler
On Wed, Mar 30, 2011 at 12:47 PM, Jacek Hoffman wrote: > > > It is hard to tell which version of Debian I'm running. Lets call it > pending upgrade - squeeze. That's fine. You appear to have installed trilinos with the package manager, but it isn't working correctly. > Once upon a time it was t

Re: python version issue

2011-03-30 Thread Jacek Hoffman
My trilinos: libtrilinos/squeeze uptodate 10.0.4.dfsg-1.1+b1 python-pytrilinos/squeeze uptodate 10.0.4.dfsg-1.1+b1

Re: python version issue

2011-03-30 Thread Jacek Hoffman
It is hard to tell which version of Debian I'm running. Lets call it pending upgrade - squeeze. Once upon a time it was testing/Etch minimal install. Now /etc/apt/sources.list point at squeeze and all current packages are from it. There are remaining some ancient packages as python2.5. Fortunatel

Re: python version issue

2011-03-30 Thread Daniel Wheeler
On Tue, Mar 29, 2011 at 12:06 PM, Jacek Hoffman wrote: > > Hi all, > I'm using FiPy on Debian GNU/Linux. > There is a problem with python 2.6 as follows: Actually, there isn't a problem with running FiPy with python 2.6 in general, I do it regularly. > jacek@computer01:~$ python2.6 > Python 2.6

Re: python version issue

2011-03-30 Thread Jonathan Guyer
On Mar 29, 2011, at 12:06 PM, Jacek Hoffman wrote: > > Hi all, > I'm using FiPy on Debian GNU/Linux. > There is a problem with python 2.6 as follows: > > > jacek@computer01:~$ python2.6 > Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40) > [GCC 4.4.5] on linux2 > Type "help", "copyright", "cre

python version issue

2011-03-29 Thread Jacek Hoffman
Hi all, I'm using FiPy on Debian GNU/Linux. There is a problem with python 2.6 as follows: jacek@computer01:~$ python2.6 Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from fipy import * *** The MP