[Scilab-users] Scilab stops calculus

Stéphane Mottelet stephane.mottelet at utc.fr
Fri Mar 12 11:40:13 CET 2021


Stay tuned, I have relaunched the loop but this time including the 
mprintf and will keep you informed of the result (freeze or no freeze)

S.

Le 12/03/2021 à 11:09, Jean-Yves Baudais a écrit :
> Hello Stephan,
>
> To be honest, I don't know where my problem comes from! If you said it cannot be an output problem, I follow you. So, I don't know why I couldn't wake it up and why it has fallen asleep. I need first to reproduce the problem with simple tests... (to rule out wrong code issue)
>
> Thanks,
>
> Jean-Yves
>
> ----- Original Message -----
>> From: "Stéphane Mottelet"
>> To: "Users mailing list for Scilab" scilab.org>
>> Sent: Friday, 12 March, 2021 08:16:26
>> Subject: Re: [Scilab-users] Scilab stops calculus
>> Hello Jean-Yves,
>>
>> I am affraid that the problem could be due to the output, because I had
>> no problem to run the loop for almost one day under Linux (with latests
>> branch-6.1 build):
>>
>> --> unix("date");
>> jeudi 11 mars 2021, 17:11:48 (UTC+0100)
>>
>> --> i=0;while 1, i=i+1;end;
>>
>> -1-> unix("date");
>> vendredi 12 mars 2021, 08:13:08 (UTC+0100)
>>
>> -1-> i
>>   i  =
>>
>>     1.667D+11
>>
>> -1->
>>
>> S.
>>
>>
>> Le 11/03/2021 à 11:08, Jean-Yves Baudais a écrit :
>>> Hi Antoine,
>>>
>>>> Are you running scilab under Linux?
>>> Yes.
>>>
>>>> It might not be related, but I noticed that when my computer resumes
>>>> from sleep, all the scilab GUI is unresponsive.
>>> I removed all sleep modes on my computer (to maintain VPN access and get around
>>> some other problems) and I never use them.
>>>
>>>> Can you run your long simulation without gui?
>>> It was. I tested the following
>>>
>>> i=0;while 1, i=i+1;mprintf("%d\n",i); end;
>>>
>>> and there is no problem up to i=2e8 with -nwni option, and up to i=5e7 with gui
>>> (I locked my screen during the simulation and unlocked it to stop the
>>> simulation, no problem to resume). So, my first feeling was wrong, it's not a
>>> prompt limitation.
>>>
>>> Strange behaviour...
>>>
>>> -- Jean-Yves
>>> _______________________________________________
>>> users mailing list
>>> users at lists.scilab.org
>>> https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/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
>> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/www.utc.fr/~mottelet
>>
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> 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




More information about the users mailing list