[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Odepkg
From: |
Tatsuro MATSUOKA |
Subject: |
Re: Odepkg |
Date: |
Mon, 31 Jul 2017 12:54:55 +0900 (JST) |
----- Original Message -----
> From: Tatsuro MATSUOKA
> To: Olaf Till
> Cc: Octave Help
> Date: 2017/7/31, Mon 09:21
> Subject: Re: Odepkg
>
> ----- Original Message -----
>
>> From: Olaf Till
>> To: Tatsuro MATSUOKA
>> Cc: Thomas D. Dean ; Octave Help <address@hidden>
>> Date: 2017/7/31, Mon 03:09
>> Subject: Re: Odepkg
>>
>> On Sun, Jul 30, 2017 at 08:25:49AM +0900, Tatsuro MATSUOKA wrote:
>>> >It has been deleted at Octave Forge because there was no working
>>> >release since Octave 4.0.
>>> >
>>> >Olaf
>>>
>>>
>>> FYI delete of odepkg from Octave-forge happened in 4.2 but not 4.0.
>>>
>>> NEWS in odepkg-0.8.5
>>>
>>
> ====================================================================================
>>> odepkg-0.8.5 Release Date: 2015-05-19 Release Manager: Jacopo
> Corno
>>>
>>
> ====================================================================================
>>>
>>> ** enable to work on octave 4.0 (thanks to Tatsuro Matsuoka)
>>> See discussuion on the octave-maintainers list
>>>
>>
> http://octave.1599824.n4.nabble.com/Octave-Forge-Octave-4-0-call-for-packages-td4669204i20.html#a4669709
>>
>> I should have put it more correctly:
>>
>> The last release (0.8.5) didn't work with Octave 4.0 or 4.2. (For a
> long
>> time
>> now.)
>>
>> I checked it myself and got no different information from others after
>> respective posts. If the last release (0.8.5) works for you at Octave
>> 4.0 or 4.2, please tell me. The release is still available at OF (link
>> "older versions" of any package).
>>
>> Olaf
>>
> I have not tested yet on 4.2 but tested on 4.0.3 (built myself on lubuntu
> 16.04)
> .
>
>>> pkg install odepkg-0.8.5.tar.gz
>
>
>>> pkg list
> Package Name | Version | Installation directory
> --------------+---------+-----------------------
> odepkg | 0.8.5 | /home/tatsu/octave/odepkg-0.8.5
>>> pkg load odepkg
>
>
> and execute>> help ode45
> 'ode45' is a function from the file
> /home/tatsu/octave/odepkg-0.8.5/ode45.m
> <snip>
>
>
>>> fvdb = @(vt,vy) [vy(2); (1 - vy(1)^2) * vy(2) - vy(1)];
>>> vopt = odeset ("RelTol", 1e-3, "AbsTol",
> 1e-3, \
>
> "NormControl", "on",
> "OutputFcn", @odeplot);
>
>>> ode45 (fvdb, [0 20], [2 0], vopt);
>
> The above works for me.
>
> Tatsuro
For octave-4.2.1 on lubuntu 16.04, install of odepkg 0.8.5 was in failure.
odepkg_octsolver_mebdfdae.cc:702:70: warning: 'octave_idx_type
Array<T>::length() const [with T = double; octave_idx_type = int]' is
deprecated: use 'numel' instead [-Wdeprecated-declarations]
vtim = vttmp.extract (vttmp.length () - 1, vttmp.length () - 1);
^
In file included from
/opt/octave/4.2.1/include/octave-4.2.1/octave/Sparse.h:37:0,
from
/opt/octave/4.2.1/include/octave-4.2.1/octave/MSparse.h:31,
from
/opt/octave/4.2.1/include/octave-4.2.1/octave/MatrixType.h:29,
from
/opt/octave/4.2.1/include/octave-4.2.1/octave/mx-base.h:30,
from /opt/octave/4.2.1/include/octave-4.2.1/octave/Matrix.h:32,
from /opt/octave/4.2.1/include/octave-4.2.1/octave/oct.h:30,
from odepkg_octsolver_mebdfdae.cc:43:
/opt/octave/4.2.1/include/octave-4.2.1/octave/Array.h:354:19: note: declaredhere
octave_idx_type length (void) const { return numel (); }
^
Makefile:50: recipe for target 'odepkg_octsolver_mebdfdae.o' failed
make: *** [odepkg_octsolver_mebdfdae.o] Error 1
make: Leaving directory '/tmp/oct-jwBNZg/odepkg-0.8.5/src'
I could install odepkg-0.8.5 to octave 4.0 but could not to octave 4.2.
Tatsuro
- Re: Odepkg, (continued)
- Re: Odepkg, Tatsuro MATSUOKA, 2017/07/29
- Re: Odepkg, Olaf Till, 2017/07/30
- Re: Odepkg, Tatsuro MATSUOKA, 2017/07/30
- Re: Odepkg, Montgomery-Smith, Stephen, 2017/07/30
- Re: Odepkg, Tatsuro MATSUOKA, 2017/07/30
- Re: Odepkg, Thomas D. Dean, 2017/07/30
- Re: Odepkg, Dmitri A. Sergatskov, 2017/07/30
- Re: Odepkg, Carlo De Falco, 2017/07/31
- Re: Odepkg,
Tatsuro MATSUOKA <=
- Re: Odepkg, Olaf Till, 2017/07/31
- Re: Odepkg, Thomas D. Dean, 2017/07/31
- Re: Odepkg, Carlo De Falco, 2017/07/31