Message Passing Interface MPI_Allreduce >>

mpiexec


Run an MPI script.


Syntax


mpiexec(script)
mpiexec(script, nb_process)
r = mpiexec(script, nb_process)
[r, msg] = mpiexec(script, nb_process)

Input argument


script

an filename with .m extension.

nb_process

an integer value: number of process.

Output argument


r

an integer value: maximum of the exit status values of all of the processes created by mpiexec.

Description


Run an MPI script in nelson.

MPI process are launched in CLI mode (no gui, no plot).

See also


MPI_Init.

Example


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

History


Version Description
1.0.0 initial version

Author


Allan CORNET

Message Passing Interface MPI_Allreduce >>