From 9ea025295dd02683a7d3419c9b3db0172cc856a8 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 19 Nov 2020 11:33:15 -0500 Subject: [PATCH] need to define LAMMPS_LIB_MPI to make `lammps_open()` visible --- unittest/c-library/test_library_mpi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/unittest/c-library/test_library_mpi.cpp b/unittest/c-library/test_library_mpi.cpp index 36c386144c..a1780f4043 100644 --- a/unittest/c-library/test_library_mpi.cpp +++ b/unittest/c-library/test_library_mpi.cpp @@ -1,5 +1,6 @@ // unit tests for checking LAMMPS configuration settings through the library interface +#define LAMMPS_LIB_MPI 1 #include "lammps.h" #include "library.h" #include "timer.h"