summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2009-12-07 00:18:17 -0500
committerChris Dyer <redpony@gmail.com>2009-12-07 00:18:17 -0500
commitd6c82eaee9489a4d187a266a7d76a3e09cde119f (patch)
treefd2d12054e18174afcdafedf5cdd667a1b456d60
parent0485712e2ccf98efe50f97963438df53af76964c (diff)
fix path
-rwxr-xr-xtraining/cluster-ptrain.pl4
1 files changed, 3 insertions, 1 deletions
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;