head	1.12;
access;
symbols
	charm6_1:1.12
	charm_6_0_1:1.12
	charm6_0_1:1.12
	charm6_0:1.12
	ChaNGa_1-0:1.11
	charm5_9:1.9
	charm_5-4-2:1.3
	charm_5-4-1:1.3;
locks; strict;
comment	@# @;


1.12
date	2007.09.28.22.28.32;	author bhatele;	state Exp;
branches;
next	1.11;
commitid	4a3846fd80074567;

1.11
date	2006.08.25.19.06.54;	author gzheng;	state Exp;
branches;
next	1.10;

1.10
date	2005.07.20.22.40.29;	author gzheng;	state Exp;
branches;
next	1.9;

1.9
date	2005.02.08.08.52.38;	author gzheng;	state Exp;
branches;
next	1.8;

1.8
date	2004.10.24.05.38.06;	author gzheng;	state Exp;
branches;
next	1.7;

1.7
date	2004.10.13.03.28.07;	author olawlor;	state Exp;
branches;
next	1.6;

1.6
date	2002.07.17.23.15.43;	author olawlor;	state Exp;
branches;
next	1.5;

1.5
date	2002.07.12.19.00.40;	author olawlor;	state Exp;
branches;
next	1.4;

1.4
date	2002.05.17.18.30.43;	author olawlor;	state Exp;
branches;
next	1.3;

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

1.2
date	2000.08.08.20.41.28;	author milind;	state Exp;
branches;
next	1.1;

1.1
date	2000.08.04.22.09.01;	author milind;	state Exp;
branches;
next	;


desc
@@


1.12
log
@fixed the all target
@
text
@CHARMC=../../../bin/charmc $(OPTS) 

all: pgm

pgm: pgm.o
	$(CHARMC) -o pgm pgm.o -language fem

pgm.o: pgm.C
	$(CHARMC) -c pgm.C

fpgm: fpgm.o
	$(CHARMC) -o fpgm fpgm.o -language femf

fpgm.o: fpgm.f90
	$(CHARMC) -c fpgm.f90

clean:
	rm -f pgm fpgm *.o conv-host charmrun

test: pgm
	./charmrun ./pgm +p1 +vp1 $(TESTOPTS)
	./charmrun ./pgm +p1 +vp2 $(TESTOPTS)
	./charmrun ./pgm +p2 +vp1 $(TESTOPTS)
	./charmrun ./pgm +p2 +vp2 $(TESTOPTS)
	./charmrun ./pgm +p2 +vp3 $(TESTOPTS)
	./charmrun ./pgm +p2 +vp4 $(TESTOPTS)
	-@@rm -f fem_mesh_vp3_*
	./charmrun ./pgm +vp3 -write $(TESTOPTS)
	./charmrun ./pgm +vp3 -read $(TESTOPTS)
	rm -f fem_mesh_vp3_*
	-make testf

testf: fpgm
	./charmrun ./fpgm +p1 +vp1 $(TESTOPTS)
	./charmrun ./fpgm +p1 +vp2 $(TESTOPTS)
	./charmrun ./fpgm +p2 +vp1 $(TESTOPTS)
	./charmrun ./fpgm +p2 +vp2 $(TESTOPTS)
	./charmrun ./fpgm +p2 +vp3 $(TESTOPTS)
	./charmrun ./fpgm +p2 +vp4 $(TESTOPTS)
	-@@rm -f fem_mesh_vp3_*
	./charmrun ./fpgm +vp3 -write $(TESTOPTS)
	./charmrun ./fpgm +vp3 -read $(TESTOPTS)
	rm -f fem_mesh_vp3_*

