fixed mode with seq pose
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 21 Oct 2004 21:15:20 +0000 (21:15 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Thu, 21 Oct 2004 21:15:20 +0000 (21:15 +0000)
examples/pose/HiSim/BlueGene/Makefile
examples/pose/HiSim/BlueGene/util.h

index 6ff4f58fc1614b01db77df533be68e3dd8d173ef..3fafe7bc42d2d04b5e1d02ac9e000618feb0fe49 100644 (file)
@@ -39,7 +39,7 @@ OTHER = -lconv-bluegene-logs
 LIBS = -Lstdc++ -lm
 MACHINE = BlueGene
 
-all:  sqtest
+all:  
        @echo
        test -d ../tmp || mkdir ../tmp;
        for i in $(SUBDIRS) ; do \
@@ -48,7 +48,7 @@ all:  sqtest
 
        $(MAKE) $(OBJDIR)/InitNetwork.o  $(OBJDIR)/util.o
 
-       cd ../tmp; /bin/rm -f moduleinit.o; $(CHARMC) *.o $(OTHER) $(LIBS) -o $(PGM) -module pose -ltrace-projections -language charm++ 
+       cd ../tmp; /bin/rm -f moduleinit.o; $(CHARMC) *.o $(OTHER) $(LIBS) -o $(PGM) $(POSEMODULE) -ltrace-projections -language charm++ 
 
 $(OBJDIR)/InitNetwork.o: InitNetwork.C
        $(CHARMC) -o $@ -seq InitNetwork.C -I../Main -I./
@@ -56,16 +56,6 @@ $(OBJDIR)/InitNetwork.o: InitNetwork.C
 $(OBJDIR)/util.o: util.C
        $(CHARMC) -o $@ -seq util.C
 
-
-sqtest:
-ifeq ($(SEQUENTIAL),1)
-       cp  $(CHARMBASE)/lib/libmoduleseqpose.a $(CHARMBASE)/lib/libmodulepose.a
-       cp  $(CHARMBASE)/lib_so/libmoduleseqpose.so $(CHARMBASE)/lib_so/libmodulepose.so
-else
-       cp  $(CHARMBASE)/lib/libmoduleorigpose.a $(CHARMBASE)/lib/libmodulepose.a
-       cp  $(CHARMBASE)/lib_so/libmoduleorigpose.so $(CHARMBASE)/lib_so/libmodulepose.so
-endif
-
 clean:
        @echo
        for i in $(SUBDIRS) ; do \
index 9409f26f9412d13ca2262100fdaafbf5f79a0974..fc5e898dda1e5576f413fd8041bacc15f6c8db28 100644 (file)
@@ -128,7 +128,7 @@ public:
 class MachineParams {
 public:
        Config *config;
-       int procs;
+       int procs;      // num of simulating processors
        int BGnodes;
        
        MachineParams() {}