head	1.19;
access;
symbols
	release-2-7:1.18
	release-2-7-beta-4:1.18
	release-2-7-beta-3:1.18
	release-2-7-beta-2:1.18
	release-2-7-beta-1:1.18
	release-2-6:1.18
	release-2-6-beta-2:1.18
	release-2-6-beta-1:1.18
	release-2-5:1.18
	release-2-5-beta-3:1.18
	release-2-5-beta-2:1.18
	release-2-5-beta-1:1.18
	release-2-4:1.18
	release-2-4-beta-2:1.18
	release-2-4-beta-1:1.18
	release-2-3:1.18
	release-2-3-beta-2:1.18
	release-2-3-beta-1:1.18
	release-2-2:1.18
	release-2-2-beta-3:1.18
	release-2-2-beta-2:1.18
	release-2-2-beta-1:1.18
	release-2-1:1.17
	release-2-1-beta-4:1.17
	release-2-1-beta-3:1.16
	release-2-1-beta-2:1.16
	release-2-1-beta-1:1.16
	release-2-0-pre-charm-syntax:1.16
	release-2-0:1.15
	release-2-0-beta-3:1.13
	release-2-0-beta-2:1.12
	release-alpha-1:1.6
	development-4:1.5;
locks; strict;
comment	@# @;


1.19
date	2011.01.12.18.52.21;	author jim;	state dead;
branches;
next	1.18;

1.18
date	2000.03.16.17.07.03;	author jim;	state Exp;
branches;
next	1.17;

1.17
date	99.10.29.22.18.48;	author jim;	state Exp;
branches;
next	1.16;

1.16
date	99.05.07.19.19.10;	author jim;	state Exp;
branches;
next	1.15;

1.15
date	99.03.22.20.55.31;	author jim;	state Exp;
branches;
next	1.14;

1.14
date	99.03.18.22.06.31;	author jim;	state Exp;
branches;
next	1.13;

1.13
date	99.02.16.01.33.13;	author jim;	state Exp;
branches;
next	1.12;

1.12
date	98.08.23.20.59.16;	author jim;	state Exp;
branches;
next	1.11;

1.11
date	98.08.21.02.09.52;	author jim;	state Exp;
branches;
next	1.10;

1.10
date	98.04.27.21.52.29;	author milind;	state Exp;
branches;
next	1.9;

1.9
date	98.04.10.04.15.46;	author jim;	state Exp;
branches;
next	1.8;

1.8
date	98.04.06.23.53.44;	author jim;	state Exp;
branches;
next	1.7;

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

1.6
date	97.09.28.10.23.56;	author milind;	state Exp;
branches;
next	1.5;

1.5
date	97.04.23.18.15.13;	author nealk;	state Exp;
branches;
next	1.4;

1.4
date	97.04.23.17.05.07;	author nealk;	state Exp;
branches;
next	1.3;

1.3
date	97.03.17.15.50.26;	author nealk;	state Exp;
branches;
next	1.2;

1.2
date	97.03.14.15.10.40;	author nealk;	state Exp;
branches;
next	1.1;

1.1
date	97.03.14.15.06.50;	author nealk;	state Exp;
branches;
next	;


desc
@@


1.19
log
@Remove ancient DPME files.
@
text
@include ../Makearch

#**************************************************************
# This is the makefile to build dpme_test and other support libs
# Nour Toukmaji/Dan Paul - Duke University 1995 Copyright.
#**************************************************************

MAKE   = make
SHELL  = /bin/sh
# CC     = gcc # -Wall  sun :,sgi: cc -fullwarn -g3 
# CC     = $(CXX)
CFLAGS = $(COPTS)
AR     = ar
RM     = rm -f

# specify PVM environmental variables.  PVM_HOME is the location
# where the executables will be placed.
#
# SUN
#PVM_ARCH = SUN4SOL2       #DSIL
# SGI 
#PVM_ARCH = SGI64
#don't forget to change the LIBS

#PVM_HOME = $(HOME)/pvm3
#PVM_ARCH = HPUX
PVM_HOME = ../pvm3

