diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-27 23:47:53 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-27 23:47:53 +0000 |
commit | 22712618e459abb9ab3a72b480b472fdd685b678 (patch) | |
tree | 60aa2e8d9eb738b2a378ee18fd1b68c35270f4a2 /vest | |
parent | a6b76d439a20e41e5c6f55837d33536c087de6e1 (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-x | vest/dist-vest.pl | 3 | ||||
-rwxr-xr-x | vest/parallelize.pl | 2 |
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 |