/usr/include/mumps_seq/mpi.h is in libmumps-seq-dev 5.1.2-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | /*
*
* This file is part of MUMPS 5.1.2, released
* on Mon Oct 2 07:37:01 UTC 2017
*
*
* Copyright 1991-2017 CERFACS, CNRS, ENS Lyon, INP Toulouse, Inria,
* University of Bordeaux.
*
* This version of MUMPS is provided to you free of charge. It is
* released under the CeCILL-C license:
* http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html
*
*/
#ifdef INTSIZE64
#include <inttypes.h>
#define LIBSEQ_INT int64_t
#else
#define LIBSEQ_INT int
#endif
#if ! defined(LIBSEQ_CALL)
#if defined(_WIN32) && ! defined(__MINGW32__)
/* Choose between next lines or modify according
* to your Windows calling conventions:
#define LIBSEQ_CALL
#define LIBSEQ_CALL __declspec(dllexport)
#define LIBSEQ_CALL __declspec(dllexport) */
#define LIBSEQ_CALL
#else
#define LIBSEQ_CALL
#endif
#endif
#ifndef MUMPS_MPI_H
#define MUMPS_MPI_H
/* We define all symbols as extern "C" for users who call MUMPS with its
libseq from a C++ driver. */
#ifdef __cplusplus
extern "C" {
#endif
/* This is the minimum to have the C interface of MUMPS work.
* Most of the time, users who need this file have no call to MPI functions in
* their own code. Hence it is not worth declaring all MPI functions here.
* However if some users come to request some more stub functions of the MPI
* standards, we may add them. But it is not worth doing it until then. */
typedef LIBSEQ_INT MPI_Comm; /* Simple type for MPI communicator */
static MPI_Comm MPI_COMM_WORLD=(MPI_Comm)0;
LIBSEQ_INT LIBSEQ_CALL MPI_Init(LIBSEQ_INT *pargc, char ***pargv);
LIBSEQ_INT LIBSEQ_CALL MPI_Comm_rank(LIBSEQ_INT comm, LIBSEQ_INT *rank);
LIBSEQ_INT LIBSEQ_CALL MPI_Finalize(void);
#ifdef __cplusplus
}
#endif
#endif /* MUMPS_MPI_H */
|