[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LSODE speed up question
From: |
Tatsuro MATSUOKA |
Subject: |
Re: LSODE speed up question |
Date: |
Sat, 26 Apr 2008 06:19:10 +0900 (JST) |
If you would like to use Automatic Differentiation by Analytically,
please use symbolic package in octave-forge.
http://octave.sourceforge.net/packages.html
and see
http://wiki.octave.org/wiki.pl?CategorySymbolic
If possible, please show the your C++ code.
That will make more fruitful discussion possible
Regards
Tatsuro
--- Ayesha Kalra <address@hidden> wrote:
> Hi all,
> I am using LSODE in a C++ program to solve a system of ~300 ODEs (500 time
> steps). I used LSODE in C++ so that I could get some performance enhancement
> over using LSODE in Octave itself, however, there was no improvement in
> performance (measured in time (in sec) taken to solve the system of
> equations. It may be noted that in both cases, I am NOT supplying the
> Jacobian to LSODE. Can anyone tell me what is the bottleneck step for LSODE,
> if it is calculation of Jacobian of the system, I will try to calculate it
> explicitly using some kind of Automatic Differentiation library and then
> supply it to LSODE (I am not sure, how to do this right now, any
> ideas/suggestions are welcome).
>
> Or, is there anything else I need to look/change to speed up solution by
> LSODE in C++.
>
> Thanks
> Ayesha
> > _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
--------------------------------------
GANBARE! NIPPON! Win your ticket to Olympic Games 2008.
http://pr.mail.yahoo.co.jp/ganbare-nippon/