forked from lijiext/lammps
resolve conflict between src/STUBS/mpi.h and lib/message/cslib/src/STUBS_MPI/mpi.h
This commit is contained in:
parent
7372e8fde1
commit
1696432e82
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue