Re: fipy class.

2011-02-24 Thread Benny Malengier
I am running pysparse on kubuntu 10.10 from subversion (version 1.2a1). No errors in the tests. I do have python-dev installed as I use weave in some projects. Benny 2011/2/24 Jonathan Guyer > > > On Feb 24, 2011, at 11:58 AM, Julien Derr wrote: > > > I might be behind a firewall or proxy, at u

Re: fipy class.

2011-02-24 Thread Jonathan Guyer
On Feb 24, 2011, at 11:58 AM, Julien Derr wrote: > I might be behind a firewall or proxy, at university. > > here is the full error I get : (as I said before there is already something > which looks obviously wrong like missing {} or integer function returning > void ?) I believe DL_EXPORT

Re: fipy class.

2011-02-24 Thread Julien Derr
I might be behind a firewall or proxy, at university. here is the full error I get : (as I said before there is already something which looks obviously wrong like missing {} or integer function returning void ?) julien@derr-Precision-T1500:~/Téléchargements/pysparse$ sudo python setup.py insta

Re: fipy class.

2011-02-24 Thread Jonathan Guyer
On Feb 24, 2011, at 11:02 AM, Julien Derr wrote: > Thanks a lot Daniel and Jonathan for your help, > > but unfortunately, I think I've tried everything without success... > > * sudo apt-get install python-sparse > tells me I have the up to date distribution Is there a way to query what versi

Re: fipy class.

2011-02-24 Thread Julien Derr
Thanks a lot Daniel and Jonathan for your help, but unfortunately, I think I've tried everything without success... * sudo apt-get install python-sparse tells me I have the up to date distribution * the deb link seems to be broken tempor

Re: fipy class.

2011-02-24 Thread Jonathan Guyer
On Feb 24, 2011, at 9:23 AM, Julien Derr wrote: > If I use easy_install, it install the version 1.1 only Hmmm, right. You can direct easy_install to get newer ones with, e.g. easy_install https://pysparse.svn.sourceforge.net/svnroot/pysparse/trunk but I agree with Wheeler. You should proba

Re: fipy class.

2011-02-24 Thread Daniel Wheeler
Julien, If you are on Ubuntu, I would recommend simply using the package manager. $ sudo apt-get install python-sparse You can also try installing the fipy deb. Hope this helps. On Thu, Feb 24, 2011 at 9:23 AM, Julien Derr wrote:

Re: fipy class.

2011-02-24 Thread Julien Derr
If I use easy_install, it install the version 1.1 only julien@derr-Precision-T1500:~$ sudo easy_install pysparse install_dir /usr/local/lib/python2.6/dist-packages/ Searching for pysparse Best match: pysparse 1.1 Adding pysparse 1.1 to easy-install.pth file Using /usr/lib/python2.6/dist-packages

Re: fipy class.

2011-02-24 Thread Julien Derr
I am running Ubuntu 10.10 I dowloaded the archive from http://pypi.python.org/pypi/pysparse/1.2-dev213 and then simply runned sudo python setup.py install On Thu, Feb 24, 2011 at 2:52 PM, Jonathan Guyer wrote: > > > On Feb 24, 2011, at 8:20 AM, Julien Derr wrote: > > > which installation of p

Re: fipy class.

2011-02-24 Thread Jonathan Guyer
On Feb 24, 2011, at 8:20 AM, Julien Derr wrote: > which installation of pysparse would you suggest ? > I have currently 1.1.1 I am successfully running '1.2-dev213' on a Mac OS X Snow Leopard system and '1.2-dev' on a Debian lenny system. I believe in both cases that I just did `easy_instal

Re: fipy class.

2011-02-24 Thread Julien Derr
which installation of pysparse would you suggest ? I have currently 1.1.1 I tried to install pysparse-1.2-dev203 or pysparse-1.2-dev213, but I have errors at the installation; first in the spmatrixmodule.c : there is a weird beginning of function DL_EXPORT(void) initspmatrix(void) { re

Re: fipy class.

2011-02-24 Thread Julien Derr
indeed! I have a segmentation fault when I run the test! I am going to reinstall pyspare or maybe another version ?? julien@derr-Precision-T1500:~/Téléchargements/pysparse-1.1.1/Test$ python testSuperlu.py TestRelErr Tolnnz(A) nnz(L+U)Fact Solve --

Sticky boundary conditions

2011-02-24 Thread Fadoua El Moustaid
Hi All, I have particles that diffuse in one dimensional space, but once they reach the boundaries (x=0, and x=L) they get stuck and do not come back to the free space. Please, Does anyone of you knows how can we express that in terms of boundary conditions? and how can we measure how many particl