Size: 839
Comment:
|
Size: 1028
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
#acl ClamsUserGroup:read,write,delete,revert All:read |
|
Line 2: | Line 5: |
= HowToParallel = | == ParallelHowTo == |
Line 4: | Line 7: |
It is possible to run CLaMS on multi-processor machines using MPI or OpenMP. | <<TableOfContents>> |
Line 6: | Line 9: |
On the Ubuntu machines is the PGF compiler suite installed that has MPICH implemented. | It is possible to run CLaMS on multi-processor machines using MPI. |
Line 8: | Line 11: |
In the following a short How to: | |
Line 10: | Line 12: |
First it is necessary to make the path of the MPI libraries public by executing: | === Intel Compiler 14.0.3 === |
Line 12: | Line 14: |
for 64bit machines: {{{ . /opt/pgi/linux86-64/8.0-2/mpi.sh |
The MPICH Library is installed in directory ''/usr/nfs/local/local/mpich-intel''. Add the bin subdirectory of the installation directory of MPICH library to your path: {{{ PATH=/usr/nfs/local/local/mpich-intel/bin:$PATH export PATH |
Line 18: | Line 21: |
for 32bit machines: {{{ . /opt/pgi/linux86/8.0-2/mpi.sh |
Clams programs can be compiled with: {{{ make useMPI=true [useComp=ifc] progname |
Line 24: | Line 26: |
Then compile the needed programs by executing: {{{ make useMPI=true |
Execute on <n> CPUs: {{{ mpiexec|mpirun -np <n> <progname> |
Line 30: | Line 31: |
Before running the CLaMS script or a single program you have to execute: | === Portland Compiler 14.6 === |
Line 32: | Line 33: |
{{{ ssh-add |
It is necessary to make the path of the MPI libraries (included in the portland compiler suite) public by executing: {{{ . /opt/pgi/linux86-64/14.6/mpi.sh |
Line 36: | Line 38: |
This is necessary, because the processes communicate per ssh. | Clams programs can be compiled with: {{{ make useMPI=true [useComp=pgi] progname }}} |
Line 38: | Line 43: |
The programs must be called as following: {{{ mpirun -np # program # - number of processors |
Execute on <n> CPUs: {{{ mpiexec|mpirun -np <n> <progname> |
ParallelHowTo
It is possible to run CLaMS on multi-processor machines using MPI.
Intel Compiler 14.0.3
The MPICH Library is installed in directory /usr/nfs/local/local/mpich-intel. Add the bin subdirectory of the installation directory of MPICH library to your path:
PATH=/usr/nfs/local/local/mpich-intel/bin:$PATH export PATH
Clams programs can be compiled with:make useMPI=true [useComp=ifc] progname
Execute on <n> CPUs:
mpiexec|mpirun -np <n> <progname>
Portland Compiler 14.6
- It is necessary to make the path of the MPI libraries (included in the portland compiler suite) public by executing:
. /opt/pgi/linux86-64/14.6/mpi.sh
Clams programs can be compiled with:make useMPI=true [useComp=pgi] progname
Execute on <n> CPUs:
mpiexec|mpirun -np <n> <progname>