[Scilab-users] bvode example broken?

classic Classic list List threaded Threaded
6 messages Options
Djack13 Djack13
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] bvode example broken?

Hello,
I' m new to this list and to scilab too!
Working on bvode, I try the example "Quantum Neumann equation" found in the scilab help and i get the error message
"Collocation matrix is singular"
Is this example broken?
Somebody have the same message?

I'm using scilab 6.10 from scilab-6.10.bin.linux-x86-64.tar.gz on Ubuntu 20.4

Tanks for reading
Regards
 


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Claus Futtrup Claus Futtrup
Reply | Threaded
Open this post in threaded view
|

Re: bvode example broken?

I confirm the last example in https://help.scilab.org/docs/6.1.0/en_US/bvode.html returns the following error - on a Windows 10 machine:

--> exec('D:\Userdata\Claus\Documents\Scilab\bvode_example.sce', -1)
 VERSION *COLNEW* OF COLSYS .
 THE MAXIMUM NUMBER OF SUBINTERVALS IS MIN ( 117 (ALLOWED FROM FSPACE), 124 (ALLOWED FROM ISPACE) )
 THE NEW MESH (OF    4 SUBINTERVALS),     0.000000    0.500000    1.000000    1.450000    1.900000
 CONVERGENCE AFTER  3 ITERATIONS
 THE NEW MESH (OF    8 SUBINTERVALS),     0.000000    0.250000    0.500000    0.750000    1.000000    1.225000    1.450000    1.675000    1.900000
 CONVERGENCE AFTER  1 ITERATIONS
 VERSION *COLNEW* OF COLSYS .
 THE MAXIMUM NUMBER OF SUBINTERVALS IS MIN ( 117 (ALLOWED FROM FSPACE), 124 (ALLOWED FROM ISPACE) )
 THE FORMER MESH (OF    4 SUBINTERVALS),    0.000000    0.000000    0.000000    0.000000    0.000000
 THE NEW MESH (OF    2 SUBINTERVALS),     0.000000    0.000000    1.900000
 ****** DOMAIN ERROR IN APPROX ****** X =    0.2141331642D+00   ALEFT =    0.0000000000D+00   ARIGHT =    0.0000000000D+00
 ****** DOMAIN ERROR IN APPROX ****** X =    0.9500000000D+00   ALEFT =    0.0000000000D+00   ARIGHT =    0.0000000000D+00
 ****** DOMAIN ERROR IN APPROX ****** X =    0.1685866836D+01   ALEFT =    0.0000000000D+00   ARIGHT =    0.0000000000D+00
 THE GLOBAL BVP-MATRIX IS SINGULAR
at line   122 of executed file D:\Userdata\Claus\Documents\Scilab\bvode_example.sce

bvode: The collocation matrix is singular.



... Line 122 is of course the execution of bvode:

sol=bvodex|(res,ncomp,m,aleft,aright,zeta,ipar,ltol,tol,fixpnt,...
 fsub,dfsub,gsub,dgsub,guess);

/Claus

On 15-07-2020 19:39, Rene Djack wrote:
Hello,
I' m new to this list and to scilab too!
Working on bvode, I try the example "Quantum Neumann equation" found in the scilab help and i get the error message
"Collocation matrix is singular"
Is this example broken?
Somebody have the same message?

I'm using scilab 6.10 from scilab-6.10.bin.linux-x86-64.tar.gz on Ubuntu 20.4

Tanks for reading
Regards
 


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Rafael Guerra Rafael Guerra
Reply | Threaded
Open this post in threaded view
|

Re: bvode example broken?

In reply to this post by Djack13

Hi,

Face same error in Win10 Scilab 6.1.0.

But no such error in Win10 Scilab 5.5.2.

Rgds,

Rafael

 

From: users <[hidden email]> On Behalf Of Rene Djack
Sent: Wednesday, July 15, 2020 8:39 PM
To: [hidden email]
Subject: [Scilab-users] bvode example broken?

 

Hello,

I' m new to this list and to scilab too!

Working on bvode, I try the example "Quantum Neumann equation" found in the scilab help and i get the error message

"Collocation matrix is singular"

Is this example broken?

Somebody have the same message?

 

I'm using scilab 6.10 from scilab-6.10.bin.linux-x86-64.tar.gz on Ubuntu 20.4

 

Tanks for reading

Regards

 

 


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
mottelet mottelet
Reply | Threaded
Open this post in threaded view
|

Re: bvode example broken?

Hi,

Same error on OSX since 6.0.2 version. I cannot test for 5.5.2 version because bvode was broken (it was fixed by desactivating  optimization compilation  flags).

S.

Le 15/07/2020 à 20:24, Rafael Guerra a écrit :

Hi,

Face same error in Win10 Scilab 6.1.0.

But no such error in Win10 Scilab 5.5.2.

Rgds,

Rafael

 

From: users [hidden email] On Behalf Of Rene Djack
Sent: Wednesday, July 15, 2020 8:39 PM
To: [hidden email]
Subject: [Scilab-users] bvode example broken?

 

