Re: [Scilab-users] parallel_run

2018-10-30 Thread FIXED-TERM Nacer Mohamed Ikbal (ETAS/ESY)


I think the fact that there is no Multi-Threading system within scilab 
framework is a big drawback.


From: users  On Behalf Of Stéphane Mottelet
Sent: Tuesday, October 30, 2018 10:49 AM
To: Users mailing list for Scilab 
Subject: Re: [Scilab-users] parallel_run

Use Scilab 5.5.2 under Linux.

S.

Le 30 oct. 2018 à 10:44, FIXED-TERM Nacer Mohamed Ikbal (ETAS/ESY) 
mailto:fixed-term.mohamedikbal.na...@etas.com>>
 a écrit :

Hello Again,

In that case what should I do  I want to run code paralley because I have a 
very big file ?




From: users 
mailto:users-boun...@lists.scilab.org>> On 
Behalf Of Arvid Rosén
Sent: Tuesday, October 30, 2018 10:39 AM
To: Users mailing list for Scilab 
mailto:users@lists.scilab.org>>
Subject: Re: [Scilab-users] parallel_run

parallel_run has also been broken on macOS for ages unfortunately. I don’t 
think it was removed though.

Cheers,
Arvid


From: Scilab Users List 
mailto:users-boun...@lists.scilab.org>> on 
behalf of "Carrico, Paul" 
mailto:paul.carr...@esterline.com>>
Reply-To: Users mailing list for Scilab 
mailto:users@lists.scilab.org>>
Date: Tuesday, 30 October 2018 at 10:15
To: 'Users mailing list for Scilab' 
mailto:users@lists.scilab.org>>
Subject: Re: [Scilab-users] parallel_run

Hi

I do not know if it’s still the case, but some time ago, parallel runs were 
only available under Linux and not under Windows

Paul

EXPORT CONTROL :
Cet email ne contient pas de données techniques
This email does not contain technical data

De : users [mailto:users-boun...@lists.scilab.org] De la part de FIXED-TERM 
Nacer Mohamed Ikbal (ETAS/ESY)
Envoyé : mardi 30 octobre 2018 10:13
À : users@lists.scilab.org<mailto:users@lists.scilab.org>
Objet : [EXTERNAL] [Scilab-users] parallel_run

Hello Sir\M’m

I am trying to execute parallel_run method but even with I have tried by copy 
pasting the example in the forum

function a=g(arg1)
  a=arg1*arg1
endfunction

res = parallel_run(1:10, g);


but I have the following error: “ Undefined variable: parallel_run”

Thanks in advance.
___
users mailing list
users@lists.scilab.org<mailto:users@lists.scilab.org>
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] parallel_run

2018-10-30 Thread FIXED-TERM Nacer Mohamed Ikbal (ETAS/ESY)

Hello Again,

In that case what should I do  I want to run code paralley because I have a 
very big file ?



From: users  On Behalf Of Arvid Rosén
Sent: Tuesday, October 30, 2018 10:39 AM
To: Users mailing list for Scilab 
Subject: Re: [Scilab-users] parallel_run

parallel_run has also been broken on macOS for ages unfortunately. I don’t 
think it was removed though.

Cheers,
Arvid


From: Scilab Users List 
mailto:users-boun...@lists.scilab.org>> on 
behalf of "Carrico, Paul" 
mailto:paul.carr...@esterline.com>>
Reply-To: Users mailing list for Scilab 
mailto:users@lists.scilab.org>>
Date: Tuesday, 30 October 2018 at 10:15
To: 'Users mailing list for Scilab' 
mailto:users@lists.scilab.org>>
Subject: Re: [Scilab-users] parallel_run

Hi

I do not know if it’s still the case, but some time ago, parallel runs were 
only available under Linux and not under Windows

Paul

EXPORT CONTROL :
Cet email ne contient pas de données techniques
This email does not contain technical data

De : users [mailto:users-boun...@lists.scilab.org] De la part de FIXED-TERM 
Nacer Mohamed Ikbal (ETAS/ESY)
Envoyé : mardi 30 octobre 2018 10:13
À : users@lists.scilab.org<mailto:users@lists.scilab.org>
Objet : [EXTERNAL] [Scilab-users] parallel_run

Hello Sir\M’m

I am trying to execute parallel_run method but even with I have tried by copy 
pasting the example in the forum

function a=g(arg1)
  a=arg1*arg1
endfunction

res = parallel_run(1:10, g);


but I have the following error: “ Undefined variable: parallel_run”

Thanks in advance.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Scilab from Powershell

2018-10-26 Thread FIXED-TERM Nacer Mohamed Ikbal (ETAS/ESY)
hello mesdames and sirs,

I want to ask you about the possibility of calling a function that has been 
written within a scilab from powershell.

I am doing the following after have the file where the code written a side than 
calling it :

$objScilab.SendScilabJob("exec('D:\New\ScilabCode.sce', -1)")


I always receive an error result 999 in powershell

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Tall Array in Scilab

2018-10-26 Thread FIXED-TERM Nacer Mohamed Ikbal (ETAS/ESY)
Hello M'ms and Sirs,

Do we have the concept of Tall Array in scilab, because I need to read a big 
chunk of data and it may get worst and worst soon and scilab is crushing 
because it cannot handle it.
The concept of Tall Array is explained it here 
https://www.mathworks.com/help/matlab/import_export/tall-arrays.html


So if anyone can help it will be very helpful ?

Thanks in advances.

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Optimization

2018-10-25 Thread FIXED-TERM Nacer Mohamed Ikbal (ETAS/ESY)
Hi,

I have a simple task to split a element of a matrix into rows where remaining 
columns are duplicated. I have achieved that with loops.
I am sure there is an efficient way to do it using matrix functions. Can you 
please help?

The data contains both numbers and strings
the column 6 and 7 has equal numbers of elements delimited by '~'


Given Matrix

1  2  3  4  5  a~b~c~d  
 111~222~333~444
4  5  6  7  6  e~f~g~h~i 
555~666~777~888~999
8  9  10 11 12 j~k~l~m
112~223~334~445
.
.

Output after processing

1  2  3  4  5  a  111
1  2  3  4  5  b  222
1  2  3  4  5  c  333
1  2  3  4  5  d  444
4  5  6  7  6  e  555
4  5  6  7  6  f   666
4  5  6  7  6  g  777
4  5  6  7  6  h  888
4  5  6  7  6  i   999
8  9  10 11 12 j   112
8  9  10 11 12 k  223
8  9  10 11 12 l   334
8  9  10 11 12 m 445
..
..
Mit freundlichen Grüßen / Best regards

Mohamed Ikbal Nacer

Engineering of Systems (ETAS/ESY)
Tel. +49 711 3423-0 | Fax +49 711 3423-300 | 
fixed-term.mohamedikbal.na...@etas.com


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users