diff options
Diffstat (limited to 'setup_environment')
| -rw-r--r-- | setup_environment | 12 |
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."; |