Hello,

I' m new to this list and to scilab too!

Working on bvode, I try the example "Quantum Neumann equation" found in the scilab help and i get the error message

"Collocation matrix is singular"

Is this example broken?

Somebody have the same message?

 

I'm using scilab 6.10 from scilab-6.10.bin.linux-x86-64.tar.gz on Ubuntu 20.4

 

Tanks for reading

Regards

 

 


_______________________________________________
users mailing list
[hidden email]
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Djack13 Djack13
Reply | Threaded
Open this post in threaded view
|

Re: bvode example broken?

Also tested on linux/scilab 5.5.2 --> no error
I will post in scilab bugzilla.
Thanks for your answers 
Rgds
René 





Le mer. 15 juil. 2020 à 21:20, Stéphane Mottelet <[hidden email]> a écrit :

Hi,

Same error on OSX since 6.0.2 version. I cannot test for 5.5.2 version because bvode was broken (it was fixed by desactivating  optimization compilation  flags).

S.

Le 15/07/2020 à 20:24, Rafael Guerra a écrit :

Hi,

Face same error in Win10 Scilab 6.1.0.

But no such error in Win10 Scilab 5.5.2.

Rgds,

Rafael

 

From: users [hidden email] On Behalf Of Rene Djack
Sent: Wednesday, July 15, 2020 8:39 PM
To: [hidden email]
Subject: [Scilab-users] bvode example broken?

 

Hello,

I' m new to this list and to scilab too!

Working on bvode, I try the example "Quantum Neumann equation" found in the scilab help and i get the error message

"Collocation matrix is singular"

Is this example broken?

Somebody have the same message?

 

I'm using scilab 6.10 from scilab-6.10.bin.linux-x86-64.tar.gz on Ubuntu 20.4

 

Tanks for reading

Regards

 

 


_______________________________________________
users mailing list
[hidden email]
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Clément David-3 Clément David-3
Reply | Threaded
Open this post in threaded view
|

Re: bvode example broken?

Hello Rene, hello all,

After an investigation on the code, there is an issue storing the initial guess of the bvode() call; latter calls will get a zeros vector as guess and failed to converge. The bug 12418 [1] already report the issue, please comment here. IMHO this behavior might be handled without pushing the guessed values back to Scilab thus preserving the prototype.

 [1]: https://bugzilla.scilab.org/show_bug.cgi?id=12418

Thanks,

Clément

> -----Original Message-----
> From: users <[hidden email]> On Behalf Of Rene Djack
> Sent: Thursday, July 16, 2020 2:05 PM
> To: Users mailing list for Scilab <[hidden email]>
> Subject: Re: [Scilab-users] bvode example broken?
>
> Also tested on linux/scilab 5.5.2 --> no error I will post in scilab bugzilla.
> Thanks for your answers
> Rgds
> René
>
>
>
>
>
> Le mer. 15 juil. 2020 à 21:20, Stéphane Mottelet <[hidden email]
> <mailto:[hidden email]> > a écrit :
>
>
> Hi,
>
> Same error on OSX since 6.0.2 version. I cannot test for 5.5.2 version
> because bvode was broken (it was fixed by desactivating  optimization
> compilation  flags).
>
>
> S.
>
>
> Le 15/07/2020 à 20:24, Rafael Guerra a écrit :
>
>
> Hi,
>
> Face same error in Win10 Scilab 6.1.0.
>
> But no such error in Win10 Scilab 5.5.2.
>
> Rgds,
>
> Rafael
>
>
>
> From: users <[hidden email]> <mailto:users-
> [hidden email]>  On Behalf Of Rene Djack
> Sent: Wednesday, July 15, 2020 8:39 PM
> To: [hidden email] <mailto:[hidden email]>
> Subject: [Scilab-users] bvode example broken?
>
>
>
> Hello,
>
> I' m new to this list and to scilab too!
>
> Working on bvode, I try the example "Quantum Neumann
> equation" found in the scilab help and i get the error message
>
> "Collocation matrix is singular"
>
> Is this example broken?
>
> Somebody have the same message?
>
>
>
> I'm using scilab 6.10 from scilab-6.10.bin.linux-x86-64.tar.gz on
> Ubuntu 20.4
>
>
>
> Tanks for reading
>
> Regards
>
>
>
>
>
>
>
> _______________________________________________
> users mailing list
> [hidden email] <mailto:[hidden email]>
>
> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLm
> Zy/lists.scilab.org/mailman/listinfo/users
>
> --
> Stéphane Mottelet
> Ingénieur de recherche
> EA 4297 Transformations Intégrées de la Matière Renouvelable
> Département Génie des Procédés Industriels
> Sorbonne Universités - Université de Technologie de Compiègne
> CS 60319, 60203 Compiègne cedex
> Tel : +33(0)344234688
> http://www.utc.fr/~mottelet
> _______________________________________________
> users mailing list
> [hidden email] <mailto:[hidden email]>
> http://lists.scilab.org/mailman/listinfo/users
>

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users