Commit 1e60d754 authored by Mitch Burnett's avatar Mitch Burnett
Browse files

Modify install script

Finish making the install script accept a different install location. There is a
weird bug where when the beamformer is not installed to the production site of
/home/groups/flag/hash that the Makefile incorrectly uses the wrong CUDA path.
This was overcome temporarily by passing the $CUDA path into the Makefile.
parent 28fc1ef6
Showing with 3 additions and 3 deletions
+3 -3
......@@ -11,7 +11,7 @@ fi
# Set default install location if prefix is not in environment
if [ -z ${prefix+x} ]
then
prefix=/home/groups/flag/hash/
prefix=/home/groups/flag/hash
fi
echo "Installing FLAG to ${prefix}"
......@@ -79,8 +79,8 @@ echo "========================================"
echo "Navigating to $BEAM_SRC"
cd $BEAM_SRC
make clean
make
make install prefix=$prefix
make CUDA_DIR=$CUDA
make install prefix=$prefix CUDA_DIR=$CUDA
echo "========================================"
echo
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment