I tried on two different platforms:
1) Pentium D, gcc 4.1.2, g77 3.4.6, Octave 3.0.1b
2) Core(TM)2 Duo, gcc 4.3.0, gfortran 4.3.0, Octave 3.0.0+
Enclosed, the output of pkg install in the second case.
Moreover, I noticed what I consider a bug in ode45.m (as well as in all
the other solvers): at line 336, it should be
vdelta = abs(y5 - y4);
Best regards,
Marco
Marco Caliari schrieb:
Dear all,
I installed odepkg-0.4.1 in Octave-3.0.1b via
pkg install odepkg-0.4.1.tar.gz
All of Runge-Kutta solvers are available, but none of HairerWanner or BDF
solvers is. In particular, how can I access ode5r or odebda?
Best regards,
Marco
On which platform are you working on?
Thomas
Can somebody else also see this problem?
mkdir (/tmp/oct-v8jI0N)
untar (odepkg-0.4.1.tar.gz, /tmp/oct-v8jI0N)
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for mkoctfile... mkoctfile
retrieving compile and link flags from mkoctfile
checking for F77_FUNC... yes
checking for octave... octave
checking for OCTAVE_VERSION in Octave... 3.0.0+
checking for octave_config_info('canonical_host_type') in Octave...
i686-pc-linux-gnu
checking for octave_config_info('SHLEXT') in Octave... so
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for strip... strip
configure: creating ./config.status
-- less -- (f)orward, (b)ack, (q)uit
mkdir (/tmp/oct-v8jI0N)
untar (odepkg-0.4.1.tar.gz, /tmp/oct-v8jI0N)
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for mkoctfile... mkoctfile
retrieving compile and link flags from mkoctfile
checking for F77_FUNC... yes
checking for octave... octave
checking for OCTAVE_VERSION in Octave... 3.0.0+
checking for octave_config_info('canonical_host_type') in Octave...
i686-pc-linux-gnu
checking for octave_config_info('SHLEXT') in Octave... so
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for strip... strip
configure: creating ./config.status
config.status: creating Makeconf
"$prefix" is /usr/local/share/octave/packages/odepkg-0.4.1
"$exec_prefix" is ${prefix}
octave commands will install into the following directories:
m-files: /usr/local/share/octave/3.0.0+/site/m/octave-forge
oct-files:
/usr/local/libexec/octave/3.0.0+/site/oct/i686-pc-linux-gnu/octave-forge
binaries: /usr/local/libexec/octave/3.0.0+/site/exec/i686-pc-linux-gnu
alternatives:
m-files: /usr/local/share/octave/3.0.0+/site/octave-forge-alternatives/m
oct-files:
/usr/local/libexec/octave/3.0.0+/site/octave-forge-alternatives/oct/i686-pc-linux-gnu
shell commands will install into the following directories:
binaries: ${exec_prefix}/bin
man pages: ${datarootdir}/man
libraries: ${exec_prefix}/lib
headers: ${prefix}/include
octave-forge is configured with
octave: octave (version 3.0.0+)
mkoctfile: mkoctfile for Octave 0+
find . -name NOINSTALL -print # shows which toolboxes won't be installed
make: Entering directory `/tmp/oct-v8jI0N/odepkg-0.4.1/src'
Unpacking external packages: hairer.tgz
Unpacking external packages: cash.tgz
Applying patches from file: hairer.diff
Applying patches from file: cash.diff
patching file cash/mebdfdae.f
patching file cash/mebdfi.f
mkoctfile -DHAVE_OCTAVE_30 -v -c odepkg_octsolver_mebdfdae.cc -o
odepkg_octsolver_mebdfdae.o
g++ -c -fPIC -I/usr/local/include/octave-3.0.0+
-I/usr/local/include/octave-3.0.0+/octave -I/usr/local/include -mieee-fp -g -O2
-DHAVE_OCTAVE_30 odepkg_octsolver_mebdfdae.cc -o odepkg_octsolver_mebdfdae.o
mkoctfile -DHAVE_OCTAVE_30 -v -c odepkg_octsolver_mebdfi.cc -o
odepkg_octsolver_mebdfi.o
g++ -c -fPIC -I/usr/local/include/octave-3.0.0+
-I/usr/local/include/octave-3.0.0+/octave -I/usr/local/include -mieee-fp -g -O2
-DHAVE_OCTAVE_30 odepkg_octsolver_mebdfi.cc -o odepkg_octsolver_mebdfi.o
mkoctfile -DHAVE_OCTAVE_30 -v -c odepkg_octsolver_radau.cc -o
odepkg_octsolver_radau.o
g++ -c -fPIC -I/usr/local/include/octave-3.0.0+
-I/usr/local/include/octave-3.0.0+/octave -I/usr/local/include -mieee-fp -g -O2
-DHAVE_OCTAVE_30 odepkg_octsolver_radau.cc -o odepkg_octsolver_radau.o
mkoctfile -DHAVE_OCTAVE_30 -v -c odepkg_octsolver_radau5.cc -o
odepkg_octsolver_radau5.o
g++ -c -fPIC -I/usr/local/include/octave-3.0.0+
-I/usr/local/include/octave-3.0.0+/octave -I/usr/local/include -mieee-fp -g -O2
-DHAVE_OCTAVE_30 odepkg_octsolver_radau5.cc -o odepkg_octsolver_radau5.o
mkoctfile -DHAVE_OCTAVE_30 -v -c odepkg_octsolver_rodas.cc -o
odepkg_octsolver_rodas.o
g++ -c -fPIC -I/usr/local/include/octave-3.0.0+
-I/usr/local/include/octave-3.0.0+/octave -I/usr/local/include -mieee-fp -g -O2
-DHAVE_OCTAVE_30 odepkg_octsolver_rodas.cc -o odepkg_octsolver_rodas.o
mkoctfile -DHAVE_OCTAVE_30 -v -c odepkg_octsolver_seulex.cc -o
odepkg_octsolver_seulex.o
g++ -c -fPIC -I/usr/local/include/octave-3.0.0+
-I/usr/local/include/octave-3.0.0+/octave -I/usr/local/include -mieee-fp -g -O2
-DHAVE_OCTAVE_30 odepkg_octsolver_seulex.cc -o odepkg_octsolver_seulex.o
mkoctfile -DHAVE_OCTAVE_30 -v -c odepkg_auxiliary_functions.cc -o
odepkg_auxiliary_functions.o
g++ -c -fPIC -I/usr/local/include/octave-3.0.0+
-I/usr/local/include/octave-3.0.0+/octave -I/usr/local/include -mieee-fp -g -O2
-DHAVE_OCTAVE_30 odepkg_auxiliary_functions.cc -o odepkg_auxiliary_functions.o
FFLAGS="-fno-automatic -fomit-frame-pointer -mfpmath=sse -msse3 -O2 -m32
-mieee-fp" mkoctfile -DHAVE_OCTAVE_30 -v -c cash/mebdfdae.f -o cash/mebdfdae.o
gfortran -c -fPIC -fno-automatic -fomit-frame-pointer -mfpmath=sse -msse3 -O2
-m32 -mieee-fp -DHAVE_OCTAVE_30 cash/mebdfdae.f -o cash/mebdfdae.o
FFLAGS="-fno-automatic -fomit-frame-pointer -mfpmath=sse -msse3 -O2 -m32
-mieee-fp" mkoctfile -DHAVE_OCTAVE_30 -v -c cash/mebdfi.f -o cash/mebdfi.o
gfortran -c -fPIC -fno-automatic -fomit-frame-pointer -mfpmath=sse -msse3 -O2
-m32 -mieee-fp -DHAVE_OCTAVE_30 cash/mebdfi.f -o cash/mebdfi.o
FFLAGS="-fno-automatic -fomit-frame-pointer -mfpmath=sse -msse3 -O2 -m32
-mieee-fp" mkoctfile -DHAVE_OCTAVE_30 -v -c hairer/decsol.f -o hairer/decsol.o
gfortran -c -fPIC -fno-automatic -fomit-frame-pointer -mfpmath=sse -msse3 -O2
-m32 -mieee-fp -DHAVE_OCTAVE_30 hairer/decsol.f -o hairer/decsol.o
FFLAGS="-fno-automatic -fomit-frame-pointer -mfpmath=sse -msse3 -O2 -m32
-mieee-fp" mkoctfile -DHAVE_OCTAVE_30 -v -c hairer/dc_decsol.f -o
hairer/dc_decsol.o
gfortran -c -fPIC -fno-automatic -fomit-frame-pointer -mfpmath=sse -msse3 -O2
-m32 -mieee-fp -DHAVE_OCTAVE_30 hairer/dc_decsol.f -o hairer/dc_decsol.o
FFLAGS="-fno-automatic -fomit-frame-pointer -mfpmath=sse -msse3 -O2 -m32
-mieee-fp" mkoctfile -DHAVE_OCTAVE_30 -v -c hairer/radau.f -o hairer/radau.o
gfortran -c -fPIC -fno-automatic -fomit-frame-pointer -mfpmath=sse -msse3 -O2
-m32 -mieee-fp -DHAVE_OCTAVE_30 hairer/radau.f -o hairer/radau.o
FFLAGS="-fno-automatic -fomit-frame-pointer -mfpmath=sse -msse3 -O2 -m32
-mieee-fp" mkoctfile -DHAVE_OCTAVE_30 -v -c hairer/radau5.f -o hairer/radau5.o
gfortran -c -fPIC -fno-automatic -fomit-frame-pointer -mfpmath=sse -msse3 -O2
-m32 -mieee-fp -DHAVE_OCTAVE_30 hairer/radau5.f -o hairer/radau5.o
FFLAGS="-fno-automatic -fomit-frame-pointer -mfpmath=sse -msse3 -O2 -m32
-mieee-fp" mkoctfile -DHAVE_OCTAVE_30 -v -c hairer/rodas.f -o hairer/rodas.o
gfortran -c -fPIC -fno-automatic -fomit-frame-pointer -mfpmath=sse -msse3 -O2
-m32 -mieee-fp -DHAVE_OCTAVE_30 hairer/rodas.f -o hairer/rodas.o
FFLAGS="-fno-automatic -fomit-frame-pointer -mfpmath=sse -msse3 -O2 -m32
-mieee-fp" mkoctfile -DHAVE_OCTAVE_30 -v -c hairer/seulex.f -o hairer/seulex.o
gfortran -c -fPIC -fno-automatic -fomit-frame-pointer -mfpmath=sse -msse3 -O2
-m32 -mieee-fp -DHAVE_OCTAVE_30 hairer/seulex.f -o hairer/seulex.o
mkoctfile -DHAVE_OCTAVE_30 -v odepkg_octsolver_mebdfdae.o
odepkg_octsolver_mebdfi.o odepkg_octsolver_radau.o odepkg_octsolver_radau5.o
odepkg_octsolver_rodas.o odepkg_octsolver_seulex.o
odepkg_auxiliary_functions.o cash/mebdfdae.o cash/mebdfi.o hairer/decsol.o
hairer/dc_decsol.o hairer/radau.o hairer/radau5.o hairer/rodas.o
hairer/seulex.o -o dldsolver.oct
g++ -shared -Wl,-Bsymbolic -o dldsolver.oct odepkg_octsolver_mebdfdae.o
odepkg_octsolver_mebdfi.o odepkg_octsolver_radau.o odepkg_octsolver_radau5.o
odepkg_octsolver_rodas.o odepkg_octsolver_seulex.o odepkg_auxiliary_functions.o
cash/mebdfdae.o cash/mebdfi.o hairer/decsol.o hairer/dc_decsol.o hairer/radau.o
hairer/radau5.o hairer/rodas.o hairer/seulex.o -L/usr/local/lib/octave-3.0.0+
-L/usr/local/lib -loctinterp -loctave -lcruft -L/usr/local/atlas/lib -llapack
-lf77blas -lcblas -latlas -lfftw3 -lreadline -lncurses -ldl -lz -lm
-L/usr/local/lib/gcc/i686-pc-linux-gnu/4.3.0
-L/usr/local/lib/gcc/i686-pc-linux-gnu/4.3.0/../../.. -lz -lgfortranbegin
-lgfortran -lm
make: Leaving directory `/tmp/oct-v8jI0N/odepkg-0.4.1/src'
copyfile /tmp/oct-v8jI0N/odepkg-0.4.1/src/dldsolver.oct
/tmp/oct-v8jI0N/odepkg-0.4.1/inst/i686-pc-linux-gnu-api-v32+
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev