Hi Thomas, Thanks a lot :-) On 6/15/07, Thomas Wenisch <[email protected]> wrote: > Hi Ali, > > The files are actually attached at the bottom of the message in the list > archive, but I have copy-pasted them into this message again. > > Here's Makefile: > > --- > > # DO-NOT-REMOVE begin-copyright-block > # > # Redistributions of any form whatsoever must retain and/or include the > # following acknowledgment, notices and disclaimer: > # > # This product includes software developed by Carnegie Mellon University. > # > # Copyright 2006 by Eric Chung, Brian Gold, Nikos Hardavellas, Jangwoo Kim, > # Ippokratis Pandis, Minglong Shao, Jared Smolens, Stephen Somogyi, > # Tom Wenisch, Anastassia Ailamaki, Babak Falsafi and James C. Hoe for > # the SimFlex Project, Computer Architecture Lab at Carnegie Mellon, > # Carnegie Mellon University. > # > # For more information, see the SimFlex project website at: > # http://www.ece.cmu.edu/~simflex > # > # You may not use the name 'Carnegie Mellon University' or derivations > # thereof to endorse or promote products derived from this software. > # > # If you modify the software you must place a notice on or within any > # modified version provided or made available to any third party stating > # that you have modified the software. The notice shall include at least > # your name, address, phone number, email address and the date and purpose > # of the modification. > # > # THE SOFTWARE IS PROVIDED 'AS-IS' WITHOUT ANY WARRANTY OF ANY KIND, EITHER > # EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO ANY WARRANTY > # THAT THE SOFTWARE WILL CONFORM TO SPECIFICATIONS OR BE ERROR-FREE AND ANY > # IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, > # TITLE, OR NON-INFRINGEMENT. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY > # BE LIABLE FOR ANY DAMAGES, INCLUDING BUT NOT LIMITED TO DIRECT, INDIRECT, > # SPECIAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF, RESULTING FROM, OR IN > # ANY WAY CONNECTED WITH THIS SOFTWARE (WHETHER OR NOT BASED UPON WARRANTY, > # CONTRACT, TORT OR OTHERWISE). > # > # DO-NOT-REMOVE end-copyright-block > include makefile.defs > > .PHONY: core install > > ifndef FLEXUS_ROOT > > .PHONY: stat-manager > > #determine what FLEXUS_ROOT should be > .DEFAULT core: > $(MAKE) $(SILENT_MAKE) FLEXUS_ROOT=`pwd` $@ > > list_targets: > $(MAKE) $(SILENT_MAKE) FLEXUS_ROOT=`pwd` $@ > > install: > $(MAKE) $(SILENT_MAKE) FLEXUS_ROOT=`pwd` -f makefile.install > install > > uninstall: > $(MAKE) $(SILENT_MAKE) FLEXUS_ROOT=`pwd` -f makefile.install > uninstall > > stat-manager: > @cd stat-manager ; $(MAKE) $(SILENT_MAKE) -f Makefile all > > else > # We know what Flexus root is. > > install: > $(MAKE) $(SILENT_MAKE) FLEXUS_ROOT=`pwd` -f makefile.install > install > > ifndef SETUP_OK > # Check the Flexus setup to make sure all paths are correct, Simics, and Boost > # are installed correctly. > > .DEFAULT core: > $(MAKE) $(SILENT_MAKE) -f makefile.checksetup > $(MAKE) $(SILENT_MAKE) SETUP_OK=true $@ > > else > # We have checked the Flexus setup and it is ok to proceed with the build > > ifndef TARGET_PARSED > # We need to parse the target name > # We break the target into a TARGET and a TARGET_SPEC, breaking up on the > first dash. All dashes are stripped out of both > > .DEFAULT core: > $(MAKE) $(SILENT_MAKE) TARGET_PARSED=true $(word 1,$(subst -, > ,$@)) "TARGET_OPTIONS=$(strip $(filter-out $(word 1,$(subst -, > ,$@)),$(subst -, ,$@)))" > > else > # We have split the target name and spec. Invoke the appropriate makefile > # to build whatever the target is > > # Pick the make target apart to see what it is. > # It could be: > # - a simulator, in which case: > # $@ names a directory under FLEXUS_ROOT/simulators > # - a special make target, in which case: > # Makefile.$@ exists and supports that target > # Otherwise, it is an error. In the case of an error, we print out all legal > targets > > .DEFAULT core: > if [[ -e makefile.$@ ]] ; then \ > $(MAKE) $(SILENT_MAKE) -f makefile.$@ $@ ; \ > elif [[ -d $(SIMULATORS_DIR)/$@ ]] ; then \ > $(MAKE) $(SILENT_MAKE) -f makefile.simulators $@ ; \ > elif [[ -d $(COMPONENTS_DIR)/$@ ]] ; then \ > $(MAKE) $(SILENT_MAKE) -f makefile.components $@ ; \ > else \ > if [[ "$@" != "list_targets" ]] ; then \ > echo "$@ is not a valid simulator or component." ; \ > fi ; \ > echo "Supported simulators:" ; \ > ls -ICVS $(SIMULATORS_DIR) ; \ > echo "Supported components:" ; \ > ls -ICVS $(COMPONENTS_DIR) ; \ > fi > > endif > endif > endif > > --- > Here's makefile.core > --- > # DO-NOT-REMOVE begin-copyright-block > # > # Redistributions of any form whatsoever must retain and/or include the > # following acknowledgment, notices and disclaimer: > # > # This product includes software developed by Carnegie Mellon University. > # > # Copyright 2006 by Eric Chung, Brian Gold, Nikos Hardavellas, Jangwoo Kim, > # Ippokratis Pandis, Minglong Shao, Jared Smolens, Stephen Somogyi, > # Tom Wenisch, Anastassia Ailamaki, Babak Falsafi and James C. Hoe for > # the SimFlex Project, Computer Architecture Lab at Carnegie Mellon, > # Carnegie Mellon University. > # > # For more information, see the SimFlex project website at: > # http://www.ece.cmu.edu/~simflex > # > # You may not use the name 'Carnegie Mellon University' or derivations > # thereof to endorse or promote products derived from this software. > # > # If you modify the software you must place a notice on or within any > # modified version provided or made available to any third party stating > # that you have modified the software. The notice shall include at least > # your name, address, phone number, email address and the date and purpose > # of the modification. > # > # THE SOFTWARE IS PROVIDED 'AS-IS' WITHOUT ANY WARRANTY OF ANY KIND, EITHER > # EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO ANY WARRANTY > # THAT THE SOFTWARE WILL CONFORM TO SPECIFICATIONS OR BE ERROR-FREE AND ANY > # IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, > # TITLE, OR NON-INFRINGEMENT. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY > # BE LIABLE FOR ANY DAMAGES, INCLUDING BUT NOT LIMITED TO DIRECT, INDIRECT, > # SPECIAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF, RESULTING FROM, OR IN > # ANY WAY CONNECTED WITH THIS SOFTWARE (WHETHER OR NOT BASED UPON WARRANTY, > # CONTRACT, TORT OR OTHERWISE). > # > # DO-NOT-REMOVE end-copyright-block > include makefile.defs > > .PHONY: core > > # This makefile is called with: > # $@ set to the name of the directory in which to build the simulator > # TARGET_OPTIONS first word as the target to build for that simulator > # TARGET_OPTIONS second word as the compiler to use > > DEBUG_SETTING_OVERRIDE=$(filter crit dev trace iface verb vverb > inv,$(TARGET_OPTIONS)) > DEBUG_SETTING=$(if $(DEBUG_SETTING_OVERRIDE),$(DEBUG_SETTING_OVERRIDE),iface) > > ICC_SELECTED=$(filter icc,$(TARGET_OPTIONS)) > DOXYGEN_SELECTED=$(filter doc,$(TARGET_OPTIONS)) > GCC_SELECTED=$(if $(ICC_SELECTED)$(DOXYGEN_SELECTED),$(filter > gcc,$(TARGET_OPTIONS)),gcc) > > override X86_SELECTED=$(filter x86,$(TARGET_OPTIONS)) > override V9_SELECTED=$(if $(X86_SELECTED),$(filter v9,$(TARGET_OPTIONS)),v9) > > TARGET_NO_DEBUG=$(strip $(filter-out crit dev trace iface verb vverb > inv,$(TARGET_OPTIONS))) > TARGET_NO_COMP=$(strip $(filter-out icc,$(filter-out gcc,$(TARGET_NO_DEBUG)))) > TARGET=$(strip $(filter-out v9,$(filter-out x86,$(filter-out > doc,$(TARGET_NO_COMP))))) > > .DEFAULT core: > ifeq ($(GCC_SELECTED),gcc) > ifeq ($(X86_SELECTED),x86) > cd $(CORE_DIR) ; $(MAKE) $(SILENT_MAKE) $(TARGET) SELECTED_CC=gcc > TARGET_PLATFORM=x86 SELECTED_DEBUG=$(DEBUG_SETTING) > endif > ifeq ($(V9_SELECTED),v9) > cd $(CORE_DIR) ; $(MAKE) $(SILENT_MAKE) $(TARGET) SELECTED_CC=gcc > TARGET_PLATFORM=v9 SELECTED_DEBUG=$(DEBUG_SETTING) > endif > endif > > ifeq ($(ICC_SELECTED),icc) > ifeq ($(X86_SELECTED),x86) > cd $(CORE_DIR) ; $(MAKE) $(SILENT_MAKE) $(TARGET) SELECTED_CC=icc > TARGET_PLATFORM=x86 SELECTED_DEBUG=$(DEBUG_SETTING) > endif > ifeq ($(V9_SELECTED),v9) > cd $(CORE_DIR) ; $(MAKE) $(SILENT_MAKE) $(TARGET) SELECTED_CC=icc > TARGET_PLATFORM=v9 SELECTED_DEBUG=$(DEBUG_SETTING) > endif > endif > > ifeq ($(DOXYGEN_SELECTED),doc) > cd $(CORE_DIR) ; $(MAKE) $(SILENT_MAKE) doc > endif > > > > On Fri, 15 Jun 2007, Ali Bakhoda wrote: > > > Hi, > > It seems that I have the same problem as described and solved here: > > https://sos.ece.cmu.edu/pipermail/simflex/2006-July/000236.html > > Does anybody have those fixed Make files? Can you send them to me please? > > Thanks a lot. > > _______________________________________________ > > SimFlex mailing list > > [email protected] > > https://sos.ece.cmu.edu/mailman/listinfo/simflex > > SimFlex web page: http://www.ece.cmu.edu/~simflex > > > _______________________________________________ > SimFlex mailing list > [email protected] > https://sos.ece.cmu.edu/mailman/listinfo/simflex > SimFlex web page: http://www.ece.cmu.edu/~simflex > From wxq at pact518.hit.edu.cn Thu Jun 21 09:18:22 2007 From: wxq at pact518.hit.edu.cn (=?gb2312?B?zfXP/si6?=) List-Post: [email protected] Date: Thu Jun 21 13:34:18 2007 Subject: [Simflex] How to use run-timing-jobs with UniFlex or CMPFlex? References: <[email protected]> Message-ID: <[email protected]>
RGVhciBhbGwsDQoNCkkgd2FudCB0byBtYWtlIGEgdGltaW1nIHNpbXVsYXRpb24gd2l0aCBpbi1v cmRlciBwcm9jZXNzb3JzLiANClRoZXJlIGlzIGFuIGV4YW1wbGUgZm9yIHJ1bi10aW1lLWpvYnMg aW4gcGFnZSAxMCBvZiAiRmxleHVzLUdldHRpbmctU3RhcnRlZC0yLjEuMSIsIHdoaWNoIGNhbiBs YXVuY2ggYSB0aW1pbmcgc2ltdWxhdGlvbiB3aXRoIGFuIG91dC1vZi1vcmRlciBwcm9jZXNzb3Ig Y29yZS4gQnV0IGl0IGRvZXNuJ3QgdGVsbCBtZSBob3cgdG8gbWFrZSBhIHRpbWluZyBzaW11bGF0 aW9uIHdpdGggc2luZ2xlIG9yIG11bHRpIGluLW9yZGVyIHByb2Nlc3NvcnMgKCItbWEiIGFuZCAi LWNmZyBPb08iIHNlZW0gbm90IHdvcmspLiBTbyB3aG8gY2FuIHRlbGwgbWUgaG93IHVzZSBydW4t dGltaW5nLWpvYnMgd2l0aCBVbmlGbGV4IG9yIENNUEZsZXg/ICANCg0KoaGhoQ0KDQoNCgkJCQkg DQogICAgICAgICAgICAgICBCZXN0IHJlZ2FyZHMNCgkJCSAgIHJpdGNoaWUgd2FuZw0KICAgICAg ICAgICAgICAgd3hxQHBhY3Q1MTguaGl0LmVkdS5jbg0KCQkJCQkyMDA3LTA2LTIxIA0K
