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


1.10
date	2007.10.17.01.12.46;	author gzheng;	state Exp;
branches;
next	1.9;
commitid	2e49471561864567;

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

1.8
date	2004.10.13.03.28.06;	author olawlor;	state Exp;
branches;
next	1.7;

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

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

1.5
date	2000.12.17.08.03.42;	author milind;	state Exp;
branches;
next	1.4;

1.4
date	2000.09.10.08.54.32;	author milind;	state Exp;
branches;
next	1.3;

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

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

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


desc
@@


1.10
log
@added TESTOPTS
@
text
@CHARMC=../../../bin/charmc $(OPTS)
COMMON_OBJS=	config.o mesh.o node.o \
	lst_NL.o lst_coh2.o
FEM_OBJS=fem_main.o fem_mesh.o $(COMMON_OBJS)
SERIAL_OBJS=serial_main.o $(COMMON_OBJS)

all: pgm

# Common files:
config.o: config.C crack.h
	$(CHARMC) -c config.C

mesh.o: mesh.C crack.h
	$(CHARMC) -c mesh.C

node.o: node.C crack.h
	$(CHARMC) -c node.C

lst_NL.o: lst_NL.C crack.h
	$(CHARMC) -c lst_NL.C

lst_coh2.o: lst_coh2.C crack.h
	$(CHARMC) -c lst_coh2.C


# FEM parallel program
fem_main.o: fem_main.C crack.h
	$(CHARMC) -c fem_main.C

fem_mesh.o: fem_mesh.C crack.h
	$(CHARMC) -c fem_mesh.C

pgm: $(FEM_OBJS)
	$(CHARMC) -o pgm $(FEM_OBJS) -language fem -module netfem

# Simple serial program
serial_main.o: serial_main.C crack.h
	$(CHARMC) -c serial_main.C

serial: $(SERIAL_OBJS)
	$(CHARMC) -o serial $(SERIAL_OBJS) -seq -language c++


test: pgm
	./charmrun ./pgm +p2 +vp4 $(TESTOPTS)

bgtest: pgm
	./charmrun ./pgm +p2 +vp4 +x2 +y2 +z1 $(TESTOPTS)

clean:
	rm -rf *.o pgm *.sts *.log *.bak *~ SunWS_cache ii_files ti_files
	rm -f conv-host getmesh charmrun

veryclean: clean
	rm -f *.mesh *.graph meshdata.*
@


1.9
log
@setup for bgtest
@
text
@d45 1
a45 1
	./charmrun ./pgm +p2 +vp4
d48 1
a48 1
	./charmrun ./pgm +p2 +vp4 +x2 +y2 +z1
@


1.8
log
@Added "test" targets to all Makefiles.
@
text
@d47 3
@


1.7
log
@Added calls to NetFEM.
@
text
@d1 1
a1 1
CHARMC=../../../../bin/charmc $(OPTS)
@


1.6
log
@Major reorganization and cleaning--separated FEM-specific
code (fem_*) from rest of code, to show how to write a
serial-or-FEM program.  Also updated for new FEM framework
"mesh" interface.

Still needed:
  -Example problem with cohesive elements
  -NetFEM output (and/or a real output file)
@
text
@d34 1
a34 1
	$(CHARMC) -o pgm $(FEM_OBJS) -language fem 
d43 3
@


1.5
log
@Added removal of charmrun as part of the clean target.
@
text
@d2 10
d13 2
a14 1
all: getmesh pgm
d16 2
a17 2
getmesh: getmesh.C
	$(CHARMC) -seq -o getmesh getmesh.C -language c++
d19 2
a20 3
pgm: driver.o readfile.o volume.o lst_NL.o lst_coh2.o
	$(CHARMC) -o pgm readfile.o volume.o lst_NL.o lst_coh2.o driver.o \
	  -language fem 
d22 2
a23 2
readfile.o: readfile.C crack.h
	$(CHARMC) -c readfile.C
a24 2
driver.o: driver.C crack.h
	$(CHARMC) -c driver.C
d26 13
a38 2
volume.o: volume.C crack.h
	$(CHARMC) -c volume.C
d40 2
a41 2
lst_NL.o: lst_NL.C crack.h
	$(CHARMC) -c lst_NL.C
a42 2
lst_coh2.o: lst_coh2.C crack.h
	$(CHARMC) -c lst_coh2.C
@


1.4
log
@Modified to suit the new interface for registering and retrieving user's data.
@
text
@d29 1
a29 1
	rm -f conv-host getmesh
@


1.3
log
@Fixed some more bugs. Now crack2D runs on multiple processors.
@
text
@d29 4
a32 1
	rm -f conv-host getmesh *.mesh meshdata.*
@


1.2
log
@Fixed most of the bugs that caused sigsegv on multiple chunks.
now the bugs are limited to fp exceptions.
@
text
@d1 1
a1 1
CHARMC=../../../../bin/charmc $(OPTS) -TARG:exc_max=OZV:exc_min=OZV
@


1.1
log
@Added the 2D crack propagation program. Works on 1 partition, to be tested with
multiple partitions.
@
text
@d1 2
a2 1
CHARMC=../../../../bin/charmc $(OPTS)
@

