From d6c82eaee9489a4d187a266a7d76a3e09cde119f Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Mon, 7 Dec 2009 00:18:17 -0500 Subject: fix path --- training/cluster-ptrain.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'training/cluster-ptrain.pl') diff --git a/training/cluster-ptrain.pl b/training/cluster-ptrain.pl index 99369cdc..9f7c1569 100755 --- a/training/cluster-ptrain.pl +++ b/training/cluster-ptrain.pl @@ -8,8 +8,10 @@ my $MAX_ITER_ATTEMPTS = 5; # number of times to retry a failed function evaluati my $CWD=`pwd`; chomp $CWD; my $BIN_DIR = $SCRIPT_DIR; my $OPTIMIZER = "$BIN_DIR/mr_optimize_reduce"; -my $DECODER = "$BIN_DIR/cdec"; +my $DECODER = "$BIN_DIR/../src/cdec"; my $COMBINER_CACHE_SIZE = 150; +# This is a hack to run this on a weird cluster, +# eventually, I'll provide Hadoop scripts. my $PARALLEL = "/chomes/redpony/svn-trunk/sa-utils/parallelize.pl"; die "Can't find $OPTIMIZER" unless -f $OPTIMIZER; die "Can't execute $OPTIMIZER" unless -x $OPTIMIZER; -- cgit v1.2.3