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

revision 2369 by gross, Fri Apr 3 03:56:19 2009 UTC revision 2370 by gross, Mon Apr 6 06:41:49 2009 UTC
# Line 79  If $\var{nn}>1$ but {\it escript}  is no Line 79  If $\var{nn}>1$ but {\it escript}  is no
79  number of hosts in the host file is used. The default value is 1.  number of hosts in the host file is used. The default value is 1.
80
81  \item[\programopt{-p} \var{np}] the number of MPI processes per node.  The total number of processes to be used is  \item[\programopt{-p} \var{np}] the number of MPI processes per node.  The total number of processes to be used is
82  $\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_PROCS} 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.
83
84   \item[\programopt{-t} \var{nt}] the number of threads used per processes.   \item[\programopt{-t} \var{nt}] the number of threads used per processes.
85  The option overwrites the value of the \env{ESCRIPT_NUM_THREADS} environment variable.  The option overwrites the value of the \env{ESCRIPT_NUM_THREADS} environment variable.
# Line 103  hosts defined in \var{hostfile} must be Line 103  hosts defined in \var{hostfile} must be
103
104   \item[\programopt{-v}] prints some diagonstic information.   \item[\programopt{-v}] prints some diagonstic information.
105  \end{itemize}  \end{itemize}
106    \subsection{Notes}
107    \begin{itemize}
108     \item Make sure that \program{mpiexec} is in your \env{PATH}.
109     \item For MPICH and INTELMPI and for the case a hostfile is present
110    \program{escript} will start the \program{mpd} demon before execution.
111    \end{itemize}
112
113  \section{Input and Output}  \section{Input and Output}
114  When \MPI is used on more than one process ($\var{nn} \cdot \var{np} >1$) no input from the standard input is accepted. Standard output on any process other the the master process (\var{rank}=0) will not be available.  When \MPI is used on more than one process ($\var{nn} \cdot \var{np} >1$) no input from the standard input is accepted. Standard output on any process other the the master process (\var{rank}=0) will not be available.

Legend:
 Removed from v.2369 changed lines Added in v.2370