/[escript]/trunk/doc/install/srcommon.tex
ViewVC logotype

Diff of /trunk/doc/install/srcommon.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2356 by gross, Wed Apr 1 04:46:22 2009 UTC revision 2363 by gross, Fri Apr 3 03:56:19 2009 UTC
# Line 150  Then recompile. Line 150  Then recompile.
150   scons useopenmp=yes   scons useopenmp=yes
151  \end{shellCode}  \end{shellCode}
152    
153    You can test your build on for instance 4 threads using
154    \begin{shellCode}
155    export ESCRIPT_NUM_THREADS=4
156    scons all_tests
157    \end{shellCode}
158    
159  \subsection{Compilation with MPI}  \subsection{Compilation with MPI}
160  You will need to have MPI installed on your system.  You will need to have MPI installed on your system.
161  There are a number of implementations so we do not provide any specific advice here.  There are a number of implementations so we do not provide any specific advice here.
# Line 177  Then compile with: Line 183  Then compile with:
183    
184  As with debug and openmp, you can make this a more permanent setting by modifying your options file.  As with debug and openmp, you can make this a more permanent setting by modifying your options file.
185    
186    You can test your build on for instance 6 processors using
187    \begin{shellCode}
188    export ESCRIPT_NUM_NODES=6
189    scons all_tests
190    \end{shellCode}
191    and on  6 processors with 4 threads each using
192    \begin{shellCode}
193    export ESCRIPT_NUM_THREADS=4
194    export ESCRIPT_NUM_NODES=6
195    scons all_tests
196    \end{shellCode}
197    Alternatively, you can give a hostfile
198    \begin{shellCode}
199    export ESCRIPT_NUM_THREADS=4
200    export ESCRIPT_HOSTFILE=myhostfile
201    scons all_tests
202    \end{shellCode}
203    
204    
205  \subsection{Difficulties}  \subsection{Difficulties}
206    
207  %This is copied from Ken's notes on teh old Twiki page  %This is copied from Ken's notes on teh old Twiki page

Legend:
Removed from v.2356  
changed lines
  Added in v.2363

  ViewVC Help
Powered by ViewVC 1.1.26