From f27797b6b7e953b85810a7efbf57133b727eedbf Mon Sep 17 00:00:00 2001 From: Tayler Hetherington Date: Thu, 13 Dec 2012 10:42:08 -0800 Subject: Updating setup_environment and Makefile to use gpuwattch instead of mcpat (src/mcpat -> src/gpuwattch) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14799] --- setup_environment | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'setup_environment') diff --git a/setup_environment b/setup_environment index 63b1f21..8298965 100644 --- a/setup_environment +++ b/setup_environment @@ -99,18 +99,18 @@ fi # The following checks to see if the GPGPU-Sim power model is enabled. # GPGPUSIM_POWER_MODEL points to the directory where gpgpusim_mcpat is located. -# If this is not set, it checks the default directory "distribution/../mcpat/". -if [ -d $GPGPUSIM_ROOT/src/mcpat/ ]; then - if [ ! -f $GPGPUSIM_ROOT/src/mcpat/gpgpu_sim.verify ]; then - echo "ERROR ** gpgpu_sim.verify not found in $GPGPUSIM_ROOT/../mcpat"; +# If this is not set, it checks the default directory "$GPGPUSIM_ROOT/src/gpuwattch/". +if [ -d $GPGPUSIM_ROOT/src/gpuwattch/ ]; then + if [ ! -f $GPGPUSIM_ROOT/src/gpuwattch/gpgpu_sim.verify ]; then + echo "ERROR ** gpgpu_sim.verify not found in $GPGPUSIM_ROOT/src/gpuwattch"; return; fi - export GPGPUSIM_POWER_MODEL=$GPGPUSIM_ROOT/src/mcpat/; + export GPGPUSIM_POWER_MODEL=$GPGPUSIM_ROOT/src/gpuwattch/; echo "configured with GPUWattch."; elif [ -n "$GPGPUSIM_POWER_MODEL" ]; then if [ ! -f $GPGPUSIM_POWER_MODEL/gpgpu_sim.verify ]; then echo ""; - echo "ERROR ** gpgpu_sim.verify not found in $GPGPUSIM_ROOT/../mcpat/ - Either incorrect directory or incorrect McPAT version"; + echo "ERROR ** gpgpu_sim.verify not found in $GPGPUSIM_ROOT/src/gpuwattch/ - Either incorrect directory or incorrect McPAT version"; return; fi echo "configure with power model in $GPGPUSIM_POWER_MODEL."; -- cgit v1.3