help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odepkg


From: Thomas D. Dean
Subject: Re: Odepkg
Date: Mon, 31 Jul 2017 11:26:54 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]