git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3239 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2009-10-29 20:53:38 +00:00
parent 82338889f0
commit b4d72e83b2
13 changed files with 0 additions and 882 deletions

View File

@ -1,71 +0,0 @@
# cheetah = ORNL IBM machine, mpCC, native MPI, FFTW
SHELL = /bin/sh
.SUFFIXES: .cpp .u
.IGNORE:
# ---------------------------------------------------------------------
# System-specific settings
# edit as needed for your machine
# additional system libs needed by LAMMPS libs
# NOTE: these settings are ignored if the LAMMPS package (e.g. gpu, meam)
# which needs these libs is not included in the LAMMPS build
gpu_SYSLIB = -lcudart
meam_SYSLIB = -lifcore -lsvml -lompstub -limf
reax_SYSLIB = -lifcore -lsvml -lompstub -limf
user-atc_SYSLIB = -lblas -llapack
gpu_SYSLIBPATH = -L/usr/local/cuda/lib64
meam_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
reax_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
user-atc_SYSLIBPATH =
include Makefile.package
# compiler/linker settings
# NOTE: specify how to compile/link with MPI
# either an MPI installed on your machine, or the src/STUBS dummy lib
# NOTE: specify an FFT option, e.g. -DFFT_NONE, -DFFT_FFTW, etc
CC = mpCC_r
CCFLAGS = $(PKGINC) -O4 -qnoipa -I/usr/apps/include -DFFT_FFTW
DEPFLAGS = -M
LINK = mpCC_r
LINKFLAGS = $(PKGPATH) $(PKGPATHSYS)
USRLIB = $(PKGLIB) -lfftw
SYSLIB = $(PKGLIBSYS)
SIZE = size
# Link rule
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# --------- old section -------------
# Compilation rules
#.cpp.o:
# $(CC) $(CCFLAGS) -c $<
# Individual dependencies
#$(OBJ): $(INC)
# --------- new section -------------
# Compilation rules
%.o:%.cpp
$(CC) $(CCFLAGS) -c $<
%.u:%.cpp
$(CC) $(CCFLAGS) $(DEPFLAGS) -c $<
# Individual dependencies
DEPENDS = $(OBJ:.o=.u)
include $(DEPENDS)

View File

@ -1,53 +0,0 @@
# crockett = RedHat Linux box, mpiCC, LAM MPI, no FFTs
SHELL = /bin/sh
#.IGNORE:
# ---------------------------------------------------------------------
# System-specific settings
# edit as needed for your machine
# additional system libs needed by LAMMPS libs
# NOTE: these settings are ignored if the LAMMPS package (e.g. gpu, meam)
# which needs these libs is not included in the LAMMPS build
gpu_SYSLIB = -lcudart
meam_SYSLIB = -lifcore -lsvml -lompstub -limf
reax_SYSLIB = -lifcore -lsvml -lompstub -limf
user-atc_SYSLIB = -lblas -llapack
gpu_SYSLIBPATH = -L/usr/local/cuda/lib64
meam_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
reax_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
user-atc_SYSLIBPATH =
include Makefile.package
# compiler/linker settings
# NOTE: specify how to compile/link with MPI
# either an MPI installed on your machine, or the src/STUBS dummy lib
# NOTE: specify an FFT option, e.g. -DFFT_NONE, -DFFT_FFTW, etc
CC = mpiCC
CCFLAGS = $(PKGINC) -g -O -DFFT_NONE -DLAMMPS_GZIP
DEPFLAGS = -M
LINK = mpiCC
LINKFLAGS = $(PKGPATH) $(PKGPATHSYS)
USRLIB =$(PKGLIB)
SYSLIB = $(PKGLIBSYS)
SIZE = size
# Link rule
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# Compilation rules
.cpp.o:
$(CC) $(CCFLAGS) -c $<
# Individual dependencies
$(OBJ): $(INC)

View File

