MPI(3)

πŸ“¦
version 26.9 Β· 3 versions
, in arch rolling

MPI(3) β€” Open MPI general-information page, but make it cute πŸ’–

πŸŽ€ NAME πŸŽ€

  • MPI β€” General information Open MPI gitclone. β€” yes, that’s the name line, bestie, and we’re keeping it exactly. πŸŽ€

🌈 MPI 🌈

Okay so Open MPI is an open source implementation of MPI (message-passing interface) β€” the industry-standard specification for writing message-passing programs. Message passing is a programming model that gives the programmer explicit control over interprocess communication. You get the controls, bestie. πŸŽ›οΈβœ¨

The MPI specification was developed by the MPI Forum: a group of software developers, computer vendors, academics, and computer-science researchers. Their goal was to develop a standard for writing message-passing programs that would be efficient, flexible, and portable. Iconic committee behavior, honestly. πŸ‘‘

The outcome, known as the MPI Standard, was first published in 1993; its most recent version (MPI-2) was published in July 1997. And Open MPI 1.2 includes all MPI 1.2-compliant and MPI 2-compliant routines. Periodt. πŸ’…

For more information about Open MPI, see the following URL:

http://www.open-mpi.org

The MPI standards are available at the following URL:

http://www.mpi-forum.org

✨ MAN PAGE SYNTAX ✨

Man pages for Open MPI and Open MPI I/O routines are named according to C syntax. That means they begin with the prefix MPI_, all in uppercase, and the first letter following the MPI_ prefix is also uppercase. The rest of the letters in the routine are all lowercase. Example: MPI_Comm_get_attr. The way that naming scheme is so consistent β€” obsessed. πŸ¦‹

🌸 ENVIRONMENT 🌸

To fine-tune your Open MPI environment, you have two routes, bestie: use arguments to the mpirun, orterun, or mpiexec commands, or use MCA parameters. Choose your fighter. 🌸

For more information on arguments, see the orterun.1 man page.

For a complete listing of MCA parameters and their descriptions, issue the command ompi_info -h or ompi_info -param all all. This information also appears in the FAQ on the Open MPI web site at:

http://www.open-mpi.org/faq/?category=tuning#mca-params

πŸ”₯ ERRORS πŸ”₯

All MPI routines (except MPI_Wtime and MPI_Wtick) return an error value. C routines return it as the value of the function; Fortran routines return it in the last argument. Before the value is returned, the current MPI error handler is called. By default, this error handler aborts the MPI job. The error handler may be changed with MPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURN may be used to cause error values to be returned. Note that MPI does not guarantee that an MPI program can continue past an error. 😭

🚨 Read that again, bestie: by default, errors abort the job, and MPI does not guarantee that an MPI program can continue past an error. That’s not a vibe, that’s a caveat. πŸ’€

For more information on Open MPI error codes, see mpi.h in the include directory.

