# Diff of /trunk/doc/user/execute.tex

revision 2344 by jfenwick, Mon Mar 30 01:34:45 2009 UTC revision 2345 by jfenwick, Mon Mar 30 04:44:06 2009 UTC
# Line 44  This runs the script on $8$ nodes, with Line 44  This runs the script on $8$ nodes, with
44  \section{Options}  \section{Options}
45  The general form of the \program{escript} launcher is as follows:  The general form of the \program{escript} launcher is as follows:
46
47    %%%%
48    % If you are thinking about changing this please remember to update the man page as well
49    %%%%
50
51  \program{escript}  \program{escript}
52  \optional{\programopt{-n \var{nn}}}  \optional{\programopt{-n \var{nn}}}
53  \optional{\programopt{-p \var{np}}}  \optional{\programopt{-p \var{np}}}
# Line 70  The options are used as follows: Line 74  The options are used as follows:
74  \begin{itemize}  \begin{itemize}
75
76   \item[\programopt{-n} \var{nn}] the number of compute nodes \var{nn} to be used. The total number of process being used is   \item[\programopt{-n} \var{nn}] the number of compute nodes \var{nn} to be used. The total number of process being used is
77  $\var{nn} \cdot \var{ns}$. This option overwrites the value of the \env{ESCRIPT_NUM_NODES} environment variable. If $\var{nn}>1$ but {\it escript}  is not compiled for \MPI a warning is pronted but execution is continued with $\var{nn}=1$. The default value is 1.  $\var{nn} \cdot \var{ns}$. This option overwrites the value of the \env{ESCRIPT_NUM_NODES} environment variable. If $\var{nn}>1$ but {\it escript}  is not compiled for \MPI a warning is printed but execution is continued with $\var{nn}=1$. The default value is 1.
78
79  \item[\programopt{-p} \var{np}] the number of processor slots per node. This options specifies how many \MPI processes are used on each node. The total number of process being used is  \item[\programopt{-p} \var{np}] the number of MPI processes per node.  The total number of processes to be used is
80  $\var{nn} \cdot \var{np}$. This option overwrites the value of the \env{ESCRIPT_NUM_PROC} environment variable. If $\var{np}>1$ but {\it escript}  is not compiled for \MPI a warning is printed but execution is continued with $\var{np}=1$. The default value is 1.  $\var{nn} \cdot \var{np}$. This option overwrites the value of the \env{ESCRIPT_NUM_PROC} environment variable. If $\var{np}>1$ but {\it escript}  is not compiled for \MPI a warning is printed but execution is continued with $\var{np}=1$. The default value is 1.
81
82   \item[\programopt{-t} \var{nt}] the number of threads used per processes.   \item[\programopt{-t} \var{nt}] the number of threads used per processes.

Legend:
 Removed from v.2344 changed lines Added in v.2345