# Specify compile time flags
# -DTIMEME: activates timing of different sections of program to measure performance.
# -DVERBOSE: prints messages that indicates the status of a run.
# -DVIRIAL: activates virial calculation.
#  -DDPME_DEBUG(2,3): print debug particle data; memory alloc; pvm prints to screen

#  suggested: for the HPPA machines, add "-Ae" 
#  for the SGI machines, add "-Woff all" 
#

# Must set the WORKINGDIR and DATADIR in dpme_pvm.h

#DFLAGS = -D$(PVM_ARCH) -DVIRIAL -DTIMEME -DVERBOSE -DDPME_DEBUG(2,3)
#DFLAGS = -D$(PVM_ARCH)  -DTIMEME  -DVERBOSE -DVIRIAL
DFLAGS = -DVIRIAL
# tell the compiler where to locate the PVM include
# files
#
IFLAGS = -I$(PVM_HOME) -I../src -I../dpmta2 -I$(CHARM)/include

# library flags - set the flags to point to the directories
#   containing the PVM 
#
LDIR = -L. -L$(PVMDIR)

#  tell the linker where to which libraries to link in.
#  this will vary by operating system
#
# solaris :
LIBS = -lpvmc -lm 

# otherwise :
#LIBS = -lpvm3 -lgpvm3  -lm
###################################################################
#        END  OF SYSTEM CONFIGURATION SECTION   
###################################################################

####################################################################
DEBUG= 
MYCFLAGS=   $(DFLAGS) $(IFLAGS) $(DEBUG) #-O3
LFLAGS = $(LDIR)
#FFLAGS= -O +U77 -lf -lm -lF77
MYCC = $(CC) $(MYCFLAGS)
####################################################################
objects = dpme2_recip_sumW.o dpme2_paralibsW.o  erfcfun.o  dpme2_utilityW.o
Dpme_Recip = charge_grid2.o fftcalls.o bspline2.o pmesh_kspace2.o
Dpubfft = cfftb.o cfftf1.o passb.o passb4.o passf2.o \
	  passf5.o cfftb1.o cffti.o passb2.o passb5.o passf3.o \
	  cfftf.o cffti1.o  passb3.o  passf.o passf4.o pub3dfft.o

all:	$(objects) $(Dpme_Recip) $(Dpubfft)
	ar -vr libdpme.a $(objects) $(Dpme_Recip) $(Dpubfft)

.c.o:
	$(CC) $(CFLAGS) $(DFLAGS) $(IFLAGS) $(FFT) -c -o $*.o  $*.c

dpme_test:    $(objects) dpme2_testW.o
	$(CC) $(CFLAGS)    -o dpme_test  $(objects) dpme2_testW.o $(libobjects) $(LDLIBS) $(LFLAGS)

clean:
	rm -f *.o *.a dpme_test

@


1.18
log
@Makearch now includes Make.charm.
@
text
@@


1.17
log
@Revamped config and make system.
@
text
@a0 1
include .rootdir/Make.charm
@


1.16
log
@Generalized FFTW to FFT.
@
text
@d1 1
a1 1
include ../Make.charm
@


1.15
log
@DPME now compiles using C compiler.
@
text
@d84 1
a84 1
	$(CC) $(CFLAGS) $(DFLAGS) $(IFLAGS) $(FFTW) -c -o $*.o  $*.c
@


1.14
log
@Added FFTW flags and performance changes.
@
text
@d12 2
a13 2
CC     = $(CXX)
CFLAGS = $(CXXOPTS)
@


1.13
log
@Removed PVM_ARCH from compile line.
@
text
@d84 1
a84 1
	$(CC) $(CFLAGS) $(DFLAGS) $(IFLAGS) -c -o $*.o  $*.c
@


1.12
log
@Fixed compile option passing.
@
text
@d44 1
a44 1
DFLAGS = -D$(PVM_ARCH)  -DVIRIAL
@


1.11
log
@Moved "include Make.charm" out of Makearch and into sub-Makefiles.
@
text
@d13 1
a13 1
CFLAGS = $(COPTS)
@


1.10
log
@Added exemplar version.
@
text
@d1 1
@


