[R] changing memory limits to speed up lsoda

2005-10-26 Thread Martin Henry H. Stevens
Hi All, I am running R 2.2.0 on Mac OS 10.4.2, dual G5 processors with 8 Gig RAM. I am running a simulation with lsoda that requires ~378 s to complete one set of time intervals. I need to optimize the parameters, and so need to considerably speed up the simulation. I have tried to figure

Re: [R] changing memory limits to speed up lsoda

2005-10-26 Thread Setzer . Woodrow
Hank, I don't understand why you think memory is the problem, here. I'd try writing my model in C or Fortran (there is an example in the odesolve package). That speeds things up a lot, and is what I do with slow systems. R. Woodrow Setzer, Jr. National Center for Computational Toxicology US

Re: [R] changing memory limits to speed up lsoda

2005-10-26 Thread Naji
Martin, For my simulations (same hardware with less memory). - Optimize the code : using Narray, avoiding loops - Installed distributed computations (PVM RPVM tools are very easy to use, many thanks to Simon Urbanek for his help) Hope this will help Best Naji Le 26/10/05 16:43, « Martin Henry