Differences between revisions 15 and 18 (spanning 3 versions)
Revision 15 as of 2015-11-18 08:09:34
Size: 1028
Editor: NicoleThomas
Comment:
Revision 18 as of 2018-05-15 07:52:10
Size: 728
Editor: NicoleThomas
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
=== Intel Compiler 17.0.1 ===
Line 12: Line 13:
=== Intel Compiler 14.0.3 ===

The MPICH Library is installed in directory ''/usr/nfs/local/local/mpich-intel''.
 The MPICH Library 3.2 is installed in directory ''/usr/nfs/local/local/mpich-3.2-ifort-17.0.1''.
<<BR>>
Line 17: Line 17:
PATH=/usr/nfs/local/local/mpich-intel/bin:$PATH PATH=/usr/nfs/local/local/mpich-3.2-ifort-17.0.1/bin:$PATH
Line 21: Line 21:
 Clams programs can be compiled with:  Remove serial compiled object files:
Line 23: Line 23:
make useMPI=true [useComp=ifc] progname make distclean
}}}

 Compile with MPI:
 {{{
make useMPI=true progname
Line 30: Line 35:

=== 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>
}}}

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/local/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/local/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>