<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
The upcoming 5.3 version will have a parallel_run function. I have
never used it (and the help in the beta seems complicated) but you may
have a look at it.<br>
<br>
Mathieu<br>
<br>
On 08/31/2010 01:01 PM, Antoine Monmayrant wrote:
<blockquote cite="mid:4C7CE10E.1030500@laas.fr" type="cite">
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
Le 31/08/2010 12:57, Paul CARRICO a écrit :
  <blockquote cite="mid:000001cb48fb$45ab3370$d1019a50$@carrico@free.fr"
 type="cite">
    <meta http-equiv="Content-Type"
 content="text/html; charset=ISO-8859-1">
    <meta name="Generator" content="Microsoft Word 12 (filtered medium)">
    <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
-->
  </style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
    <div class="WordSection1">
    <p class="MsoNormal">All,<o:p></o:p></p>
    <p class="MsoNormal"><o:p> </o:p></p>
    <p class="MsoNormal"><o:p> </o:p></p>
    <p class="MsoNormal"><span lang="EN-US">I don’t know if my question
is
interesting (or stupid) since I’m not skilled enough …<o:p></o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US">… it’s rather common to
have
several cores in a processor (nay several processors with several
cores) =>
 I would like to know if it’s possible to select a core for a
specific calculation ?<o:p></o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US">(I had a look in the help
documentation,
but ???)<o:p></o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US">My idea is the following
(throughout an
example).<o:p></o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US">2 (and more)  loops that
can
be
performed in parallel :<o:p></o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US">For i = 1 : n<o:p></o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US">      A =
…..<o:p></o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US">end<o:p></o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US">For i = 1 : n<o:p></o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US">      B =
…..<o:p></o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US">end<o:p></o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US">Loop 1 is perform a the
core
1, loop 2 on
the 2 and so on …<o:p></o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US">I noticed that a single
core/processor is
used … of course the goal is to increase speed up !<o:p></o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US">Paul<o:p></o:p></span></p>
    <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
    </div>
  </blockquote>
There is proactive for that purpose.<br>
  <br>
  <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.scilab.org/projects/collaborations/proactive">http://www.scilab.org/projects/collaborations/proactive</a><br>
  <br>
  <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://proactive.inria.fr/index.php?page=scilab">http://proactive.inria.fr/index.php?page=scilab</a><br>
  <br>
Never used it, I don't know if it can fit your needs.<br>
  <br>
Antoine<br>
  <br>
</blockquote>
<br>
</body>
</html>