Commit 1771a36a authored by cdelbe's avatar cdelbe
Browse files

PICKED FROM TRUNK 14886

tiny modifications in scilab and matlab docs

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/proactive/scheduling/branches/Scheduling_2.0.x@14995 28e8926c-6b08-0410-baaa-805c5e19b8d6
parent 8b0dd0ff
...@@ -776,11 +776,13 @@ path_to_scheduler\dist\lib\ProActive_SRM-common.jar</screen> ...@@ -776,11 +776,13 @@ path_to_scheduler\dist\lib\ProActive_SRM-common.jar</screen>
You're now ready to run some parallel scripts. In order to run a Matlab function in parallel you'll need to call the function PAsolve() as You're now ready to run some parallel scripts. In order to run a Matlab function in parallel you'll need to call the function PAsolve() as
follows: follows:
</para> </para>
<screen>&gt;&gt; resl = PAsolve( @factorial, {1, 2, 3, 4, 5} );</screen> <screen>&gt;&gt; resl = PAsolve( @factorial, {{1}, {2}, {3}, {4}, {5}} );</screen>
<para> <para>
This for example will execute the factorial function on 5 different machines, the first machine This for example will execute the factorial function on 5 different machines, the first machine
using the parameter 1, the second, the parameter 2, etc... using the parameter 1, the second, the parameter 2, etc...
The function used must take one argument and return one result. It cannot be a Mex function, unless the same mex function is made manually available on the remote engines. The second argument to PAsolve is a cell array of cell arrays. Each internal cell array represents the list of arguments to give to the desired function.
Here factorial takes only one argument, accordingly each internal cell array is of length 1.
The function used cannot be a Mex function, unless the same mex function is made manually available on the remote engines.
</para> </para>
<para> <para>
The file system between your Matlab session and the remote engines needs to be shared (through The file system between your Matlab session and the remote engines needs to be shared (through
......
...@@ -275,7 +275,7 @@ ...@@ -275,7 +275,7 @@
Edit the file <emphasis>SCILAB_DIR/share/scilab/modules/jvm/etc/jvm_options.xml</emphasis>. In this file add the two following lines : Edit the file <emphasis>SCILAB_DIR/share/scilab/modules/jvm/etc/jvm_options.xml</emphasis>. In this file add the two following lines :
</para> </para>
<screen><![CDATA[<option value="-Djava.security.manager"/> <screen><![CDATA[<option value="-Djava.security.manager"/>
<option value="-Djava.security.policy="HOMEDIR/scilab.java.policy""/>]]></screen> <option value="-Djava.security.policy=HOMEDIR/scilab.java.policy"/>]]></screen>
<para> <para>
Where HOMEDIR is the full path to the current user HOME directory as explained above. Where HOMEDIR is the full path to the current user HOME directory as explained above.
</para> </para>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment