Odepkg

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Odepkg

Thomas D. Dean-2
I missed something.  When did odepkg go away?  Where are the odepkg
functions?  ode78?

Tom Dean

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

Carlo de Falco-2

> On 28 Jul 2017, at 19:39, Thomas D. Dean <[hidden email]> wrote:
>
> I missed something.  When did odepkg go away?  Where are the odepkg functions?  ode78?

here: https://bitbucket.org/odepkg/

c.



_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

Thomas D. Dean-2
On 07/28/2017 11:01 AM, Carlo De Falco wrote:

>
>> On 28 Jul 2017, at 19:39, Thomas D. Dean <[hidden email]> wrote:
>>
>> I missed something.  When did odepkg go away?  Where are the odepkg functions?  ode78?
>
> here: https://bitbucket.org/odepkg/
>
> c.
>
>
>

octave> pkg update
...
warning: pkg: package odepkg not found on forge - skipping update
...

The bitbucket site says:

odepkg/odepkg
Repository deleted
odepkg · 2016-11-17

I believe I initially installed odepkg 0.8.5 from sourceforge???

Tom Dean

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

Olaf Till-2
On Fri, Jul 28, 2017 at 01:57:05PM -0700, Thomas D. Dean wrote:

> On 07/28/2017 11:01 AM, Carlo De Falco wrote:
> >
> >>On 28 Jul 2017, at 19:39, Thomas D. Dean <[hidden email]> wrote:
> >>
> >>I missed something.  When did odepkg go away?  Where are the odepkg functions?  ode78?
> >
> >here: https://bitbucket.org/odepkg/
> >
> >c.
> >
> >
> >
>
> octave> pkg update
> ...
> warning: pkg: package odepkg not found on forge - skipping update
> ...
>
> The bitbucket site says:
>
> odepkg/odepkg
> Repository deleted
> odepkg · 2016-11-17
>
> I believe I initially installed odepkg 0.8.5 from sourceforge???
It has been deleted at Octave Forge because there was no working
release since Octave 4.0.

Olaf

--
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

Doug Stewart-4


On Sat, Jul 29, 2017 at 1:55 PM, Olaf Till <[hidden email]> wrote:
On Fri, Jul 28, 2017 at 01:57:05PM -0700, Thomas D. Dean wrote:
> On 07/28/2017 11:01 AM, Carlo De Falco wrote:
> >
> >>On 28 Jul 2017, at 19:39, Thomas D. Dean <[hidden email]> wrote:
> >>
> >>I missed something.  When did odepkg go away?  Where are the odepkg functions?  ode78?
> >
> >here: https://bitbucket.org/odepkg/
> >
> >c.
> >
> >
> >
>
> octave> pkg update
> ...
> warning: pkg: package odepkg not found on forge - skipping update
> ...
>
> The bitbucket site says:
>
> odepkg/odepkg
> Repository deleted
> odepkg · 2016-11-17
>
> I believe I initially installed odepkg 0.8.5 from sourceforge???

It has been deleted at Octave Forge because there was no working
release since Octave 4.0.

Olaf


