Differences between revisions 2 and 19 (spanning 17 versions)
Revision 2 as of 2011-05-02 12:25:48
Size: 839
Comment:
Revision 19 as of 2018-06-05 07:17:27
Size: 744
Editor: NicoleThomas
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: === Intel Compiler 17.0.1 ===
Line 10: Line 13:
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
 The MPICH Library 3.2 is installed in directory ''/usr/nfs/software/icg1/local/mpich-3.2-ifort-17.0.1''.
<<BR>>
 Add the bin subdirectory of the installation directory of MPICH library to your path:
 {{{
PATH=/usr/nfs/software/icg1/local/mpich-3.2-ifort-17.0.1/bin:$PATH
export PATH
Line 18: Line 21:
for 32bit machines:

{{{
. /opt/pgi/linux86/8.0-2/mpi.sh
 Remove serial compiled object files:
 {{{
make distclean
Line 24: Line 26:
Then compile the needed programs by executing:

{{{
make useMPI=true
 Compile with MPI:
{{{
make useMPI=true progname
Line 30: Line 31:
Before running the CLaMS script or a single program you have to execute:

{{{
ssh-add
 Execute on <n> CPUs:
 {{{
mpiexec|mpirun -np <n> <progname>
Line 35: Line 35:

This is necessary, because the processes communicate per ssh.

The programs must be called as following:

{{{
mpirun -np # program

# - number of processors

}}}

ParallelHowTo

It is possible to run CLaMS on multi-processor machines using MPI.

Intel Compiler 17.0.1

  • The MPICH Library 3.2 is installed in directory /usr/nfs/software/icg1/local/mpich-3.2-ifort-17.0.1.


  • Add the bin subdirectory of the installation directory of MPICH library to your path:
    PATH=/usr/nfs/software/icg1/local/mpich-3.2-ifort-17.0.1/bin:$PATH
    export PATH
    Remove serial compiled object files:
    make distclean
    Compile with MPI:
    make useMPI=true progname

    Execute on <n> CPUs:

    mpiexec|mpirun -np <n> <progname>