resolve conflict between src/STUBS/mpi.h and lib/message/cslib/src/STUBS_MPI/mpi.h

This commit is contained in:
Axel Kohlmeyer 2019-04-03 01:00:53 -04:00
parent 7372e8fde1
commit 1696432e82
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
9 changed files with 33 additions and 1 deletions

View File

@ -12,7 +12,11 @@
See the README file in the top-level CSlib directory.
------------------------------------------------------------------------- */
#ifdef MPI_YES
#include <mpi.h>
#else
#include <mpi_dummy.h>
#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

View File

@ -14,7 +14,11 @@
// C style library interface to CSlib class
#ifdef MPI_YES
#include <mpi.h>
#else
#include <mpi_dummy.h>
#endif
#include <string.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -12,7 +12,11 @@
See the README file in the top-level CSlib directory.
------------------------------------------------------------------------- */
#ifdef MPI_YES
#include <mpi.h>
#else
#include <mpi_dummy.h>
#endif
#include <cstdio>
#include <cstring>
#include <cstdlib>

View File

@ -15,7 +15,11 @@
#ifndef MSG_H
#define MSG_H
#ifdef MPI_YES
#include <mpi.h>
#else
#include <mpi_dummy.h>
#endif
namespace CSLIB_NS {
@ -37,7 +41,7 @@ class Msg {
int nfield;
int *fieldID,*fieldtype,*fieldlen;
int lengths[2];
void init(int);
void allocate(int, int &, int *&, int, int &, char *&);
void *smalloc(int);

View File

@ -12,7 +12,11 @@
See the README file in the top-level CSlib directory.
------------------------------------------------------------------------- */
#ifdef MPI_YES
#include <mpi.h>
#else
#include <mpi_dummy.h>
#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

View File

@ -12,7 +12,11 @@
See the README file in the top-level CSlib directory.
------------------------------------------------------------------------- */
#ifdef MPI_YES
#include <mpi.h>
#else
#include <mpi_dummy.h>
#endif
#include <string.h>
#include <stdlib.h>
#include <stdint.h>

View File

@ -12,7 +12,11 @@
See the README file in the top-level CSlib directory.
------------------------------------------------------------------------- */
#ifdef MPI_YES
#include <mpi.h>
#else
#include <mpi_dummy.h>
#endif
#include <string.h>
#include <stdlib.h>
#include <stdint.h>

View File

@ -12,7 +12,11 @@
See the README file in the top-level CSlib directory.
------------------------------------------------------------------------- */
#ifdef MPI_YES
#include <mpi.h>
#else
#include <mpi_dummy.h>
#endif
#include <zmq.h>
#include <string.h>
#include <stdlib.h>