octave-maintainers
[Top][All Lists]
Advanced

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

Re: I could not understand the behaviors. Sorry!!


From: Tatsuro MATSUOKA
Subject: Re: I could not understand the behaviors. Sorry!!
Date: Thu, 7 Jun 2007 09:00:41 +0900 (JST)

Dear Michael

First question was really stupid.  
Sorry for my carelessness.

Second one was Ooooooo!!
This morning I test mkoctfile test by oregonator.cc.
In this case MSVC's  mkoctfile works well even in my
computrr.  Hello.cc was not made again.

Anyway for most case, I use mkoctfile like to speed up
solving the ODE or non linear eq. by fslove.
It is enough to build oregonator.oct. 

The folowing test were carried out in university.
*********Cygwin build 2.9.12
octave:1> mkoctfile oregonator.cc
octave:2> ls -l oregonator.oct
-rwxrwxrwx 1 Tatsu  1048083 Jun  7 08:10 oregonator.oct
octave:3> testOrego2
ans =  1.1330
octave:4> mkoctfile oregonator.cc
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld:
cannot
open output file oregonator.oct: Device or resource busy
collect2: ld was finished at status 1
arning: mkoctfile exited with failure status
octave:5> clear oregonator
octave:6> mkoctfile oregonator.cc
octave:7> ls -l oregonator.oct
-rwxrwxrwx 1 Tatsu 1048083 Jun  7 08:12 oregonator.oct
**************

**********MSVC test
octave:2> mkoctfile oregonator.cc
oregonator.cc
   Creating library oregonator.lib and object
oregonator.exp
octave:4> system ('dir oregonator.oct');
2007/06/07  08:27            25,600 oregonator.oct
octave:5> testOrego2
ans =  0.30878
octave:6> mkoctfile oregonator.cc
oregonator.cc
LINK : oregonator.oct not found or not built by the last
incremental link; performing full link
LINK : fatal error LNK1104: cannot open file
'oregonator.oct'
warning: mkoctfile exited with failure status
octave:7> clear oregonator
octave:8> mkoctfile oregonator.cc
oregonator.cc
   Creating library oregonator.lib and object
oregonator.exp
octave:9> system ('dir oregonator.oct');
2007/06/07  08:29            25,600 oregonator.oct
****************
(Some needless lines were omitted.)

Surely it went well.
Thank you and apologized for your spendind your time to
answer my stupid question. 



***********testOrego2.m
## The test of `oregonator'.
x0 = [ 4; 1.1; 4 ];
%t = [0, logspace (-1, log10(303), 150), logspace
(log10(304), log10(500), 150)];
t=linspace(0,500,1000);
ts=time();
y = lsode ('oregonator', x0, t);
time()-ts
plot (t,y);
*******************************

Please do not care the time in testOrego2.m.  This is not
the problem
what I would like to treat here.

I rewrite the below
www.nuce.nagoya-u.ac.jp/e8/Matsuoka/msvcoctmemo.html

Thank you for your kindness and patience.

T. Matsuoka




--------------------------------------
Start Yahoo! Auction now! Check out the cool campaign
http://pr.mail.yahoo.co.jp/auction/


reply via email to

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