Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MPI examples

MPI examples

Some Nelson MPI examples.

Description

See below for some basic examples about MPI interfaces available in Nelson.

Examples

mpiexec([modulepath('mpi'), '/examples/MPI_helloworld.m'], 4)

edit([modulepath('mpi'), '/examples/MPI_helloworld.m'])

mpiexec([modulepath('mpi'), '/examples/MPI_simpledemo.m'], 4)

edit([modulepath('mpi'), '/examples/MPI_simpledemo.m'])

mpiexec([modulepath('mpi'), '/examples/MPI_parallel_sum.m'], 40)

edit([modulepath('mpi'), '/examples/MPI_parallel_sum.m'])

History

VersionDescription
1.0.0initial version

Author

Allan CORNET