From 0dc3cbaa8accbb64c0a8ca74a9b34048f0dd8f82 Mon Sep 17 00:00:00 2001
From: Axel Kohlmeyer <akohlmey@gmail.com>
Date: Thu, 10 Aug 2017 06:51:57 -0400
Subject: [PATCH] Revert "remove -DLAMMPS_MEMALIGN from "make mpi" and "make
 serial" for increased portability"

This reverts commit 4e97b575087377e8b74e4b0ac8f3a36fc9477d95.
---
 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 0155e8b3cb..aebb465454 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
+LMP_INC =	-DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64
 
 # 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 957bff85ff..5954d97761 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
+LMP_INC =	-DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64
 
 # MPI library
 # see discussion in Section 2.2 (step 5) of manual
-- 
GitLab