NewMadeleine

Documentation

« back to PM2 home.
nm_mpi_info.h
Go to the documentation of this file.
1/*
2 * NewMadeleine
3 * Copyright (C) 2006-2026 (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_INFO_H
17#define NM_MPI_INFO_H
18
32
36
39int MPI_Info_dup(MPI_Info info, MPI_Info*newinfo);
40
44 const char*key,
45 const char*value);
46
49int MPI_Info_get(MPI_Info info, const char*key, int valuelen, char*value, int*flag);
50
51int MPI_Info_get_string(MPI_Info info, const char*key, int*buflen, char*value, int*flag);
52
55int MPI_Info_delete(MPI_Info info, const char*key);
56
60 int*nkeys);
61
64int MPI_Info_get_nthkey(MPI_Info info, int n, char*key);
65
68int MPI_Info_get_valuelen(MPI_Info info, const char*key, int*valuelen, int*flag);
69
70int MPI_Info_create_env(int argc, char*argv[], MPI_Info*info);
71
76#endif /* NM_MPI_INFO_H */
int MPI_Info_create_env(int argc, char *argv[], MPI_Info *info)
int MPI_Info_create(MPI_Info *info)
Creates a new info object.
int MPI_Info_get(MPI_Info info, const char *key, int valuelen, char *value, int *flag)
Retrieves the value associated with a key.
int MPI_Info_get_valuelen(MPI_Info info, const char *key, int *valuelen, int *flag)
Retrieves the length of the value associated with a key.
int MPI_Info_delete(MPI_Info info, const char *key)
Deletes a <key, value> pair from info object.
int MPI_Info_free(MPI_Info *info)
Frees an info object.
int MPI_Info_dup(MPI_Info info, MPI_Info *newinfo)
Return a duplicate of an info object.
int MPI_Info_get_nthkey(MPI_Info info, int n, char *key)
Returns the nth key in info.
int MPI_Info_get_string(MPI_Info info, const char *key, int *buflen, char *value, int *flag)
int MPI_Info_set(MPI_Info info, const char *key, const char *value)
Adds a <key, value> pair to info object.
int MPI_Info_get_nkeys(MPI_Info info, int *nkeys)
Returns the number of currently defined keys in info.
int MPI_Info
An info opaque object.