annotate scripts/aws_prepare.sh @ 610:01986636257a

Second check-in of Alex Brandmeyer's C++ implementation of CARFAC. Addressed style issues and completed implementation of remaining functions. Still needs proper testing of the output stages against the MATLAB version, and runtime functions need improvements in efficiency.
author alexbrandmeyer
date Thu, 16 May 2013 17:33:23 +0000
parents ae195c41c7bd
children
rev   line source
tomwalters@27 1 #!/bin/bash
tomwalters@27 2 # Run ami-2fc2e95b (32 bit) or ami-05c2e971 (64 bit) in eu-west zone
tomwalters@29 3 sudo apt-get -y update
tomwalters@36 4 sudo apt-get -y install subversion scons pkg-config libsndfile-dev build-essential libboost-dev
tomwalters@27 5 sudo mkdir /media/sounds-database
tomwalters@37 6 sudo mkdir /media/results
tomwalters@27 7 sudo mount /dev/sdf1 /media/sounds-database/
tomwalters@37 8 sudo mount /dev/sdg1 /media/results/
tomwalters@37 9 #cd /media/sounds-database/htk/htk/
tomwalters@37 10 #sudo make install
tomwalters@30 11 su ubuntu
tomwalters@30 12 cd /mnt/
tomwalters@38 13 sudo mkdir work
tomwalters@100 14 sudo chown `whoami` work
tomwalters@38 15 cd work
tomwalters@27 16 svn checkout http://aimc.googlecode.com/svn/trunk/ aimc-read-only
tomwalters@27 17 cd aimc-read-only
tomwalters@27 18 scons
tomwalters@27 19 cd ..
tomwalters@29 20 mkdir experiments
tomwalters@29 21 cd experiments
tomwalters@37 22 cp ../aimc-read-only/scripts/gen_features.sh ./
tomwalters@37 23 chmod u+x gen_features.sh
tomwalters@38 24 screen ./gen_features.sh $SNR_VALUE
tomwalters@37 25 tar -cf snr$SNR_VALUE.tar snr$SNR_VALUE/
tomwalters@37 26 cp snr$SNR_VALUE.tar /media/results/snr/
tomwalters@30 27 #sudo shutdown -h now