Commit 19c4317a authored by pscrozi's avatar pscrozi
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@181 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 67168ce6
Loading
Loading
Loading
Loading
+12 −17
Original line number Diff line number Diff line
# cygwin = RedHat Linux box, g++, no MPI, no FFTs
# Makefile for Cygwin build under Windows

SHELL = /bin/sh
#.IGNORE:

# System-specific settings

CC =		g++
CCFLAGS =	-O -I../STUBS -DFFT_NONE
CC = mpicxx 
CCFLAGS = -O -g -I/cygdrive/c/cygwin/fftw/include -DFFT_FFTW -DMPICH_IGNORE_CXX_SEEK
DEPFLAGS = -M
LINK =		g++
LINKFLAGS =	-O -L../STUBS
USRLIB =	-lmpi
SYSLIB = 
ARCHIVE =	ar
ARFLAGS =	-rc
LINK = mpicxx 
LINKFLAGS = -O -g -L/cygdrive/c/cygwin/fftw/lib -L/cygdrive/c/cygwin/mpich2-1.0.4p1/lib
USRLIB = -lfftw -lmpich 
SYSLIB = -lm 
SIZE = size

# Link target
# Link rule

$(EXE):	$(OBJ)
	$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
	$(SIZE) $(EXE).exe

# Library target

lib:	$(OBJ)
	$(ARCHIVE) $(ARFLAGS) $(EXE) $(OBJ)
	mv $(EXE).exe ../lmp

# Compilation rules

+0 −28
Original line number Diff line number Diff line
/* ----------------------------------------------------------------------
   LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
   www.cs.sandia.gov/~sjplimp/lammps.html
   Steve Plimpton, sjplimp@sandia.gov, Sandia National Laboratories

   Copyright (2003) Sandia Corporation.  Under the terms of Contract
   DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
   certain rights in this software.  This software is distributed under 
   the GNU General Public License.

   See the README file in the top-level LAMMPS directory.
------------------------------------------------------------------------- */

#ifdef AtomInclude
#include "atom_dpd.h"
#endif

#ifdef AtomClass
AtomStyle(dpd,AtomDPD)
#endif

#ifdef PairInclude
#include "pair_dpd.h"
#endif

#ifdef PairClass
PairStyle(dpd,PairDPD)
#endif
+0 −28
Original line number Diff line number Diff line
/* ----------------------------------------------------------------------
   LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
   www.cs.sandia.gov/~sjplimp/lammps.html
   Steve Plimpton, sjplimp@sandia.gov, Sandia National Laboratories

   Copyright (2003) Sandia Corporation.  Under the terms of Contract
   DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
   certain rights in this software.  This software is distributed under 
   the GNU General Public License.

   See the README file in the top-level LAMMPS directory.
------------------------------------------------------------------------- */

#ifdef PairInclude
#include "pair_eam.h"
#include "pair_eam_alloy.h"
#include "pair_eam_fs.h"
#include "pair_sw.h"
#include "pair_tersoff.h"
#endif

#ifdef PairClass
PairStyle(eam,PairEAM)
PairStyle(eam/alloy,PairEAMAlloy)
PairStyle(eam/fs,PairEAMFS)
PairStyle(sw,PairSW)
PairStyle(tersoff,PairTersoff)
#endif