Skip to content

Commit

Permalink
we should use 64-bit memalign by default to be compatible with USER-I…
Browse files Browse the repository at this point in the history
…NTEL
  • Loading branch information
akohlmey committed Mar 16, 2016
1 parent e9f21ef commit 0152ea9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/MAKE/Makefile.mpi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -110,7 +110,6 @@ shlib: $(OBJ) $(EXTRA_LINK_DEPENDS)
$(CC) $(CCFLAGS) $(SHFLAGS) $(EXTRA_INC) -c $<

# Individual dependencies

depend : fastdep.exe $(SRC)
@./fastdep.exe $(EXTRA_INC) -- $^ > .depend || exit 1

Expand Down
2 changes: 1 addition & 1 deletion src/MAKE/Makefile.serial
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0152ea9

Please sign in to comment.