bgtest: pgm
	./charmrun ./pgm +p1 +vp1 +x1 +y1 +z1 $(TESTOPTS)
	./charmrun ./pgm +p1 +vp2 +x1 +y1 +z1 $(TESTOPTS)
	./charmrun ./pgm +p2 +vp1 +x2 +y1 +z1 $(TESTOPTS)
	./charmrun ./pgm +p2 +vp2 +x2 +y1 +z1 $(TESTOPTS)
	./charmrun ./pgm +p2 +vp3 +x2 +y1 +z1 $(TESTOPTS)
	./charmrun ./pgm +p2 +vp4 +x2 +y1 +z1 $(TESTOPTS)
	-@@rm -f fem_mesh_vp3_*
	./charmrun ./pgm +vp3 -write +x3 +y1 +z1 $(TESTOPTS)
	./charmrun ./pgm +vp3 -read  +x3 +y1 +z1 $(TESTOPTS)
	rm -f fem_mesh_vp3_*

test-mig:
	rm -fr pgm pgm.o
	$(MAKE) OPTS="-DENABLE_MIG=1 -memory isomalloc -balancer RandCentLB" pgm
	./charmrun ./pgm +p2 $(TESTOPTS)
@


1.11
log
@passing TESTOPTS to make test
@
text
@d3 1
a3 1
all: pgm fpgm
@


1.10
log
@test fortran version
currently ignores return status.
@
text
@d21 6
a26 6
	./charmrun ./pgm +p1 +vp1
	./charmrun ./pgm +p1 +vp2
	./charmrun ./pgm +p2 +vp1
	./charmrun ./pgm +p2 +vp2
	./charmrun ./pgm +p2 +vp3
	./charmrun ./pgm +p2 +vp4
d28 2
a29 2
	./charmrun ./pgm +vp3 -write
	./charmrun ./pgm +vp3 -read
d34 6
a39 6
	./charmrun ./fpgm +p1 +vp1
	./charmrun ./fpgm +p1 +vp2
	./charmrun ./fpgm +p2 +vp1
	./charmrun ./fpgm +p2 +vp2
	./charmrun ./fpgm +p2 +vp3
	./charmrun ./fpgm +p2 +vp4
d41 2
a42 2
	./charmrun ./fpgm +vp3 -write
	./charmrun ./fpgm +vp3 -read
d46 6
a51 6
	./charmrun ./pgm +p1 +vp1 +x1 +y1 +z1
	./charmrun ./pgm +p1 +vp2 +x1 +y1 +z1
	./charmrun ./pgm +p2 +vp1 +x2 +y1 +z1
	./charmrun ./pgm +p2 +vp2 +x2 +y1 +z1
	./charmrun ./pgm +p2 +vp3 +x2 +y1 +z1
	./charmrun ./pgm +p2 +vp4 +x2 +y1 +z1
d53 2
a54 2
	./charmrun ./pgm +vp3 -write +x3 +y1 +z1
	./charmrun ./pgm +vp3 -read  +x3 +y1 +z1
d60 1
a60 1
	./charmrun ./pgm +p2
@


1.9
log
@make to $MAKE.
@
text
@d31 13
@


1.8
log
@added bgtest for bigsim
@
text
@d46 1
a46 1
	make OPTS="-DENABLE_MIG=1 -memory isomalloc -balancer RandCentLB" pgm
@


1.7
log
@Added "test" targets to all Makefiles.
@
text
@d32 12
@


1.6
log
@Added "test-mig" makefile target, to test migration.
This enables the FEM_Migrate call, links in a load balancer,
and links in isomalloc heaps.
@
text
@d1 1
a1 1
CHARMC=../../../../bin/charmc $(OPTS) 
@


1.5
log
@Added -write and -read tests.
@
text
@d31 5
@


1.4
log
@Added "test" target to makefile.
@
text
@d27 4
@


1.3
log
@Added removal of charmrun as part of the clean target.
@
text
@d19 8
@


1.2
log
@Added a test program in fortran90.
@
text
@d18 1
a18 1
	rm -f pgm fpgm *.o conv-host
@


1.1
log
@Added a test program for fem framework.
@
text
@d3 1
a3 1
all: pgm
d11 6
d18 1
a18 1
	rm -f pgm *.o conv-host
@

