summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile10
-rw-r--r--setup_environment12
2 files changed, 11 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index e92f498..93709a7 100644
--- a/Makefile
+++ b/Makefile
@@ -109,24 +109,24 @@ check_setup_environment:
fi
check_power:
- @if [ -d "$(GPGPUSIM_ROOT)/src/mcpat/" -a ! -n "$(GPGPUSIM_POWER_MODEL)" ]; then \
+ @if [ -d "$(GPGPUSIM_ROOT)/src/gpuwattch/" -a ! -n "$(GPGPUSIM_POWER_MODEL)" ]; then \
echo ""; \
- echo " Power model detected in default directory ($(GPGPUSIM_ROOT)/src/mcpat) but GPGPUSIM_POWER_MODEL not set."; \
- echo " Please re-run setup_environment or manually set GPGPUSIM_POWER_MODEL to the mcpat directory if you would like to include the GPGPU-Sim Power Model."; \
+ echo " Power model detected in default directory ($(GPGPUSIM_ROOT)/src/gpuwattch) but GPGPUSIM_POWER_MODEL not set."; \
+ echo " Please re-run setup_environment or manually set GPGPUSIM_POWER_MODEL to the gpuwattch directory if you would like to include the GPGPU-Sim Power Model."; \
echo ""; \
true; \
elif [ ! -d "$(GPGPUSIM_POWER_MODEL)" ]; then \
echo ""; \
echo "ERROR ** Power model directory invalid."; \
echo "($(GPGPUSIM_POWER_MODEL)) is not a valid directory."; \
- echo "Please set GPGPUSIM_POWER_MODEL to the GPGPU-Sim mcpat directory."; \
+ echo "Please set GPGPUSIM_POWER_MODEL to the GPGPU-Sim gpuwattch directory."; \
echo ""; \
exit 101; \
elif [ -n "$(GPGPUSIM_POWER_MODEL)" -a ! -f "$(GPGPUSIM_POWER_MODEL)/gpgpu_sim.verify" ]; then \
echo ""; \
echo "ERROR ** Power model directory invalid."; \
echo "gpgpu_sim.verify not found in $(GPGPUSIM_POWER_MODEL)."; \
- echo "Please ensure that GPGPUSIM_POWER_MODEL points to a valid mcpat directory and that you have the correct GPGPU-Sim mcpat distribution."; \
+ echo "Please ensure that GPGPUSIM_POWER_MODEL points to a valid gpuwattch directory and that you have the correct GPGPU-Sim mcpat distribution."; \
echo ""; \
exit 102; \
fi
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.";