head	1.8;
access;
symbols
	ChaNGa_1-0:1.7
	charm5_9:1.7;
locks; strict;
comment	@# @;


1.8
date	2007.12.27.02.17.10;	author bohm;	state dead;
branches;
next	1.7;
commitid	5bb747730afd4567;

1.7
date	2005.04.22.21.13.12;	author bohm;	state Exp;
branches;
next	1.6;

1.6
date	2005.03.03.23.50.24;	author bohm;	state Exp;
branches;
next	1.5;

1.5
date	2005.02.04.22.07.11;	author skumar2;	state Exp;
branches;
next	1.4;

1.4
date	2004.04.07.05.22.04;	author yanshi;	state Exp;
branches;
next	1.3;

1.3
date	2004.03.31.15.53.12;	author yanshi;	state Exp;
branches;
next	1.2;

1.2
date	2004.03.19.21.16.17;	author skumar2;	state Exp;
branches;
next	1.1;

1.1
date	2004.02.19.23.08.31;	author yanshi;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Remove defunct paircalc.

Modern paircalc is in the leanCP / OpenAtom distribution.
@
text
@
FFTW_HOME=$(HOME)/fftw

CHARMC=$(CDIR)/bin/charmc $(OPTS) $(FLAGS)

CDIR=../../../..
LIBDIR=$(CDIR)/lib
FFTW_LIBDIR=$(FFTW_HOME)/lib

INCLUDE=-I$(FFTW_HOME)/include
COMPILER=$(CHARMC) $(INCLUDE)

LIB=libmoduleckPairCalculator.a
LIBOBJ=ckPairCalculator.o pairCalculator.o 

HEADERS= $(CDIR)/include/pairCalculator.h\
	 $(CDIR)/include/pairutil.h \
         $(CDIR)/include/ckPairCalculator.h\
         $(CDIR)/include/ckPairCalculator.decl.h\
         $(CDIR)/include/ckPairCalculator.def.h\

all: $(LIB)  $(HEADERS)

$(HEADERS): pairCalculator.h ckPairCalculator.h ckPairCalculator.decl.h 
	/bin/cp pairCalculator.h $(CDIR)/include
	/bin/cp ckPairCalculator.h $(CDIR)/include
	/bin/cp pairutil.h $(CDIR)/include
	/bin/cp ckPairCalculator.decl.h $(CDIR)/include
	/bin/cp ckPairCalculator.def.h $(CDIR)/include

$(LIB): pairCalculator.o ckPairCalculator.o 
	$(COMPILER) -o $(LIB) $(LIBOBJ) -module commlib -module CkSparseContiguousReducer 
	/bin/cp $(LIB) $(CDIR)/lib/

ckPairCalculator.o: ckPairCalculator.C ckPairCalculator.h ckPairCalculator.decl.h 
	$(COMPILER)  ckPairCalculator.C

pairCalculator.o: pairCalculator.C pairCalculator.h ckPairCalculator.h ckPairCalculator.decl.h
	$(COMPILER)  pairCalculator.C

ckPairCalculator.decl.h: ckPairCalculator.ci
	$(CHARMC) ckPairCalculator.ci 

myTest: myTest.o $(all)
	$(COMPILER) -o myTest myTest.o -module ckPairCalculator -module CkSparseContiguousReducer

myTest.o: myTest.C myTest.decl.h
	$(COMPILER) myTest.C

myTest.decl.h: myTest.ci
	$(COMPILER) myTest.ci

clean:
	rm -f core 
	rm -f libmoduleckPairCalculator.a *.o charmrun
	rm -f *.decl.h *.def.h
	rm -f *~
@


1.7
log
@be sure that usesatsync is set regardless
@
text
@@


1.6
log
@BLAS names now controlled by FORTRANUNDERSCORE as in leanCP
So one make can rule them all.

Also removed evil local makefile overrides to OPTS and FLAGS
@
text
@d1 1
d3 1
@


1.5
log
@*** empty log message ***
@
text
@d1 1
a1 1
FFTW_HOME=/expand8/home/yanshi/fftw
a7 3
OPTS=-g
FLAGS=-Wno-deprecated

@


1.4
log
@Added option to use commlib. Also cleaned up some ifdef's in the code.
@
text
@d1 1
a1 1
FFTW_HOME=/home/net/yanshi/work/cpaimd/fftw
@


1.3
log
@Changed name for util.h for avoiding conflicts. Optimized inline function for complex class.
@
text
@d33 1
a33 1
	$(COMPILER) -o $(LIB) $(LIBOBJ) -module CkSparseContiguousReducer
@


1.2
log
@Fixing make files in pair calc
@
text
@d18 1
a18 1
	 $(CDIR)/include/util.h \
d28 1
a28 1
	/bin/cp util.h $(CDIR)/include
@


1.1
log
@Checked in the library for pairwise matrix operation. This doesn't do the reverse computation quite right for the symmetric case yet.
@
text
@a14 1
LIBDEST=$(CDIR)/lib/$(LIB)
d16 1
d18 1
d23 1
a23 2

all:$(LIBDEST)  $(HEADERS)
d28 1
d32 3
a34 6
$(LIBDEST): $(LIBOBJ)
	rm -f $(LIB); ar -qc $(LIBDEST) $(LIBOBJ)

libmoduleckPairCalculator.a: pairCalculator.o ckPairCalculator.o 
	$(COMPILER) -o libmoduleckPairCalculator.a pairCalculator.o ckPairCalculator.o -module CkSparseContiguousReducer 
	/bin/cp libmoduleckPairCalculator.a $(CDIR)/lib/.
d43 1
a43 1
	$(CHARMC) $<
d49 1
a49 1
	$(COMPILER) $<
d52 1
a52 1
	$(COMPILER) $<
@