This is very sad :-(


--
DAS


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

Olaf Till-2
On Sat, Jul 29, 2017 at 02:50:44PM -0400, Doug Stewart wrote:

> On Sat, Jul 29, 2017 at 1:55 PM, Olaf Till <[hidden email]> wrote:
>
> > On Fri, Jul 28, 2017 at 01:57:05PM -0700, Thomas D. Dean wrote:
> > > On 07/28/2017 11:01 AM, Carlo De Falco wrote:
> > > >
> > > >>On 28 Jul 2017, at 19:39, Thomas D. Dean <[hidden email]>
> > wrote:
> > > >>
> > > >>I missed something.  When did odepkg go away?  Where are the odepkg
> > functions?  ode78?
> > > >
> > > >here: https://bitbucket.org/odepkg/
> > > >
> > > >c.
> > > >
> > > >
> > > >
> > >
> > > octave> pkg update
> > > ...
> > > warning: pkg: package odepkg not found on forge - skipping update
> > > ...
> > >
> > > The bitbucket site says:
> > >
> > > odepkg/odepkg
> > > Repository deleted
> > > odepkg · 2016-11-17
> > >
> > > I believe I initially installed odepkg 0.8.5 from sourceforge???
> >
> > It has been deleted at Octave Forge because there was no working
> > release since Octave 4.0.
> >
> > Olaf
> >
> >
> This is very sad :-(
It can be listed again at OF as soon as a working release emerges
there. But since it's an external package, we can't do much at OF to
push for a release, even though John D. recently provided a patch to
fix building with Octave 4.2.

I don't know which specific solver you need, but maybe there are some
in Octave core you can use; the basic solvers previously in odepkg
should now be in Octave core, thanks to Carlo, under scripts/ode/
(maybe with changed names), and there is lsode, too.

Olaf

--
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

tmacchant
In reply to this post by Olaf Till-2
>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



Tatsuro

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

Olaf Till-2
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

--
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

tmacchant
----- Original Message -----

> From: Olaf Till 
> To: Tatsuro MATSUOKA 
> Cc: Thomas D. Dean ; Octave Help <[hidden email]>
> 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

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

Montgomery-Smith, Stephen
I think a working odepkg is important for teaching purposes, because
ode45 is the main ode solver used with Matlab.  If I teach a class that
requires Matlab, it is important that software I create for the class
works both in Matlab and Octave.  The Engineering School have a site
license for Matlab, and that is what they are used to using.  But I
would like for the other students in the class to be able to use Octave
if they don't want to pay $50 for the student version of Matlab.

Stephen
_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

tmacchant
----- Original Message -----

> From: "Montgomery-Smith, Stephen" <[hidden email]>
> To: "[hidden email]" <[hidden email]>
> Cc:
> Date: 2017/7/31, Mon 10:31
> Subject: Re: Odepkg
>
> I think a working odepkg is important for teaching purposes, because
> ode45 is the main ode solver used with Matlab.  If I teach a class that
> requires Matlab, it is important that software I create for the class
> works both in Matlab and Octave.  The Engineering School have a site
> license for Matlab, and that is what they are used to using.  But I
> would like for the other students in the class to be able to use Octave
> if they don't want to pay $50 for the student version of Matlab.
>
> Stephen


For octave 4.2, ode45 and ode23 is included in core and odepkg is no longer required for ode45 and ode23.

As far as I know, in the development version of octave, 
implementation of additional other MATLAB compatible (stiff) ode solvers is now working.

Tatsuro

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

Thomas D. Dean-2
In reply to this post by tmacchant
On 07/30/2017 05:21 PM, Tatsuro MATSUOKA wrote:

On 4.3.0+, ( local build,  two weeks ago)

octave:321> fvdb = @(vt,vy) [vy(2); (1 - vy(1)^2) * vy(2) - vy(1)];
octave:322> vopt = odeset ("RelTol", 1e-3, "AbsTol", 1e-3,
"NormControl", "on", "OutputFcn", @odeplot);

octave:323> ode45 (fvdb, [0 20], [2 0], vopt);
warning: Option "InitialStep" not set, new value 2.000000 is used
warning: called from
     ode45 at line 182 column 5
warning: Option "MaxStep" not set, new value 2.000000 is used
warning: called from
     ode45 at line 190 column 5
octave:324>          line 104: warning: Cannot toggle log scale for
volatile data

But, I get a plot...

Tom Dean

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

Dmitri A. Sergatskov


On Sun, Jul 30, 2017 at 9:01 PM, Thomas D. Dean <[hidden email]> wrote:
On 07/30/2017 05:21 PM, Tatsuro MATSUOKA wrote:

On 4.3.0+, ( local build,  two weeks ago)

octave:321> fvdb = @(vt,vy) [vy(2); (1 - vy(1)^2) * vy(2) - vy(1)];
octave:322> vopt = odeset ("RelTol", 1e-3, "AbsTol", 1e-3, "NormControl", "on", "OutputFcn", @odeplot);

octave:323> ode45 (fvdb, [0 20], [2 0], vopt);
warning: Option "InitialStep" not set, new value 2.000000 is used
warning: called from
    ode45 at line 182 column 5
warning: Option "MaxStep" not set, new value 2.000000 is used
warning: called from
    ode45 at line 190 column 5
octave:324>          line 104: warning: Cannot toggle log scale for volatile data

But, I get a plot...

hg id
ccc4e85762ac tip @
hg head
changeset:   23813:ccc4e85762ac
bookmark:    @
tag:         tip
user:        Rik <[hidden email]>
date:        Sun Jul 30 14:08:02 2017 -0700
summary:     Overhaul vectorize() to use C++11 string functions.

octave:1> fvdb = @(vt,vy) [vy(2); (1 - vy(1)^2) * vy(2) - vy(1)];
octave:2> vopt = odeset ("RelTol", 1e-3, "AbsTol", 1e-3, "NormControl", "on", "OutputFcn", @odeplot);
octave:3> ode45 (fvdb, [0 20], [2 0], vopt);
octave:4>

​(no warnings, nice plot...)​


 

Tom Dean


​Dmitri.


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

tmacchant
In reply to this post by tmacchant
----- 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 <[hidden email]>
>>  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


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

Carlo de Falco-2
In reply to this post by Thomas D. Dean-2

> On 31 Jul 2017, at 04:01, Thomas D. Dean <[hidden email]> wrote:
>
> On 07/30/2017 05:21 PM, Tatsuro MATSUOKA wrote:
>
> On 4.3.0+, ( local build,  two weeks ago)
>
> octave:321> fvdb = @(vt,vy) [vy(2); (1 - vy(1)^2) * vy(2) - vy(1)];
> octave:322> vopt = odeset ("RelTol", 1e-3, "AbsTol", 1e-3, "NormControl", "on", "OutputFcn", @odeplot);
>
> octave:323> ode45 (fvdb, [0 20], [2 0], vopt);
> warning: Option "InitialStep" not set, new value 2.000000 is used
> warning: called from
>    ode45 at line 182 column 5
> warning: Option "MaxStep" not set, new value 2.000000 is used
> warning: called from
>    ode45 at line 190 column 5
> octave:324>          line 104: warning: Cannot toggle log scale for volatile data
>
> But, I get a plot...
>
> Tom Dean

With mercurial revision 90689bdbe048 (pulled and built on friday)

>> 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);

I get no warning and the attached plot (is that what you expect?).
As far as I remember, the warnings for using the default values of ode options were removed
before the release of 4.2 including ode45. Maybe you have an odepkg installation that shadows
the core function?

Anyway all those warnings seem harmless although annoying.
c.





_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave

odepkg.pdf (35K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

Carlo de Falco-2
In reply to this post by Thomas D. Dean-2

> On 28 Jul 2017, at 22:57, Thomas D. Dean <[hidden email]> wrote:
>
> The bitbucket site says:
>
> odepkg/odepkg
> Repository deleted
> odepkg · 2016-11-17

Hi,

where exactly on bitbucket do you see this "Repository deleted" message?
Are you sure you spelled my the package name in lowercase, i.e. "odepkg"?

The repository was initially incorrectly named "OdePkg" so the first bitbucket
repository was deleted and replaced by one with the correct name.

I can access the current repository from here:
https://bitbucket.org/odepkg/odepkg/src
can you see it there?

c.
_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

Olaf Till-2
In reply to this post by tmacchant
On Mon, Jul 31, 2017 at 09:21:08AM +0900, Tatsuro MATSUOKA wrote:

> 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.
For me the release segfaults when loading dldsolver.oct into Octave
4.0, so it segfaults already during installation. Apparantly this is
not reproducible everywhere.

I'd still suggest that this release should not be published at OF, in
particular because the hope was vain that these problems are only a
short passing state. But if some _user_ of odepkg has a different
opinion, despite everything told in this thread, I'll publish it
again.

Olaf

--
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

Thomas D. Dean-2
On 07/31/2017 08:09 AM, Olaf Till wrote:

> On Mon, Jul 31, 2017 at 09:21:08AM +0900, Tatsuro MATSUOKA wrote:
>> 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.
>
> For me the release segfaults when loading dldsolver.oct into Octave
> 4.0, so it segfaults already during installation. Apparantly this is
> not reproducible everywhere.
>
> I'd still suggest that this release should not be published at OF, in
> particular because the hope was vain that these problems are only a
> short passing state. But if some _user_ of odepkg has a different
> opinion, despite everything told in this thread, I'll publish it
> again.
>
> Olaf
>

The odepkg I use was installed with an earlier version of octave, before
the pkg was moved to unmaintained.  It seems to work OK.

I can not rebuild the package with the current version of octave.  Most
of the problems stem from changes within octave and gcc.  I see
GCC_ATTR_UNUSED undefined
feval needs to be octave::feval
is_xxxxx needs to be isxxxxx for several different functions
    xxxxx = empty, etc.
config.h is included but should not be
some problems in macro expansion for F77_FUNC

Maybe too much to fix, at least for me.  I am unable to maintain the odepkg.

Tom Dean

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Odepkg

Carlo de Falco-2

> On 31 Jul 2017, at 20:26, Thomas D. Dean <[hidden email]> wrote:
>
> The odepkg I use was installed with an earlier version of octave, before the pkg was moved to unmaintained.  It seems to work OK.

It is not a good idea to keep a version of a package that was installed
with an older version of Ocatve, changes in the Octave ABI can lead
to unpredictable behaviour.

Also, if you installed odepkg with Octave < 4.2 loading odepkg will shadow
the ode solvers that were moved into Octave core.

This may explain the behaviour you have experimented with ode45, try again
to run your example after unloading odepkg:

pkg unload odepkg
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);

c.




_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Loading...