head	1.8;
access;
symbols
	release-2-7:1.7
	release-2-7-beta-4:1.7
	release-2-7-beta-3:1.7
	release-2-7-beta-2:1.7
	release-2-7-beta-1:1.7
	release-2-6:1.7
	release-2-6-beta-2:1.7
	release-2-6-beta-1:1.7
	release-2-5:1.7
	release-2-5-beta-3:1.7
	release-2-5-beta-2:1.7
	release-2-5-beta-1:1.7
	release-2-4:1.7
	release-2-4-beta-2:1.7
	release-2-4-beta-1:1.7
	release-2-3:1.7
	release-2-3-beta-2:1.7
	release-2-3-beta-1:1.7
	release-2-2:1.7
	release-2-2-beta-3:1.7
	release-2-2-beta-2:1.7
	release-2-2-beta-1:1.7
	release-2-1:1.5
	release-2-1-beta-4:1.5
	release-2-1-beta-3:1.4
	release-2-1-beta-2:1.4
	release-2-1-beta-1:1.4
	release-2-0-pre-charm-syntax:1.4
	release-2-0:1.4
	release-2-0-beta-3:1.4
	release-2-0-beta-2:1.4
	release-alpha-1:1.3;
locks; strict;
comment	@# @;


1.8
date	2011.01.12.18.55.49;	author jim;	state dead;
branches;
next	1.7;

1.7
date	2000.03.16.17.07.06;	author jim;	state Exp;
branches;
next	1.6;

1.6
date	2000.03.16.16.57.46;	author jim;	state Exp;
branches;
next	1.5;

1.5
date	99.10.29.22.18.54;	author jim;	state Exp;
branches;
next	1.4;

1.4
date	98.08.21.02.09.57;	author jim;	state Exp;
branches;
next	1.3;

1.3
date	97.09.28.10.23.59;	author milind;	state Exp;
branches;
next	1.2;

1.2
date	97.09.12.22.56.10;	author jim;	state Exp;
branches;
next	1.1;

1.1
date	97.09.05.19.41.08;	author jim;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Remove ancient DPMTA files.
@
text
@# 
# Top level Makefile to build DPMTA
#
# w. t. rankin
#
# Copyright (c) 1996 Duke University
# All rights reserved
#
# this makefile is set up to compile for a network of sun workstations
# running solaris 2.X.  the compile flags below wil need to be modifed
# for other platforms.
#
#
# RCS Info: $Id: Makefile,v 1.7 2000/03/16 17:07:06 jim Exp $
#
################################################################

include ../Makearch

# specify PVM envronmental variables.  PVM_HOME is the location
# where the executables and libraries will be placed.

PVM_ROOT = $(CHARM)
PVM_HOME = $(CHARM)


# set the compile time flags for the master and slave
# processes.  the available flags are:
# 
#    -DTIME        - include performance timing code
#    -DNOPARCONV   - disable parental conversion during the generation
#                    of the interaction list.
#    -DCOMP_LJ     - include the code to compute Lennard-Jones force and
#                    potentials
#    -DVIRIAL      - include code to compute the virial tensor.  this is
#                    experimental code and should not normally be compiled
#                    into production binaries.
#    -DOLDVIRIAL   - include code to compute the virial tensor.  this is
#                    the older and less accurate virial computation.
#    -DPBC_WRAP    - particles outside the box boundaries get wrapped
#                    around onto the other side of the box.
#                    this does not work with -DPIPED code.
#    -DSORTILIST   - sorts the order of the multipole interaction lists
#                    in attempt to increase accuacy.  best *not* to use.
#    -DMACROSCOPIC - include code that calculates the macroscopic assemblies.
#    -DPMACRO      - include parallel macroscopic generation code (must also
#                    define MACROSCOPIC above for this to work).
#    -DDATADUMP    - test programs dump particle and force
#                    information to output files.
#    -DPVMHOMO     - include optimizations for running on a homogeneous
#                    set of platforms.
#    -DSIZECHECK   - prints out the current size of the DPMTA memory
#                    images.  works for SERIAL case only.
#    -DPIPED       - compile in code to allow parallel-piped simulation
#                    cells.  this code involves a significant performance
#                    hit, so it is not recommended unless you really
#                    need parallel-piped regions.
#

DFLAGS = -DDATADUMP


################################################################
#
#  nothing below this line should need to be modified
#
################################################################

default: converse


converse:
	echo this is charm $(CHARM)
	(cd mpole; $(MAKE) libmpole.a )
	(cd src; $(MAKE) -f Makefile.converse libdpmta2.a )


