summaryrefslogtreecommitdiff
path: root/setup_environment
diff options
context:
space:
mode:
authorTayler Hetherington <[email protected]>2012-12-13 10:42:08 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:49:23 -0700
commitf27797b6b7e953b85810a7efbf57133b727eedbf (patch)
treeadec7eb995189bcfa1ff3a65ea0b12fcd694a1ab /setup_environment
parenta4a321028023cb9d65d533adaa3b6c2c3b49eee2 (diff)
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]
Diffstat (limited to 'setup_environment')
-rw-r--r--setup_environment12
1 files changed, 6 insertions, 6 deletions
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.";