From 5fb90694ebe28af94a6e78f4d3760e53fcad5c05 Mon Sep 17 00:00:00 2001 From: auroraustc Date: Sat, 28 Nov 2020 17:38:29 +0800 Subject: [PATCH] add LAMMPS_LIB_MPI flag to COUPLE-fortran2 --- examples/COUPLE/fortran2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/COUPLE/fortran2/Makefile b/examples/COUPLE/fortran2/Makefile index f8a2126233..fe66914892 100644 --- a/examples/COUPLE/fortran2/Makefile +++ b/examples/COUPLE/fortran2/Makefile @@ -14,7 +14,7 @@ CXXLIB = -lstdc++ # replace with your C++ runtime libs # Flags for Fortran compiler, C++ compiler, and C preprocessor, respectively FFLAGS = -O2 -fPIC CXXFLAGS = -O2 -fPIC -CPPFLAGS = -DOMPI_SKIP_MPICXX=1 -DMPICH_SKIP_MPICXX +CPPFLAGS = -DOMPI_SKIP_MPICXX=1 -DMPICH_SKIP_MPICXX -DLAMMPS_LIB_MPI all : liblammps_fortran.a liblammps_fortran.so