@ -1,67 +0,0 @@
# debian = Debian, g++, MPICH, FFTW
SHELL = /bin/sh
#.IGNORE:
# ---------------------------------------------------------------------
# System-specific settings
# edit as needed for your machine
# additional system libs needed by LAMMPS libs
# NOTE: these settings are ignored if the LAMMPS package (e.g. gpu, meam)
# which needs these libs is not included in the LAMMPS build
gpu_SYSLIB = -lcudart
meam_SYSLIB = -lifcore -lsvml -lompstub -limf
reax_SYSLIB = -lifcore -lsvml -lompstub -limf
user-atc_SYSLIB = -lblas -llapack
gpu_SYSLIBPATH = -L/usr/local/cuda/lib64
meam_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
reax_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
user-atc_SYSLIBPATH =
include Makefile.package
# compiler/linker settings
# NOTE: specify how to compile/link with MPI
# either an MPI installed on your machine, or the src/STUBS dummy lib
# NOTE: specify an FFT option, e.g. -DFFT_NONE, -DFFT_FFTW, etc
CC = g++
CCFLAGS = $(PKGINC) -g -O -I/usr/lib/mpich/include/ -DFFT_FFTW -DLAMMPS_GZIP
DEPFLAGS = -M
LINK = g++
LINKFLAGS = -g -O -L/usr/lib/mpich/lib $(PKGPATH) $(PKGPATHSYS)
USRLIB = $(PKGLIB) -lfftw -lmpich
SYSLIB = $(PKGLIBSYS)
ARCHIVE = ar
ARFLAGS = -rc
SIZE = size
# ---------------------------------------------------------------------
# no need to edit below here
# Link target
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# Library target
lib: $(OBJ)
$(ARCHIVE) $(ARFLAGS) $(EXE) $(OBJ)
# Compilation rules
%.o:%.cpp
$(CC) $(CCFLAGS) -c $<
%.d:%.cpp
$(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@
# Individual dependencies
DEPENDS = $(OBJ:.o=.d)
include $(DEPENDS)

View File

@ -1,62 +0,0 @@
# diesel = SGI Origin 350, 64-bit, SGI MIPSpro CC, SGI MPT, SGI SCSL MP FFTs
SHELL = /bin/sh
#.IGNORE:
# ---------------------------------------------------------------------
# System-specific settings
# edit as needed for your machine
# additional system libs needed by LAMMPS libs
# NOTE: these settings are ignored if the LAMMPS package (e.g. gpu, meam)
# which needs these libs is not included in the LAMMPS build
gpu_SYSLIB = -lcudart
meam_SYSLIB = -lifcore -lsvml -lompstub -limf
reax_SYSLIB = -lifcore -lsvml -lompstub -limf
user-atc_SYSLIB = -lblas -llapack
gpu_SYSLIBPATH = -L/usr/local/cuda/lib64
meam_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
reax_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
user-atc_SYSLIBPATH =
include Makefile.package
# compiler/linker settings
# NOTE: specify how to compile/link with MPI
# either an MPI installed on your machine, or the src/STUBS dummy lib
# NOTE: specify an FFT option, e.g. -DFFT_NONE, -DFFT_FFTW, etc
CC = CC
CCFLAGS = $(PKGINC) -64 -O -mp -DFFT_SCSL
DEPFLAGS = -M
LINK = CC
LINKFLAGS = $(PKGPATH) $(PKGPATHSYS)
USRLIB = $(PKGLIB)
SYSLIB = $(PKGLIBSYS)
SIZE = size
# Link rule
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# Library target
lib: $(OBJ)
$(ARCHIVE) $(ARFLAGS) $(EXE) $(OBJ)
# Compilation rules
%.o:%.cpp
$(CC) $(CCFLAGS) -c $<
%.d:%.cpp
$(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@
# Individual dependencies
DEPENDS = $(OBJ:.o=.d)
include $(DEPENDS)

View File

@ -1,56 +0,0 @@
# freebsd = FreeBSD box, 7.0-RELEASE, LAM/MPI, FFTW
SHELL = /bin/sh
# ---------------------------------------------------------------------
# System-specific settings
# edit as needed for your machine
# additional system libs needed by LAMMPS libs
# NOTE: these settings are ignored if the LAMMPS package (e.g. gpu, meam)
# which needs these libs is not included in the LAMMPS build
gpu_SYSLIB = -lcudart
meam_SYSLIB = -lifcore -lsvml -lompstub -limf
reax_SYSLIB = -lifcore -lsvml -lompstub -limf
user-atc_SYSLIB = -lblas -llapack
gpu_SYSLIBPATH = -L/usr/local/cuda/lib64
meam_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
reax_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
user-atc_SYSLIBPATH =
include Makefile.package
# compiler/linker settings
# NOTE: specify how to compile/link with MPI
# either an MPI installed on your machine, or the src/STUBS dummy lib
# NOTE: specify an FFT option, e.g. -DFFT_NONE, -DFFT_FFTW, etc
CC = mpic++
CCFLAGS = $(PKGINC) -O3 -DFFT_FFTW
DEPFLAGS = -M
LINK = mpic++
LINKFLAGS = $(PKGPATH) $(PKGPATHSYS)
USRLIB = $(PKGLIB) -lfftw -lmpi
SYSLIB = $(PKGLIBSYS)
SIZE = size
# Link rule
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# Compilation rules
%.o:%.cpp
$(CC) $(CCFLAGS) -c $<
%.d:%.cpp
$(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@
# Individual dependencies
DEPENDS = $(OBJ:.o=.d)
include $(DEPENDS)

View File

@ -1,110 +0,0 @@
# intel = Fedora Core 6, intel icc 9.1, FFTW2, no MPI
SHELL = /bin/sh
#.IGNORE:
# ---------------------------------------------------------------------
# System-specific settings
# edit as needed for your machine
# additional system libs needed by LAMMPS libs
# NOTE: these settings are ignored if the LAMMPS package (e.g. gpu, meam)
# which needs these libs is not included in the LAMMPS build
gpu_SYSLIB = -lcudart
meam_SYSLIB = -lifcore -lsvml -lompstub -limf
reax_SYSLIB = -lifcore -lsvml -lompstub -limf
user-atc_SYSLIB = -lblas -llapack
gpu_SYSLIBPATH = -L/usr/local/cuda/lib64
meam_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
reax_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
user-atc_SYSLIBPATH =
include Makefile.package
# compiler/linker settings
# NOTE: specify how to compile/link with MPI
# either an MPI installed on your machine, or the src/STUBS dummy lib
# NOTE: specify an FFT option, e.g. -DFFT_NONE, -DFFT_FFTW, etc
CC = icpc
CCFLAGS = $(PKGINC) -O2 -unroll -DFFT_FFTW -DLAMMPS_GZIP \
-fstrict-aliasing -I../STUBS
NOALIAS = -fno-strict-aliasing
DEPFLAGS = -M
LINK = icpc
LINKFLAGS = $(PKGPATH) $(PKGPATHSYS)
USRLIB = $(PKGLIB) -L../STUBS -lmpi -lfftw
SYSLIB = $(PKGLIBSYS)
ARCHIVE = ar
ARFLAGS = -rcsv
SIZE = size
# ---------------------------------------------------------------------
# no need to edit below here
# Link target
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# Library target
lib: $(OBJ)
$(ARCHIVE) $(ARFLAGS) $(EXE) $(OBJ)
# Compilation rules
%.o:%.cpp
$(CC) $(CCFLAGS) -c $<
%.d:%.cpp
$(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@
# explicit overrides for files that violate ansi aliasing rules
pair.o : pair.cpp
$(CC) $(CCFLAGS) $(NOALIAS) -c $<
pair_table.o : pair_table.cpp
$(CC) $(CCFLAGS) $(NOALIAS) -c $<
pair_eam_alloy_opt.o : pair_eam_alloy_opt.cpp
$(CC) $(CCFLAGS) $(NOALIAS) -c $<
pair_eam_fs_opt.o : pair_eam_fs_opt.cpp
$(CC) $(CCFLAGS) $(NOALIAS) -c $<
pair_eam_opt.o : pair_eam_opt.cpp
$(CC) $(CCFLAGS) $(NOALIAS) -c $<
pair_lj_charmm_coul_long_opt.o : pair_lj_charmm_coul_long_opt.cpp
$(CC) $(CCFLAGS) $(NOALIAS) -c $<
pair_lj_cut_opt.o : pair_lj_cut_opt.cpp
$(CC) $(CCFLAGS) $(NOALIAS) -c $<
pair_morse_opt.o : pair_morse_opt.cpp
$(CC) $(CCFLAGS) $(NOALIAS) -c $<
pair_lj_cut_coul_long.o : pair_lj_cut_coul_long.cpp
$(CC) $(CCFLAGS) $(NOALIAS) -c $<
pair_cg_cut_coul_cut.o : pair_cg_cut_coul_cut.cpp
$(CC) $(CCFLAGS) $(NOALIAS) -c $<
pair_cg_cut_coul_long.o : pair_cg_cut_coul_long.cpp
$(CC) $(CCFLAGS) $(NOALIAS) -c $<
pair_lj_charmm_coul_long.o : pair_lj_charmm_coul_long.cpp
$(CC) $(CCFLAGS) $(NOALIAS) -c $<
pair_lj_cut_coul_long_tip4p.o : pair_lj_cut_coul_long_tip4p.cpp
$(CC) $(CCFLAGS) $(NOALIAS) -c $<
# Individual dependencies
DEPENDS = $(OBJ:.o=.d)
include $(DEPENDS)

View File

@ -1,73 +0,0 @@
# intel_mkl = Intel Cluster Tools with MKL library for FFTs and MPI
# Intel C++, Intel MPI, Intel MKL FFTs
# Intel recommends Intel Cluster Tools Compiler Edition
# to build libfftw2xc_intel.a:
# > cd /opt/intel/mkl/10.0.011/interfaces/fftw2xc
# > become root via su
# > gmake libem64t
SHELL = /bin/sh
# ---------------------------------------------------------------------
# System-specific settings
# edit as needed for your machine
# additional system libs needed by LAMMPS libs
# NOTE: these settings are ignored if the LAMMPS package (e.g. gpu, meam)
# which needs these libs is not included in the LAMMPS build
gpu_SYSLIB = -lcudart
meam_SYSLIB = -lifcore -lsvml -lompstub -limf
reax_SYSLIB = -lifcore -lsvml -lompstub -limf
user-atc_SYSLIB = -lblas -llapack
gpu_SYSLIBPATH = -L/usr/local/cuda/lib64
meam_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
reax_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
user-atc_SYSLIBPATH =
include Makefile.package
# compiler/linker settings
# NOTE: specify how to compile/link with MPI
# either an MPI installed on your machine, or the src/STUBS dummy lib
# NOTE: specify an FFT option, e.g. -DFFT_NONE, -DFFT_FFTW, etc
CC = mpiicc
CCFLAGS = $(PKGINC) -O3 -fno-alias -ip -unroll0 -g -DMPICH_IGNORE_CXX_SEEK -DLAMMPS_GZIP -DFFT_FFTW -I/opt/intel/mkl/10.0.011/include/fftw
DEPFLAGS = -M
LINK = mpiicc
LINKFLAGS = $(PKGPATH) $(PKGPATHSYS)
USRLIB = $(PKGLIB) /opt/intel/mkl/10.0.011/lib/em64t/libfftw2xc_intel.a
SYSLIB = $(PKGLIBSYS)
ARCHIVE = ar
ARFLAGS = -rc
SIZE = size
# ---------------------------------------------------------------------
# no need to edit below here
# Link target
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# Library target
lib: $(OBJ)
$(ARCHIVE) $(ARFLAGS) $(EXE) $(OBJ)
# Compilation rules
%.o:%.cpp
$(CC) $(CCFLAGS) -c $<
%.d:%.cpp
$(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@
# Individual dependencies
DEPENDS = $(OBJ:.o=.d)
include $(DEPENDS)

View File

@ -1,66 +0,0 @@
# opensuse = openSUSE linux, g++, MPICH, FFTW
SHELL = /bin/sh
# ---------------------------------------------------------------------
# System-specific settings
# edit as needed for your machine
# additional system libs needed by LAMMPS libs
# NOTE: these settings are ignored if the LAMMPS package (e.g. gpu, meam)
# which needs these libs is not included in the LAMMPS build
gpu_SYSLIB = -lcudart
meam_SYSLIB = -lifcore -lsvml -lompstub -limf
reax_SYSLIB = -lifcore -lsvml -lompstub -limf
user-atc_SYSLIB = -lblas -llapack
gpu_SYSLIBPATH = -L/usr/local/cuda/lib64
meam_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
reax_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
user-atc_SYSLIBPATH =
include Makefile.package
# compiler/linker settings
# NOTE: specify how to compile/link with MPI
# either an MPI installed on your machine, or the src/STUBS dummy lib
# NOTE: specify an FFT option, e.g. -DFFT_NONE, -DFFT_FFTW, etc
CC = g++
CCFLAGS = $(PKGINC) -O3 -I /opt/mpich/include/ -DFFT_FFTW -DLAMMPS_GZIP
DEPFLAGS = -M
LINK = g++
LINKFLAGS = $(PKGPATH) $(PKGPATHSYS)
USRLIB = $(PKGLIB) -ldfftw -lmpich
SYSLIB =$(PKGLIBSYS)
ARCHIVE = ar
ARFLAGS = -rc
SIZE = size
# ---------------------------------------------------------------------
# no need to edit below here
# Link target
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# Library target
lib: $(OBJ)
$(ARCHIVE) $(ARFLAGS) $(EXE) $(OBJ)
# Compilation rules
%.o:%.cpp
$(CC) $(CCFLAGS) -c $<
%.d:%.cpp
$(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@
# Individual dependencies
DEPENDS = $(OBJ:.o=.d)
include $(DEPENDS)

View File

@ -1,70 +0,0 @@
# pg = Portland Group compiler, MPICH, FFTW
SHELL = /bin/sh
#.IGNORE:
# ---------------------------------------------------------------------
# System-specific settings
# edit as needed for your machine
# additional system libs needed by LAMMPS libs
# NOTE: these settings are ignored if the LAMMPS package (e.g. gpu, meam)
# which needs these libs is not included in the LAMMPS build
gpu_SYSLIB = -lcudart
meam_SYSLIB = -lifcore -lsvml -lompstub -limf
reax_SYSLIB = -lifcore -lsvml -lompstub -limf
user-atc_SYSLIB = -lblas -llapack
gpu_SYSLIBPATH = -L/usr/local/cuda/lib64
meam_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
reax_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
user-atc_SYSLIBPATH =
include Makefile.package
# compiler/linker settings
# NOTE: specify how to compile/link with MPI
# either an MPI installed on your machine, or the src/STUBS dummy lib
# NOTE: specify an FFT option, e.g. -DFFT_NONE, -DFFT_FFTW, etc
CC = pgCC -fast
CCFLAGS = $(PKGINC) -I/usr/local/mpich-1.2.6/pg/include \
-I/usr/local/include \
-DFFT_FFTW -DLAMMPS_GZIP
DEPFLAGS = -M
LINK = pgCC
LINKFLAGS = $(PKGPATH) $(PKGPATHSYS)
-L/usr/local/lib
USRLIB = $(PKGLIB) -lfftw -lmpich
SYSLIB = $(PKGLIBSYS)
ARCHIVE = ar
ARFLAGS = -rc
SIZE = size
# ---------------------------------------------------------------------
# no need to edit below here
# Link target
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# Library target
lib: $(OBJ)
$(ARCHIVE) $(ARFLAGS) $(EXE) $(OBJ)
# Compilation rules
%.o:%.cpp
$(CC) $(CCFLAGS) -c $<
%.d:%.cpp
$(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@
# Individual dependencies
DEPENDS = $(OBJ:.o=.d)
include $(DEPENDS)

View File

@ -1,66 +0,0 @@
# serial_icc = RedHat Linux box, icc, no MPI, no FFTs
SHELL = /bin/sh
# ---------------------------------------------------------------------
# System-specific settings
# edit as needed for your machine
# additional system libs needed by LAMMPS libs
# NOTE: these settings are ignored if the LAMMPS package (e.g. gpu, meam)
# which needs these libs is not included in the LAMMPS build
gpu_SYSLIB = -lcudart
meam_SYSLIB = -lifcore -lsvml -lompstub -limf
reax_SYSLIB = -lifcore -lsvml -lompstub -limf
user-atc_SYSLIB = -lblas -llapack
gpu_SYSLIBPATH = -L/usr/local/cuda/lib64
meam_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
reax_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
user-atc_SYSLIBPATH =
include Makefile.package
# compiler/linker settings
# NOTE: specify how to compile/link with MPI
# either an MPI installed on your machine, or the src/STUBS dummy lib
# NOTE: specify an FFT option, e.g. -DFFT_NONE, -DFFT_FFTW, etc
CC = icc
CCFLAGS = $(PKGINC) -O -I../STUBS -DFFT_NONE
DEPFLAGS = -M
LINK = icc
LINKFLAGS = $(PKGPATH) $(PKGPATHSYS)
USRLIB = $(PKGLIB) -lmpi
SYSLIB = $(PKGLIBSYS)
ARCHIVE = ar
ARFLAGS = -rc
SIZE = size
# ---------------------------------------------------------------------
# no need to edit below here
# Link target
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# Library target
lib: $(OBJ)
$(ARCHIVE) $(ARFLAGS) $(EXE) $(OBJ)
# Compilation rules
%.o:%.cpp
$(CC) $(CCFLAGS) -c $<
%.d:%.cpp
$(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@
# Individual dependencies
DEPENDS = $(OBJ:.o=.d)
include $(DEPENDS)

View File

@ -1,64 +0,0 @@
# squall = Red Squall (compile on srnsquall), pgiCC, MPI, FFTW
#
# To use this, first do:
#
# module unload compilers/gnu
# module load compilers/pgi-6.0
# module unload mpich/mpich-gnu
# module load mpich/mpich-pgi-6.0
#
SHELL = /bin/sh
# ---------------------------------------------------------------------
# System-specific settings
# edit as needed for your machine
# additional system libs needed by LAMMPS libs
# NOTE: these settings are ignored if the LAMMPS package (e.g. gpu, meam)
# which needs these libs is not included in the LAMMPS build
gpu_SYSLIB = -lcudart
meam_SYSLIB = -lifcore -lsvml -lompstub -limf
reax_SYSLIB = -lifcore -lsvml -lompstub -limf
user-atc_SYSLIB = -lblas -llapack
gpu_SYSLIBPATH = -L/usr/local/cuda/lib64
meam_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
reax_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
user-atc_SYSLIBPATH =
include Makefile.package
# compiler/linker settings
# NOTE: specify how to compile/link with MPI
# either an MPI installed on your machine, or the src/STUBS dummy lib
# NOTE: specify an FFT option, e.g. -DFFT_NONE, -DFFT_FFTW, etc
CC = mpiCC
CCFLAGS = $(PKGINC) -DFFT_FFTW -I/home/athomps/tools/fftw-2.1.5/fftw
DEPFLAGS = -O2 -M
LINK = mpiCC
LINKFLAGS = $(PKGPATH) $(PKGPATHSYS)
USRLIB = $(PKGLIB) -lfftw -lmpi
SYSLIB = $(PKGLIBSYS)
SIZE = size
# Link rule
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# Compilation rules
%.o:%.cpp
$(CC) $(CCFLAGS) -c $<
%.d:%.cpp
$(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@
# Individual dependencies
DEPENDS = $(OBJ:.o=.d)
include $(DEPENDS)

View File

@ -1,59 +0,0 @@
# valor = HP cluster with dual Xeons, mpiCC, native MPI, FFTW
SHELL = /bin/sh
.IGNORE:
# ---------------------------------------------------------------------
# System-specific settings
# edit as needed for your machine
# additional system libs needed by LAMMPS libs
# NOTE: these settings are ignored if the LAMMPS package (e.g. gpu, meam)
# which needs these libs is not included in the LAMMPS build
gpu_SYSLIB = -lcudart
meam_SYSLIB = -lifcore -lsvml -lompstub -limf
reax_SYSLIB = -lifcore -lsvml -lompstub -limf
user-atc_SYSLIB = -lblas -llapack
gpu_SYSLIBPATH = -L/usr/local/cuda/lib64
meam_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
reax_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
user-atc_SYSLIBPATH =
include Makefile.package
# compiler/linker settings
# NOTE: specify how to compile/link with MPI
# either an MPI installed on your machine, or the src/STUBS dummy lib
# NOTE: specify an FFT option, e.g. -DFFT_NONE, -DFFT_FFTW, etc
FFTW = /apps/libraries/fftw-2.1.5
CC = mpiCC
CCFLAGS = $(PKGINC) -O -DFFT_FFTW -I${FFTW}/include
DEPFLAGS = -M
LINK = mpiCC
LINKFLAGS = $(PKGPATH) $(PKGPATHSYS)
USRLIB = $(PKGLIB) -lfftw -lstdc++
SYSLIB = $(PKGLIBSYS)
SIZE = size
# Link rule
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# Compilation rules
%.o:%.cpp
$(CC) $(CCFLAGS) -c $<
%.d:%.cpp
$(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@
# Individual dependencies
DEPENDS = $(OBJ:.o=.d)
include $(DEPENDS)

View File

@ -1,65 +0,0 @@
# ydl = Yellow Dog Linux box, xlc -q64, MPICH, FFTW
SHELL = /bin/sh
#.IGNORE:
# ---------------------------------------------------------------------
# System-specific settings
# edit as needed for your machine
# additional system libs needed by LAMMPS libs
# NOTE: these settings are ignored if the LAMMPS package (e.g. gpu, meam)
# which needs these libs is not included in the LAMMPS build
gpu_SYSLIB = -lcudart
meam_SYSLIB = -lifcore -lsvml -lompstub -limf
reax_SYSLIB = -lifcore -lsvml -lompstub -limf
user-atc_SYSLIB = -lblas -llapack
gpu_SYSLIBPATH = -L/usr/local/cuda/lib64
meam_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
reax_SYSLIBPATH = -L/opt/intel/fce/10.0.023/lib
user-atc_SYSLIBPATH =
include Makefile.package
# compiler/linker settings
# NOTE: specify how to compile/link with MPI
# either an MPI installed on your machine, or the src/STUBS dummy lib
# NOTE: specify an FFT option, e.g. -DFFT_NONE, -DFFT_FFTW, etc
CC = xlc -q64
CCFLAGS = $(PKGINC) -g -O -I/opt/mpich/include \
-I/usr/local/include -L/opt/mpich/lib64 \
-DFFT_FFTW -DLAMMPS_LAMMPS_GZIP
DEPFLAGS = -M
LINK = xlc -q64
LINKFLAGS = $(PKGPATH) $(PKGPATHSYS)
-L/usr/local/lib -lstdc++ -lc
USRLIB = $(PKGLIB) -lfftw -lmpich
SYSLIB =$(PKGLIBSYS)
SIZE = size
# Link rule
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# Library target
lib: $(OBJ)
$(ARCHIVE) $(ARFLAGS) $(EXE) $(OBJ)
# Compilation rules
%.o:%.cpp
$(CC) $(CCFLAGS) -c $<
%.d:%.cpp
$(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@
# Individual dependencies
DEPENDS = $(OBJ:.o=.d)
include $(DEPENDS)