Differences between revisions 13 and 20 (spanning 7 versions)
Revision 13 as of 2014-08-29 07:18:38
Size: 2668
Editor: NicoleThomas
Comment:
Revision 20 as of 2018-11-05 10:34:58
Size: 1281
Editor: NicoleThomas
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
=== Intel Compiler 11.1 === === Intel Compiler 18.0.3 ===
Line 13: Line 13:
 The MPICH2 Library (1.3.2p1) is installed in directory ''/usr/nfs/local/local/mpich2-intel'' (for Intel C and Fortran compilers).

 Add the bin subdirectory of the installation directory to your path:
 The MPICH Library 3.2.1 is installed in directory ''/usr/nfs/software/icg1/local/mpich-3.2.1-ifort-18.0.3''.
<<BR>>
 Add the bin subdirectory of the installation directory of MPICH library to your path:
Line 17: Line 17:
PATH=/usr/nfs/local/local/mpich2-intel/bin:$PATH PATH=/usr/nfs/software/icg1/local/mpich-3.2.1-ifort-18.0.3/bin:$PATH
Line 21: Line 21:
 To read the man pages set MANPATH to the following:  Remove serial compiled object files:
Line 23: Line 23:
MANPATH=/usr/nfs/local/local/mpich2-intel/share/man:$MANPATH
export MANPATH
make distclean
Line 27: Line 26:
 The programs can be compiled with:  Compile with MPI:
Line 29: Line 28:
make useComp=ifc useMPI=true <progname>
}}}

 Execute on <n> CPUs:
 {{{
mpiexec -np <n> <progname>
}}}

 It may be necessary to unset the memory limit:
 {{{
ulimit -s unlimited
}}}

=== Portland Compiler 10.4 ===

 On the Ubuntu machines the PGF compiler suite is 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:
 {{{
. /opt/pgi/linux86-64/10.4/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-agent
> SSH_AUTH_SOCK=/tmp/ssh-arHtY17224/agent.17224; export SSH_AUTH_SOCK;
> SSH_AGENT_PID=17225; export SSH_AGENT_PID;
> echo Agent pid 17225;
> ssh-add .ssh/id_rsa
}}}

 This is necessary, because the processes communicate per ssh.

 The programs must be called as following:
 {{{
mpirun -np # [ --all-local ] program

# - number of processors
use the option --all-local for running it on the CPUs of the local machine only.
}}}



=== Intel Compiler 14.0.3 ===

 The MPICH Library 3.1.2 is installed in directory ''/usr/nfs/local/local/mpich-3.1.2-ifort-14.0.3''.
 Add the bin subdirectory of the installation directory of MPICH library to your path:
 {{{
PATH=/usr/nfs/local/local/mpich-3.1.2-ifort-14.0.3/bin:$PATH
export PATH
}}}

 Clams programs can be compiled with:
 {{{
make useMPI=true [useComp=ifc] progname
make useMPI=true progname
Line 98: Line 36:
=== Portland Compiler 14.6 === === Intel Compiler 17.0.1 ===
Line 100: Line 38:
 It is necessary to make the path of the MPI libraries (included in the portland compiler suite) public by executing:  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:
Line 102: Line 42:
. /opt/pgi/linux86-64/14.6/mpi.sh PATH=/usr/nfs/software/icg1/local/mpich-3.2-ifort-17.0.1/bin:$PATH
export PATH
Line 105: Line 46:
 Clams programs can be compiled with:  Remove serial compiled object files:
Line 107: Line 48:
make useMPI=true [useComp=pgi] progname make distclean
}}}

 Compile with MPI:
 {{{
make useMPI=true progname

ParallelHowTo

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

Intel Compiler 18.0.3

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


  • Add the bin subdirectory of the installation directory of MPICH library to your path:
    PATH=/usr/nfs/software/icg1/local/mpich-3.2.1-ifort-18.0.3/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>

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>