From 4e97b575087377e8b74e4b0ac8f3a36fc9477d95 Mon Sep 17 00:00:00 2001
From: Axel Kohlmeyer <akohlmey@gmail.com>
Date: Thu, 10 Aug 2017 05:46:42 -0400
Subject: [PATCH] remove -DLAMMPS_MEMALIGN from "make mpi" and "make serial"
 for increased portability

---
 src/MAKE/Makefile.mpi    | 2 +-
 src/MAKE/Makefile.serial | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/MAKE/Makefile.mpi b/src/MAKE/Makefile.mpi
index aebb465454..0155e8b3cb 100644
--- a/src/MAKE/Makefile.mpi
+++ b/src/MAKE/Makefile.mpi
@@ -28,7 +28,7 @@ SHLIBFLAGS =	-shared
 # LAMMPS ifdef settings
 # see possible settings in Section 2.2 (step 4) of manual
 
-LMP_INC =	-DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64
+LMP_INC =	-DLAMMPS_GZIP
 
 # MPI library
 # see discussion in Section 2.2 (step 5) of manual
diff --git a/src/MAKE/Makefile.serial b/src/MAKE/Makefile.serial
index 5954d97761..957bff85ff 100644
--- a/src/MAKE/Makefile.serial
+++ b/src/MAKE/Makefile.serial
@@ -28,7 +28,7 @@ SHLIBFLAGS =	-shared
 # LAMMPS ifdef settings
 # see possible settings in Section 2.2 (step 4) of manual
 
-LMP_INC =	-DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64
+LMP_INC =	-DLAMMPS_GZIP
 
 # MPI library
 # see discussion in Section 2.2 (step 5) of manual
-- 
GitLab