NewMadeleine

Documentation

« back to PM2 home.
nm_mpi_session.h
Go to the documentation of this file.
1/*
2 * NewMadeleine
3 * Copyright (C) 2006-2024 (see AUTHORS file)
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 */
15
16#ifndef NM_MPI_SESSION_H
17#define NM_MPI_SESSION_H
18
33 MPI_Errhandler*errhandler);
34
37int MPI_Session_call_errhandler(MPI_Session session, int errorcode);
38
39
40int MPI_Session_init(MPI_Info info, MPI_Errhandler errhandler, MPI_Session*session);
42
43int MPI_Session_get_num_psets(MPI_Session session, MPI_Info info, int*npset_names);
45 int*pset_len, char*pset_name);
47int MPI_Session_get_pset_info(MPI_Session session, const char*pset_name, MPI_Info*info);
48
49int MPI_Group_from_session_pset(MPI_Session session, const char*pset_name, MPI_Group*newgroup);
50
54#endif /* NM_MPI_SESSION_H */
int MPI_Session_set_errhandler(MPI_Session session, MPI_Errhandler errhandler)
int MPI_Session_get_num_psets(MPI_Session session, MPI_Info info, int *npset_names)
int MPI_Session_get_pset_info(MPI_Session session, const char *pset_name, MPI_Info *info)
int MPI_Session_call_errhandler(MPI_Session session, int errorcode)
int MPI_Session_get_errhandler(MPI_Session session, MPI_Errhandler *errhandler)
int MPI_Session_get_info(MPI_Session session, MPI_Info *info_used)
int MPI_Group_from_session_pset(MPI_Session session, const char *pset_name, MPI_Group *newgroup)
int MPI_Session_get_nth_pset(MPI_Session session, MPI_Info info, int n, int *pset_len, char *pset_name)
int MPI_Session_create_errhandler(MPI_Session_errhandler_function *session_errhandler_fn, MPI_Errhandler *errhandler)
int MPI_Session_init(MPI_Info info, MPI_Errhandler errhandler, MPI_Session *session)
int MPI_Session_finalize(MPI_Session *session)
int MPI_Errhandler
int MPI_Group
Group handle.
int MPI_Session
Session handle.
void MPI_Session_errhandler_function(MPI_Session *, int *error_code,...)
int MPI_Info
An info opaque object.