head	1.1;
access;
symbols
	charm6_1:1.1
	charm_6_0_1:1.1
	charm6_0_1:1.1
	charm6_0:1.1;
locks; strict;
comment	@# @;


1.1
date	2007.03.03.00.06.51;	author skumar2;	state Exp;
branches;
next	;
commitid	60ad45e8bbe44567;


desc
@@


1.1
log
@
Checking in the tests for the pencil based fft library. The current software needs access to an fft library.
I will soon remove the fft dependence by making it just call transposes.
@
text
@FFTW_HOME=/bgl/local/fftw-2.1.5/
OPTS=-g -O3 

CHARMC=../../../bin/charmc $(OPTS)
INCLUDES=-I$(FFTW_HOME)/include -I$(CHARMBASE)/include/fftlib \
	 -DFFTW_ENABLE_FLOAT=1

LIBS=-module PencilFFT -L$(FFTW_HOME)/lib -language charm++ -lsfftw -lsrfftw

OBJS = testpencil.o 

all:	cifiles testpencil

testpencil: $(OBJS)
	$(CHARMC) -language charm++ -o testpencil $(OBJS) ${LIBS}

cifiles: testpencil.ci
	$(CHARMC)  testpencil.ci

clean:
	rm -f *~ *.decl.h *.def.h conv-host *.o testpencil charmrun

testpencil.o: testpencil.C
	$(CHARMC) -c testpencil.C ${INCLUDES}

test: all
	@@echo "Intra-processor Testpencil.."
	./charmrun ./testpencil +p1
	@@echo "Inter-processor Testpencil.."
	./charmrun ./testpencil +p2

bgtest: all
	@@echo "Intra-processor Testpencil.."
	./charmrun ./testpencil +p1 +x1 +y1 +z1
	@@echo "Inter-processor Testpencil.."
	./charmrun ./testpencil +p2 +x2 +y1 +z1

@
