[scilab-Users] Batch mode

Romain romain.reuillon at iscpif.fr
Mon Nov 14 12:08:22 CET 2011


For instance when a lanch a script with an error, I get:
> [reuillon at zebulon coin]$ ~/tmp/scilab-5.3.3/bin/scilab -nw -nogui -f 
> Simul1.sci
> java.lang.reflect.InvocationTargetException
>         ___________________________________________
>                         scilab-5.3.3
>
>                 Consortium Scilab (DIGITEO)
>               Copyright (c) 1989-2011 (INRIA)
>               Copyright (c) 1989-2007 (ENPC)
>         ___________________________________________
>
>
> Startup execution:
>   loading initial environment
> ee;
>   !--error 4
> Undefined variable: ee
>
> at line      26 of exec file called by :
> exec('SCI/etc/scilab.start',-1);;exec('Simul1.sci',-1)
>
>
> -->
At the end, it displays a prompt and waits for the user to input 
something. The behaviour is similar with the -nwni option.

Romain

Le 14/11/2011 12:03, Adrien Vogt-Schilb a écrit :
> Hi
>
> Do you have some command line prompting for user input, like "input" ?
>
> On 14/11/2011 12:01, Romain wrote:
>> Hi guys,
>>
>> I work on a software for distributed executions of simulation models 
>> (www.openmole.org). Some of our users are using scilab. In order to 
>> execute scilab on a computing grid we need to execute it in batch 
>> mode. I have tryed the option "-nw -nogui" and "-nwi" however when an 
>> error occurs durring the execution of the scilab script, scilab 
>> doesn't stop and is waiting for the user to react. Is there anyway of 
>> switching to a real batch mode where no interaction is ever requiered?
>>
>> Cheers,
>> Romain Reuillon
>>
>
>
> -- 
> Adrien Vogt-Schilb (Cired)
> Tel: (+33) 1 43 94 *73 77*

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20111114/28ca68b2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3879 bytes
Desc: Signature cryptographique S/MIME
URL: <https://lists.scilab.org/pipermail/users/attachments/20111114/28ca68b2/attachment.p7s>


More information about the users mailing list