Size: 799
Comment:
|
← Revision 21 as of 2024-08-12 08:52:11 ⇥
Size: 0
Comment: outdated
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= HowToParallel = It is possible to run CLaMS on multi-processor machines using MPI or OpenMP. On the Ubuntu machines is the PGF compiler suite installed that has MPICH implemented. In the following a short How to: First it is necessary to make the path of the MPI libraries public by executing: for 64bit machines: {{{ . /opt/pgi/linux86-64/8.0-2/mpi.sh }}} for 32bit machines: {{{ . /opt/pgi/linux86/8.0-2/mpi.sh }}} Then compile the needed programs by executing: {{{ make useMPI=true }}} Before running the CLaMS script or a single program you have to execute: {{{ ssh-add }}} This is necessary, because the processes communicate per ssh. The programs must be called as following: {{{ mpirun -np # program # - number of processors }}} |