Differences between revisions 16 and 21 (spanning 5 versions)
Revision 16 as of 2016-08-30 08:37:37
Size: 1126
Editor: NicoleThomas
Comment:
Revision 21 as of 2024-08-12 08:52:11
Size: 0
Editor: NicoleThomas
Comment: outdated
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#acl ClamsUserGroup:read,write,delete,revert All:read


## page was renamed from HowToParallel
== ParallelHowTo ==

<<TableOfContents>>

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

 Remove serial compiled object files:
 {{{
make distclean
}}}

 Compile with MPI:
 {{{
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
}}}

 Remove serial compiled object files:
 {{{
make distclean
}}}

 Compile with MPI:
 {{{
make useMPI=true [useComp=pgi] progname
}}}

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