1.9
log
@Finished incorporating DPME.
@
text
@d47 1
a47 1
IFLAGS = -I$(PVM_HOME) -I../src -I../dpmta2 -I/Projects/l1/namd.2.0/charm/include
@


1.8
log
@Made Makefile (more) portable.
@
text
@d42 2
a43 1
DFLAGS = -D$(PVM_ARCH)  -DTIMEME  -DVERBOSE -DVIRIAL
@


1.7
log
@Added DPME.
@
text
@d11 2
a12 1
CC     = CC
d26 1
a26 1
PVM_ARCH = HPUX
d51 1
a51 1
LDIR = -L$(PVM_HOME)/lib/$(PVM_ARCH) -L. -L/Projects/l1/namd.2.0/charm/lib
@


1.6
log
@Fixed Makefiles to include arch params from a single file.
@
text
@d11 1
a11 1
CC     = CC # -Wall  sun :,sgi: cc -fullwarn -g3 
d71 1
a71 1
objects = dpme2_recip_sumW.o dpme2_paralibsW.o  erfcfun.o  dpme2_utilityW.o  dpme2_testW.o
d83 2
a84 2
dpme_test:    $(objects)
	$(CC) $(CFLAGS)    -o dpme2_test  $(objects)  $(libobjects) $(LDLIBS) $(LFLAGS)
d87 1
a87 1
	rm -f *.o *.a
@


1.5
log
@Modified to use CC instead of gcc.  Removed all warnings.
@
text
@d1 2
@


1.4
log
@Adding new DPME library.
@
text
@d8 2
a9 1
CC     = gcc # -Wall  sun :,sgi: cc -fullwarn -g3 
d17 1
a17 1
PVM_ARCH = SUN4SOL2       #DSIL
d23 1
@


1.3
log
@Updating makefile
@
text
@d8 1
a8 1
CC     = gcc -Wall # SGI: cc -fullwarn -g3 -lmalloc
d16 1
a16 2
#PVM_ARCH = SUN4SOL2       #DSIL
PVM_ROOT = ../pvm3
a18 1
#PVM_ROOT = /usr/opt/pvm/pvm3
d37 1
a37 1
DFLAGS = -D$(PVM_ARCH)  -DTIMEME   -DVIRIAL -DVERBOSE  
d41 1
a41 2
IFLAGS = -I$(PVM_HOME)
CFLAGS = $(IFLAGS)
d46 1
a46 1
LDIR = -L. -L../pvm3
d52 2
a53 1
# LIBS = -lpvmc -ldpme2 -lsocket -lnsl  -lm
d55 1
a55 1
LIBS = -lpvmc -ldpme2 -lm 
d63 1
a63 1
LFLAGS = $(LDIR) $(LIBS)
d67 8
a74 15
testobjects = dpme2_test.o
objects = dpme2_recip_sum.o dpme2_paralibs.o erfcfun.o dpme2_utility.o \
	  bspline2.o charge_grid2.o fftcalls.o pmesh_kspace2.o \
	  cfftb.o cfftb1.o cfftf.o cfftf1.o cffti.o cffti1.o \
	  passb.o passb2.o passb3.o passb4.o passb5.o \
	  passf.o passf2.o passf3.o passf4.o passf5.o \
	  pub3dfft.o
headers = dpme2.h dpme2_pvm.h dpme2def.h f2c.h protype.h
libobjects =  libdpme2.a

all:	libdpme2.a

.c.o:	$(headers)
	$(CC) $(CFLAGS) -c $*.c
	ar r libdpme2.a $*.o
d76 2
a77 1
libdpme2.a:	$(objects)
d79 2
a80 2
dpme_test:    $(objects)  $(testobjects) 
	$(CC) $(CFLAGS) -o dpme2_test $(objects) $(testobjects) $(LDLIBS) $(LFLAGS)
@


1.2
log
@Corrected "Make clean"
@
text
@d8 1
a8 1
CC     =gcc  -Wall # SGI: cc -fullwarn -g3 -lmalloc
@


1.1
log
@New DPME2 directory.
@
text
@d91 1
a91 1
	-rm *.o *.a
@
