Re: Speeding up an RD system

2010-09-30 Thread Daniel Wheeler
Eric, Thanks for your interest in FiPy. I'll benchmark your code, but before I do that, can you tell me which version of FiPy you are using (trunk or version-2_1?) so we are comparing apples with apples. Thanks On Wed, Sep 29, 2010 at 5:03 PM, Erik Sherwood wes...@bu.edu wrote: Hi all, I am

Re: Speeding up an RD system

2010-09-30 Thread Daniel Wheeler
Erik, Just from a cursory glance, I noticed that the viewers are being called at every step. This can be expensive. Apologies for using Eric rather than Erik in the last email. On Wed, Sep 29, 2010 at 5:03 PM, Erik Sherwood wes...@bu.edu wrote: for step in range(steps):    print Step

Re: Speeding up an RD system

2010-09-30 Thread Erik Sherwood
I'd thought of this as well, and the time for a run with updating at every time step is 243 seconds vs. 219 seconds with updating every 100 steps. Erik On Sep 30, 2010, at 11:36 AM, Daniel Wheeler wrote: Erik, Just from a cursory glance, I noticed that the viewers are being called at

Re: Speeding up an RD system

2010-09-30 Thread Erik Sherwood
Thanks for taking a look at the code. I'm using FiPy 2.1. Erik On Sep 30, 2010, at 11:21 AM, Daniel Wheeler wrote: Eric, Thanks for your interest in FiPy. I'll benchmark your code, but before I do that, can you tell me which version of FiPy you are using (trunk or version-2_1?) so we are

Re: Speeding up an RD system

2010-09-30 Thread Jonathan Guyer
I'm running a workshop right now, so won't have time to look at this for a day or two and it sounds like Daniel is on it. One thing that occurs to me is that you should be able to use an ImplicitSourceTerm for Suu and Svv, which might reduce the number of sweeps. How many sweeps are you