update example

This commit is contained in:
Axel Kohlmeyer
2022-10-28 21:14:01 -04:00
parent 78910eb0e1
commit 82d77e7ae1

View File

@ -19,10 +19,16 @@
in.lammps = LAMMPS input script in.lammps = LAMMPS input script
See README for compilation instructions */ See README for compilation instructions */
#include <mpi.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <mpi.h>
/* define so interface to lammps_open() is available,
since we will run on split communicator */
#define LAMMPS_LIB_MPI 1
#include "liblammpsplugin.h" /* this is the include for the plugin loader */ #include "liblammpsplugin.h" /* this is the include for the plugin loader */
int main(int narg, char **arg) int main(int narg, char **arg)