changeset 30:5b1586a234f1

-More updates for EC2
author tomwalters
date Wed, 24 Feb 2010 15:08:55 +0000
parents 5e888fbaaa80
children fa06bfacf004
files scripts/HTKAimfeat.sh scripts/aws_prepare.sh
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/HTKAimfeat.sh	Wed Feb 24 14:49:35 2010 +0000
+++ b/scripts/HTKAimfeat.sh	Wed Feb 24 15:08:55 2010 +0000
@@ -46,10 +46,10 @@
 SOUND_SOURCE="/media/sound-database/cnbh-sounds"
 
 # Location of the AIMCopy binary if not in the path
-AIMCOPY_PREFIX="./aimc-read-only/build/posix-release/"
+AIMCOPY_PREFIX="../aimc-read-only/build/posix-release/"
 
 # Location of HTK binaries if not in the path
-HTK_PREFIX="/media/sound-database/htk/bin/"
+HTK_PREFIX=""
 
 # Names of various internal files and directories. 
 # Rename here if you don't like them for some reason.
--- a/scripts/aws_prepare.sh	Wed Feb 24 14:49:35 2010 +0000
+++ b/scripts/aws_prepare.sh	Wed Feb 24 15:08:55 2010 +0000
@@ -4,6 +4,10 @@
 sudo apt-get -y install subversion scons pkg-config libsndfile-dev build-essential
 sudo mkdir /media/sounds-database
 sudo mount /dev/sdf1 /media/sounds-database/
+cd /media/sounds-database/htk/htk/
+sudo make install
+su ubuntu
+cd /mnt/
 svn checkout http://aimc.googlecode.com/svn/trunk/ aimc-read-only
 cd aimc-read-only
 scons
@@ -13,4 +17,6 @@
 cp ../aimc-read-only/scripts/HTKAimfeat.sh ./
 chmod u+x HTKAimfeat.sh
 ./HTKAimfeat.sh _ec2_first_try
-
+tar -cf work_ec2_first_try.tar work_ec2_first_try/
+cp work_ec2_first_try.tar /media/sounds-database/experiment-results/
+#sudo shutdown -h now
\ No newline at end of file