solaris:
	(cd mpole; $(MAKE) libmpole.a CC=gcc )
	(cd src; $(MAKE) all install CC=gcc \
           PVM_ARCH=SUN4SOL2 PVM_ROOT=$(PVM_ROOT) PVM_HOME=$(PVM_HOME) \
           DFLAGS="$(DFLAGS)" OSLIBS="-lsocket -lnsl" )

#
# for shared memory PVM
# 

sol-mp:
	(cd mpole; $(MAKE) libmpole.a)
	(cd src; $(MAKE) all install \
           PVM_ARCH=SUNMP PVM_ROOT=$(PVM_ROOT) PVM_HOME=$(PVM_HOME) \
           DFLAGS="$(DFLAGS) -DPVMSHMEM" OSLIBS="-lsocket -lnsl" )

linux:
	(cd mpole; $(MAKE) libmpole.a)
	(cd src; $(MAKE) all install \
           PVM_ARCH=LINUX PVM_ROOT=$(PVM_ROOT) PVM_HOME=$(PVM_HOME) \
           DFLAGS="$(DFLAGS)" OSLIBS="" )

aix4:
	(cd mpole; $(MAKE) libmpole.a \
	   DFLAGS="-mcpu=common" )
	(cd src; $(MAKE) all install \
           PVM_ARCH=RS6K PVM_ROOT=$(PVM_ROOT) PVM_HOME=$(PVM_HOME) \
           DFLAGS="-mcpu=common $(DFLAGS)" OSLIBS="" MAKE=$(MAKE) )

#
#  note the need for gmake here
#

sgi:
	(cd mpole; $(MAKE) libmpole.a \
	   CC=cc DFLAGS="-woff all" )
	(cd src; $(MAKE) all install \
           PVM_ARCH=SGI64 PVM_ROOT=$(PVM_ROOT) PVM_HOME=$(PVM_HOME) \
           CC=cc MAKE=gmake DFLAGS="$(DFLAGS) -woff all" OSLIBS="" )

sgimp:
	(cd mpole; $(MAKE) libmpole.a \
	   CC=cc DFLAGS="-woff all" )
	(cd src; $(MAKE) all install \
           PVM_ARCH=SGIMP64 PVM_ROOT=$(PVM_ROOT) PVM_HOME=$(PVM_HOME) \
           CC=cc MAKE=gmake DFLAGS="$(DFLAGS) -woff all" OSLIBS="" )

hppa:
	(cd mpole; $(MAKE) libmpole.a \
	   CC=cc DFLAGS="-Ae -Wp,-H500000" )
	(cd src; $(MAKE) all install \
           PVM_ARCH=HPPA PVM_ROOT=$(PVM_ROOT) PVM_HOME=$(PVM_HOME) \
           CC=cc MAKE=gmake DFLAGS="$(DFLAGS) -Ae -Wp,-H500000" OSLIBS="" )

#
# the following entry builds the embedded DPMTA library for
# use on the Cray T3D where you cannot have separate DPMTA and
# application executables.
#

t3d:
	(cd mpole; $(MAKE) libmpole.a \
	   CC="cc -T cray-t3d" )
	(cd src; $(MAKE) -f Makefile.cray all \
           PVM_ARCH=CRAY PVM_ROOT="/usr" PVM_HOME=$(PVM_HOME) \
           CC=cc DFLAGS="-T cray-t3d $(DFLAGS)" OSLIBS="-lsma -lgpvm3" )

t3e:
	(cd mpole; $(MAKE) libmpole.a \
	   CC="cc -Xm" )
	(cd src; $(MAKE) -f Makefile.cray all \
           PVM_ARCH=CRAY PVM_ROOT="/usr" PVM_HOME=$(PVM_HOME) \
           CC=cc DFLAGS="-Xm $(DFLAGS)" OSLIBS="-lsma" )

#
# the following two build the cray-t3d style embedded library
# on workstation platforms.  these are used mainly for test.
#

sol-simd:
	(cd mpole; $(MAKE) libmpole.a )
	(cd src; $(MAKE) -f Makefile.cray all install \
           PVM_ARCH=SUN4SOL2 PVM_ROOT=$(PVM_ROOT) PVM_HOME=$(PVM_HOME) \
	   PVM_LDIR=$(PVM_ROOT)/lib/SUN4SOL2 PVM_IDIR=$(PVM_ROOT)/include \
           DFLAGS="$(DFLAGS)" OSLIBS="-lsocket -lnsl -lgpvm3" CC=gcc )

linux-simd:
	(cd mpole; $(MAKE) libmpole.a )
	(cd src; $(MAKE) -f Makefile.cray all install \
           PVM_ARCH=LINUX PVM_ROOT=$(PVM_ROOT) PVM_HOME=$(PVM_HOME) \
	   PVM_LDIR=$(PVM_ROOT)/lib/LINUX PVM_IDIR=$(PVM_ROOT)/include \
           DFLAGS="$(DFLAGS)" OSLIBS="-lgpvm3" )

