head	1.2;
access;
symbols
	charm6_1:1.2
	charm_6_0_1:1.2
	charm6_0_1:1.2
	charm6_0:1.2
	ChaNGa_1-0:1.2
	charm5_9:1.2;
locks; strict;
comment	@# @;


1.2
date	2004.08.16.06.07.48;	author jagadish;	state Exp;
branches;
next	1.1;

1.1
date	2004.08.11.20.59.48;	author jagadish;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Added choice between adaptive and deterministic routing for Bluegene
Added choice for receiving multiple messages simulataneously (Bluegene has 6 reception fifos operating simulataneously)
Added input speedup variable which constrains the number of input vcs which can be simulataneously transfer data
put switch/channel/nic code into seperate files
Added util.* files in machine directories so that they can be extended as needed
For now Bluegene and IB are working. Simple changes to be made to HypercubeArch and Redstorm too.
@
text
@# NOTE: This is the basic Makefile template that includes the additional
#       Makefile.simulation makefile that is found in the location of the
#       current installation of POSE.
#
#	The Makefile.simulation set of rules allows the compilation of
#       a SINGLE simulation module. If multiple simulation modules are
#	desired, some "surgery" of Makefile.simulation (and this file)
#	will be required. 
#
# ***********************************************************************

# Default charmc options
# - changes here will be exported to upper level makefile
# *******************************************************
OPTS=-g#-DCMK_OPTIMIZE=1 -DCMK_MEMCHECKS_OFF=1

CHARMBASE=../../../../
CHARMBIN=$(CHARMBASE)/bin
CHARMINC=$(CHARMBASE)/include

CHARMC=$(CHARMBIN)/charmc -I$(CHARMINC)/pose $(OPTS)

# Default Location variables
# **************************
#POSE_ROOT=$(HOME)/charm/net-linux/lib

# Default module names
# - MAKE MODIFICATIONS HERE
# *************************
#LIBS=/expand8/home/guna/charm/src/langs/bluegene/blue_seq.o

# Simulation object definitions 
# *****************************

ROUTINGDIR = ../Routing
TOPOLOGYDIR = ../Topology
OUTPUT_VCSELECTIONDIR = ../OutputVcSelection
INPUT_VCSELECTIONDIR = ../InputVcSelection
MAINDIR = ../Main
SUBDIRS = $(MAINDIR) $(ROUTINGDIR) $(TOPOLOGYDIR) $(OUTPUT_VCSELECTIONDIR) $(INPUT_VCSELECTIONDIR)
PGM = pgm
OTHER = -lconv-bluegene-logs
LIBS = -Lstdc++ -lm
MACHINE = IB

all: 
	@@echo
	for i in $(SUBDIRS) ; do \
	( cd $$i ; make $(MACHINE) MACHINE="../$(MACHINE)" ) ; \
	done

	$(CHARMC) -o InitNetwork.o -seq InitNetwork.C -I../Main -I./ 
	$(CHARMC) -o util.o -seq util.C
	cp *.o ../tmp

	cd ../tmp;$(CHARMC) *.o $(OTHER) $(LIBS) -o $(PGM) -lpose -ltrace-projections -language charm++ -module commlib


clean:
	@@echo
	for i in $(SUBDIRS) ; do \
	( cd $$i ; make clean ) ; \
	done
	cd ../tmp; rm -f *.o; rm -f charmrun; rm -f module*; rm -f $(PGM)
	rm -f *.o
@


1.1
log
@*** empty log message ***
@
text
@d46 1
a46 1
all:
d52 4
a55 1
	$(CHARMC) -o InitNetwork.o -seq InitNetwork.C -I../Main -I./ ; cp InitNetwork.o ../tmp
d58 1
@

