[Scilab-users] ?==?utf-8?q? ?==?utf-8?q? parallel_run
Antoine Monmayrant
amonmayr at laas.fr
Mon Sep 23 16:13:55 CEST 2019
Hello,
Are you using Windows or anything else?
Because as far as I remember, parallel_run is just a dirty hack that only works under windows.
On my linux install of scilab 6.0.2, I also have:
--> parallel_run
Undefined variable: parallel_run
So it might be a bug in the documentation that should mention "windows only" like some other functions.
Antoine
Le Lundi, Septembre 23, 2019 15:46 CEST, fujimoto2005 <fujimoto2005 at gmail.com> a écrit:
> I wanted to use "parallel_run" and tried the sample script in the help page.
> But it did not work with the error message "undefined
> variable:parallel_run".
> Please teach me what is wrong?
>
> The sample script I used is as follows
> ******
> for i = 1:10
> res(i) = i*i;
> end;
> // for parallel_run, we need to have a function performing the computation
> function a=g(arg1)
> a=arg1*arg1
> endfunction
>
> res = parallel_run(1:10, g);
> // => res = [1 4 9 16 25 36 49 64 81 100];
> *********
>
>
>
>
>
> --
> Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
More information about the users
mailing list