[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.1 Parallel Execution

If Angora is compiled with MPI support, then the standard MPI launcher (mpirun) can be used to execute the Angora binary angora in parallel:

 
johndoe@mysystem:~/angora-package-version$ mpirun -n num-of-processors ./angora path-to-config-file

For example, to run the simulation configured by ‘mysimulation.cfg’ using Angora version 0.9 on 8 processors, one should type

 
johndoe@mysystem:~/angora-package-version$ mpirun -n 8 ./angora mysimulation.cfg

MPI support should be enabled in compile time in order to run simulations in parallel. For details, see section Enabling MPI Support. If you are using the OpenMPI-based precompiled binary version of Angora, then the OpenMPI shared libraries must be in your path before the binary ‘angora’ can be executed. This can either be done by installing OpenMPI globally (using a package manager etc.), or adding the path to the OpenMPI shared libraries to your LD_LIBRARY_PATH environment variable.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated by Ilker Rafet Capoglu on December 12, 2012 using texi2html 1.82.