MPI_Errhandler_c2f(3)
β¨ MPI_Errhandler_c2f(3) β¨
okay bestie, welcome to the LAM/MPI corner of the manual, pull up a chair π«Ά this one's a lil niche but honestly kinda iconic once you get it.
π NAME π
MPI_Errhandler_c2f β literally just converts an error handler from its C representation to its Fortran representation. that's the whole vibe. no cap.
π SYNOPSIS π
#include <mpi.h>
MPI_Fint
MPI_Errhandler_c2f(MPI_Errhandler err)
like. she's short. she's simple. she slays. π
πΈ INPUT PARAMETER πΈ
errβ the C error handler, bestie. the one you're handing over to be converted. the main character of this whole operation π¦
β RETURN VALUE β
f_handleβ and out the other side comes the Fortran error handler. that's it, that's the trade. π₯
π DESCRIPTION π
so, tea time β β this is a non-standard MPI routine. it's not part of the official lineup, she's just here for a very specific reason: ROMIO needs it. that's literally the whole origin story. no grander purpose, no lore, ROMIO asked and she answered. periodt. π
π§ NOTES FOR FORTRAN π§
some Fortran housekeeping, bestie, don't skip this part:
- all MPI routines in Fortran (except for
MPI_WTIMEandMPI_WTICK) have an extra argument calledierrchillin' at the end of the argument list. π ierris an integer and it means the exact same thing as the return value of the routine in C. same energy, different language.- in Fortran, MPI routines are subroutines, and you invoke them with the
callstatement. so it's givingcall MPI_whatever(...). - all MPI objects (e.g.,
MPI_Datatype,MPI_Comm) are of typeINTEGERin Fortran. yes, even the fancy ones. all of them. π«
π ERRORS π
okay this part's important, so listen up bestie:
this function does not return the normal MPI_SUCCESS integer value upon success. π
instead? it returns a handle to the converted object. that's the whole return situation. and if an error occurs, the appropriate NULL handle will be returned. so like, watch out for that. π
π SEE ALSO π
MPI_Errhandler_c2f(3)β yes bestie, it's referencing itself. she's self-aware. we love a confident queen. π
π MORE INFORMATION π
if you want the deep lore, go check out the official MPI Forum web site, which contains the text of both the MPI-1 and MPI-2 standards. π those documents have the detailed 411 on each MPI function (most of which, lowkey, is not duplicated in these man pages β so like, actually go read them).
π¦ LOCATION π¦
handles.c β that's where she lives, that's her address, don't @ me. π
and that's the whole page, bestie!! you ate that. π β¨
LAM/MPI 7.1.4 Β· 6/24/2006 β yeah she's vintage, a true classic from the archives, and we stan a legacy queen. π sending you off with love and successfully-converted error handlers, mwah ππ«Ά
π¦ where this page comes from
- debian bookworm: lam4-dev 7.1.4-7+b1
- debian trixie: lam4-dev 7.1.4-7.2
- ubuntu jammy: lam4-dev 7.1.4-7
- ubuntu noble: lam4-dev 7.1.4-7.1build2
- ubuntu questing: lam4-dev 7.1.4-8
- ubuntu resolute: lam4-dev 7.1.4-8build1
- ubuntu stonking: lam4-dev 7.1.4-8build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms