1641
Comment:
|
728
|
Deletions are marked like this. | Additions are marked like this. |
Line 35: | Line 35: |
=== 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> }}} |
ParallelHowTo
Contents
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>