summaryrefslogtreecommitdiff
path: root/vest
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-27 23:47:53 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-27 23:47:53 +0000
commitac8544c5c53e0211a2c9778e4ba26f513cef9525 (patch)
tree971e160f8c47d6bee2c090da0edc977762b3e094 /vest
parentb458aa510b389f0bde27519207d563b6cc17744c (diff)
vest cpbin include sentclient
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@439 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'vest')
-rwxr-xr-xvest/dist-vest.pl3
-rwxr-xr-xvest/parallelize.pl2
2 files changed, 3 insertions, 2 deletions
diff --git a/vest/dist-vest.pl b/vest/dist-vest.pl
index fd4dbc0e..5f99d4f0 100755
--- a/vest/dist-vest.pl
+++ b/vest/dist-vest.pl
@@ -23,6 +23,7 @@ my $MAPPER = "$bin_dir/mr_vest_map";
my $REDUCER = "$bin_dir/mr_vest_reduce";
my $parallelize = "$bin_dir/parallelize.pl";
my $sentserver = "$bin_dir/sentserver";
+my $sentclient = "$bin_dir/sentclient";
my $SCORER = $FAST_SCORE;
die "Can't find $MAPPER" unless -x $MAPPER;
my $cdec = "$bin_dir/../decoder/cdec";
@@ -193,7 +194,7 @@ if ($dryrun){
} else {
-e $dir || mkdir $dir;
mkdir "$dir/hgs";
- modbin("$dir/bin",\$cdec,\$SCORER,\$MAPINPUT,\$MAPPER,\$REDUCER,\$parallelize,\$sentserver) if $cpbin;
+ modbin("$dir/bin",\$cdec,\$SCORER,\$MAPINPUT,\$MAPPER,\$REDUCER,\$parallelize,\$sentserver,\$sentclient) if $cpbin;
mkdir "$dir/scripts";
my $cmdfile="$dir/rerun-vest.sh";
open CMD,'>',$cmdfile;
diff --git a/vest/parallelize.pl b/vest/parallelize.pl
index be12eefb..a5a40704 100755
--- a/vest/parallelize.pl
+++ b/vest/parallelize.pl
@@ -238,7 +238,7 @@ my $script = "";
# fork == one thread runs the sentserver, while the
# other spawns the sentclient commands.
if (my $pid = fork) {
- sleep 4; # give other thread time to start sentserver
+ sleep 8; # give other thread time to start sentserver
$script =
qq{wait
$cdcmd$sentclient $host:$port:$key $cmd