aix-simd:
	(cd mpole; $(MAKE) libmpole.a )
	(cd src; $(MAKE) -f Makefile.cray all install \
           PVM_ARCH=RS6K PVM_ROOT=$(PVM_ROOT) PVM_HOME=$(PVM_HOME) \
	   PVM_LDIR=$(PVM_ROOT)/lib/RS6K PVM_IDIR=$(PVM_ROOT)/include \
           DFLAGS="$(DFLAGS)" OSLIBS="-lgpvm3" CC=gcc )

#
# here is the code which compiles DPMTA as a serial application
#

serial:
	(cd mpole; $(MAKE) libmpole.a CC=$(CC))
	(cd src; $(MAKE) -f Makefile.serial all \
           CC=$(CC) DFLAGS="$(DFLAGS)" OSLIBS="" )

aix-ser:
	(cd mpole; $(MAKE) libmpole.a CC=$(CC))
	(cd src; $(MAKE) -f Makefile.serial all \
           CC=$(CC) MAKE=$(MAKE) DFLAGS="$(DFLAGS) -DRS6K" OSLIBS="" )

sgi-ser:
	(cd mpole; $(MAKE) libmpole.a \
	   CC=$(CC) DFLAGS="-woff all" )
	(cd src; $(MAKE) -f Makefile.serial all \
           CC=$(CC) DFLAGS="$(DFLAGS) -DSGI64 -woff all" OSLIBS="" )


clean: 
	( cd mpole; $(MAKE) clean )
	( cd src; $(MAKE) clean )

paper: 
	( cd doc; $(MAKE) )

@


1.7
log
@Makearch now includes Make.charm.
@
text
@d14 1
a14 1
# RCS Info: $Id: Makefile,v 1.6 2000/03/16 16:57:46 jim Exp $
@


1.6
log
@Finds pvm includes again.
@
text
@d14 1
a14 1
# RCS Info: $Id: Makefile,v 1.5 1999/10/29 22:18:54 jim Exp $
a17 1
include .rootdir/Make.charm
@


1.5
log
@Revamped config and make system.
@
text
@d14 1
a14 1
# RCS Info: $Id: Makefile,v 1.4 1998/08/21 02:09:57 jim Exp $
d24 2
a25 2
PVM_ROOT = ../../pvm3
PVM_HOME = ../../pvm3
@


1.4
log
@Moved "include Make.charm" out of Makearch and into sub-Makefiles.
@
text
@d14 1
a14 1
# RCS Info: $Id: Makefile,v 1.3 1997/09/28 10:23:59 milind Exp $
d18 1
a18 1
include ../Make.charm
@


1.3
log
@Fixed Makefiles to include arch params from a single file.
@
text
@d14 1
a14 1
# RCS Info: $Id: Makefile,v 1.2 1997/09/12 22:56:10 jim Exp $
d18 1
@


1.2
log
@Modifications to work with converse pvm.
@
text
@d14 1
a14 1
# RCS Info: $Id: Makefile,v 1.1 1997/09/05 19:41:08 jim Exp $
d18 1
a18 7

MAKE   = gmake
SHELL  = /bin/sh
CC     = cc -O
AR     = ar
RM     = rm -f

d74 2
a75 5
	(cd mpole; $(MAKE) libmpole.a CHARM=$(CHARM) \
	   CC="$(CC)" DFLAGS="-Ae -Wp,-H500000" )
	(cd src; $(MAKE) -f Makefile.converse libdpmta2.a \
           CHARM=$(CHARM) PVM_ARCH=HPPA PVM_ROOT=$(PVM_ROOT) PVM_HOME=$(PVM_HOME) \
           CC="$(CC)" MAKE=gmake DFLAGS="$(DFLAGS) -Ae -Wp,-H500000" OSLIBS="" )
@


1.1
log
@Original distribution.
@
text
@d14 1
a14 1
# RCS Info: $Id: Makefile,v 1.19 1997/05/12 17:57:51 wrankin Exp $
d19 1
a19 1
MAKE   = make
d21 1
a21 1
CC     = cc
d29 2
a30 4
#PVM_ROOT = /usr/local/pvm3
PVM_ROOT = /opt/pvm/pvm3

PVM_HOME = $(HOME)/pvm3
d66 1
a66 1
DFLAGS = -DDATADUMP -DPVMHOMO -DTIME 
d75 10
a84 1
default: solaris
a210 1
	( cd doc; $(MAKE) clean )
@
