Updated to MacPorts Open MPI 1.4.3
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12566 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
# mac_mpi = Apple laptop, gcc 4.6, gfortran, Open MPI 1.4.3, FFTW 2.1.5, QUIP
|
||||
# mac_mpi = Apple laptop, MacPorts Open MPI 1.4.3, gcc 4.8, fftw, jpeg
|
||||
|
||||
SHELL = /bin/sh
|
||||
|
||||
@ -7,12 +7,12 @@ SHELL = /bin/sh
|
||||
# generally no need to edit this section
|
||||
# unless additional compiler/linker flags or libraries needed for your machine
|
||||
|
||||
CC = ${MPI_GCC46_PATH}/mpic++
|
||||
CC = /opt/local/bin/mpicxx-openmpi-mp
|
||||
CCFLAGS = -O3
|
||||
SHFLAGS = -fPIC
|
||||
DEPFLAGS = -M
|
||||
|
||||
LINK = ${MPI_GCC46_PATH}/mpic++
|
||||
LINK = /opt/local/bin/mpicxx-openmpi-mp
|
||||
LINKFLAGS = -O3
|
||||
LIB =
|
||||
SIZE = size
|
||||
@ -22,18 +22,20 @@ ARFLAGS = -rc
|
||||
SHLIBFLAGS = -shared
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# LAMMPS-specific settings
|
||||
# LAMMPS-specific settings, all OPTIONAL
|
||||
# specify settings for LAMMPS features you will use
|
||||
# if you change any -D setting, do full re-compile after "make clean"
|
||||
|
||||
# LAMMPS ifdef settings, OPTIONAL
|
||||
# see possible settings in doc/Section_start.html#2_2 (step 4)
|
||||
# LAMMPS ifdef settings
|
||||
# see possible settings in Section 2.2 (step 4) of manual
|
||||
|
||||
LMP_INC = -DLAMMPS_GZIP -DQUIP_GFORTRAN -DLAMMPS_JPEG
|
||||
LMP_INC = -DLAMMPS_GZIP -DLAMMPS_JPEG
|
||||
|
||||
# MPI library, REQUIRED
|
||||
# see discussion in doc/Section_start.html#2_2 (step 5)
|
||||
# MPI library
|
||||
# see discussion in Section 2.2 (step 5) of manual
|
||||
# MPI wrapper compiler/linker can provide this info
|
||||
# can point to dummy MPI library in src/STUBS as in Makefile.serial
|
||||
# use -D MPICH and OMPI settings in INC to avoid C++ lib conflicts
|
||||
# INC = path for mpi.h, MPI compiler settings
|
||||
# PATH = path for MPI library
|
||||
# LIB = name of MPI library
|
||||
@ -42,8 +44,8 @@ MPI_INC = -DOMPI_SKIP_MPICXX
|
||||
MPI_PATH =
|
||||
MPI_LIB =
|
||||
|
||||
# FFT library, OPTIONAL
|
||||
# see discussion in doc/Section_start.html#2_2 (step 6)
|
||||
# FFT library
|
||||
# see discussion in Section 2.2 (step 6) of manaul
|
||||
# can be left blank to use provided KISS FFT library
|
||||
# INC = -DFFT setting, e.g. -DFFT_FFTW, FFT compiler settings
|
||||
# PATH = path for FFT library
|
||||
@ -55,8 +57,8 @@ FFT_INC = -DFFT_FFTW -I${FFTW}/include
|
||||
FFT_PATH = -L${FFTW}/lib
|
||||
FFT_LIB = -lfftw
|
||||
|
||||
# JPEG and/or PNG library, OPTIONAL
|
||||
# see discussion in doc/Section_start.html#2_2 (step 7)
|
||||
# JPEG and/or PNG library
|
||||
# see discussion in Section 2.2 (step 7) of manual
|
||||
# only needed if -DLAMMPS_JPEG or -DLAMMPS_PNG listed with LMP_INC
|
||||
# INC = path(s) for jpeglib.h and/or png.h
|
||||
# PATH = path(s) for JPEG library and/or PNG library
|
||||
@ -68,7 +70,7 @@ JPG_LIB = -ljpeg
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# build rules and dependencies
|
||||
# no need to edit this section
|
||||
# do not edit this section
|
||||
|
||||
include Makefile.package.settings
|
||||
include Makefile.package
|
||||
|
||||
Reference in New Issue
Block a user