need to define LAMMPS_LIB_MPI
This commit is contained in:
@ -32,6 +32,7 @@ Below is a short example using some of these functions.
|
|||||||
|
|
||||||
.. code-block:: C
|
.. code-block:: C
|
||||||
|
|
||||||
|
#define LAMMPS_LIB_MPI
|
||||||
#include "library.h"
|
#include "library.h"
|
||||||
#include <mpi.h>
|
#include <mpi.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@ -23,6 +23,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <mpi.h>
|
#include <mpi.h>
|
||||||
|
#define LAMMPS_LIB_MPI
|
||||||
#include "library.h" /* this is a LAMMPS include file */
|
#include "library.h" /* this is a LAMMPS include file */
|
||||||
|
|
||||||
int main(int narg, char **arg)
|
int main(int narg, char **arg)
|
||||||
|
|||||||
Reference in New Issue
Block a user