Standard error return classes for Open MPI:

  • MPI_SUCCESS β€” 0 β€” Successful return code. Slay. ✨
  • MPI_ERR_BUFFER β€” 1 β€” Invalid buffer pointer.
  • MPI_ERR_COUNT β€” 2 β€” Invalid count argument.
  • MPI_ERR_TYPE β€” 3 β€” Invalid datatype argument.
  • MPI_ERR_TAG β€” 4 β€” Invalid tag argument.
  • MPI_ERR_COMM β€” 5 β€” Invalid communicator.
  • MPI_ERR_RANK β€” 6 β€” Invalid rank.
  • MPI_ERR_REQUEST β€” 7 β€” Invalid MPI_Request handle.
  • MPI_ERR_ROOT β€” 8 β€” Invalid root.
  • MPI_ERR_GROUP β€” 9 β€” Null group passed to function.
  • MPI_ERR_OP β€” 10 β€” Invalid operation.
  • MPI_ERR_TOPOLOGY β€” 11 β€” Invalid topology.
  • MPI_ERR_DIMS β€” 12 β€” Illegal dimension argument.
  • MPI_ERR_ARG β€” 13 β€” Invalid argument.
  • MPI_ERR_UNKNOWN β€” 14 β€” Unknown error.
  • MPI_ERR_TRUNCATE β€” 15 β€” Message truncated on receive.
  • MPI_ERR_OTHER β€” 16 β€” Other error; use Error_string.
  • MPI_ERR_INTERN β€” 17 β€” Internal error code.
  • MPI_ERR_IN_STATUS β€” 18 β€” Look in status for error value.
  • MPI_ERR_PENDING β€” 19 β€” Pending request.
  • MPI_ERR_ACCESS β€” 20 β€” Permission denied.
  • MPI_ERR_AMODE β€” 21 β€” Unsupported amode passed to open.
  • MPI_ERR_ASSERT β€” 22 β€” Invalid assert.
  • MPI_ERR_BAD_FILE β€” 23 β€” Invalid file name (for example, path name too long).
  • MPI_ERR_BASE β€” 24 β€” Invalid base.
  • MPI_ERR_CONVERSION β€” 25 β€” An error occurred in a user-supplied data-conversion function.
  • MPI_ERR_DISP β€” 26 β€” Invalid displacement.
  • MPI_ERR_DUP_DATAREP β€” 27 β€” Conversion functions could not be registered because a data representation identifier that was already defined was passed to MPI_REGISTER_DATAREP.
  • MPI_ERR_FILE_EXISTS β€” 28 β€” File exists.
  • MPI_ERR_FILE_IN_USE β€” 29 β€” File operation could not be completed, as the file is currently open by some process.
  • MPI_ERR_FILE β€” 30 β€” Invalid file handle.
  • MPI_ERR_INFO_KEY β€” 31 β€” Illegal info key.
  • MPI_ERR_INFO_NOKEY β€” 32 β€” No such key.
  • MPI_ERR_INFO_VALUE β€” 33 β€” Illegal info value.
  • MPI_ERR_INFO β€” 34 β€” Invalid info object.
  • MPI_ERR_IO β€” 35 β€” I/O error.
  • MPI_ERR_KEYVAL β€” 36 β€” Illegal key value.
  • MPI_ERR_LOCKTYPE β€” 37 β€” Invalid locktype.
  • MPI_ERR_NAME β€” 38 β€” Name not found.
  • MPI_ERR_NO_MEM β€” 39 β€” Memory exhausted.
  • MPI_ERR_NOT_SAME β€” 40 β€” Collective argument not identical on all processes, or collective routines called in a different order by different processes.
  • MPI_ERR_NO_SPACE β€” 41 β€” Not enough space.
  • MPI_ERR_NO_SUCH_FILE β€” 42 β€” File (or directory) does not exist.
  • MPI_ERR_PORT β€” 43 β€” Invalid port.
  • MPI_ERR_QUOTA β€” 44 β€” Quota exceeded.
  • MPI_ERR_READ_ONLY β€” 45 β€” Read-only file system.
  • MPI_ERR_RMA_CONFLICT β€” 46 β€” Conflicting accesses to window.
  • MPI_ERR_RMA_SYNC β€” 47 β€” Erroneous RMA synchronization.
  • MPI_ERR_SERVICE β€” 48 β€” Invalid publish/unpublish.
  • MPI_ERR_SIZE β€” 49 β€” Invalid size.
  • MPI_ERR_SPAWN β€” 50 β€” Error spawning.
  • MPI_ERR_UNSUPPORTED_DATAREP β€” 51 β€” Unsupported datarep passed to MPI_File_set_view.
  • MPI_ERR_UNSUPPORTED_OPERATION β€” 52 β€” Unsupported operation, such as seeking on a file that supports only sequential access.
  • MPI_ERR_WIN β€” 53 β€” Invalid window.
  • MPI_T_ERR_MEMORY β€” 54 β€” Out of memory.
  • MPI_T_ERR_NOT_INITIALIZED β€” 55 β€” Interface not initialized.
  • MPI_T_ERR_CANNOT_INIT β€” 56 β€” Interface not in the state to be initialized.
  • MPI_T_ERR_INVALID_INDEX β€” 57 β€” The enumeration index is invalid.
  • MPI_T_ERR_INVALID_ITEM β€” 58 β€” The item index queried is out of range.
  • MPI_T_ERR_INVALID_HANDLE β€” 59 β€” The handle is invalid.
  • MPI_T_ERR_OUT_OF_HANDLES β€” 60 β€” No more handles available.
  • MPI_T_ERR_OUT_OF_SESSIONS β€” 61 β€” No more sessions available.
  • MPI_T_ERR_INVALID_SESSION β€” 62 β€” Session argument is not a valid session.
  • MPI_T_ERR_CVAR_SET_NOT_NOW β€” 63 β€” Variable cannot be set at this moment.
  • MPI_T_ERR_CVAR_SET_NEVER β€” 64 β€” Variable cannot be set until end of execution.
  • MPI_T_ERR_PVAR_NO_STARTSTOP β€” 65 β€” Variable cannot be started or stopped.
  • MPI_T_ERR_PVAR_NO_WRITE β€” 66 β€” Variable cannot be written or reset.
  • MPI_T_ERR_PVAR_NO_ATOMIC β€” 67 β€” Variable cannot be read and written atomically.
  • MPI_ERR_RMA_RANGE β€” 68 β€” Target memory is not part of the window (in the case of a window created with MPI_WIN_CREATE_DYNAMIC, target memory is not attached).
  • MPI_ERR_RMA_ATTACH β€” 69 β€” Memory cannot be attached (e.g., because of resource exhaustion).
  • MPI_ERR_RMA_FLAVOR β€” 70 β€” Passed window has the wrong flavor for the called function.
  • MPI_ERR_RMA_SHARED β€” 71 β€” Memory cannot be shared (e.g., some process in the group of the specified communicator cannot expose shared memory).
  • MPI_T_ERR_INVALID β€” 72 β€” Invalid use of the interface or bad parameter values(s).
  • MPI_T_ERR_INVALID_NAME β€” 73 β€” The variable or category name is invalid.
  • MPI_ERR_LASTCODE β€” 93 β€” Last error code.

Footer sign-off, bestie: source/version is gitclone, the build label is Unreleased developer copy, and it points at MPI(3) β€” no date is listed in the footer, so don’t @ me for a timestamp. πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from
  • arch rolling: nvhpc-comm-libs 26.9-1 Β· LicenseRef-NVIDIA-HPC-SDK
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms