Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-04-02 18:29:42 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-04-02 18:29:42 +0300
commitb2f9ba2b646f55740fdf3d840b7607631bc9b20b (patch)
tree9f066a034e1b715888d9541acb17f6132dc579cb /scripts
parent27b36e0c96fcb2e2d09abde7eab6365b5354e8fd (diff)
revert last commit to add MASTER_PATH. Not needed
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ems/experiment.perl15
1 files changed, 3 insertions, 12 deletions
diff --git a/scripts/ems/experiment.perl b/scripts/ems/experiment.perl
index 599e377d0..a7ce88622 100755
--- a/scripts/ems/experiment.perl
+++ b/scripts/ems/experiment.perl
@@ -27,8 +27,7 @@ my ($CONFIG_FILE,
$VERBOSE,
$IGNORE_TIME,
$DELETE_CRASHED,
- $DELETE_VERSION,
- $MASTER_PATH
+ $DELETE_VERSION
);
my $SLEEP = 2;
@@ -60,8 +59,7 @@ die("experiment.perl -config config-file [-exec] [-no-graph]")
'verbose' => \$VERBOSE,
'sleep=i' => \$SLEEP,
'max-active=i' => \$MAX_ACTIVE,
- 'no-graph' => \$NO_GRAPH,
- 'master-path=s' => \$MASTER_PATH);
+ 'no-graph' => \$NO_GRAPH);
if (! -e "steps") { `mkdir -p steps`; }
die("error: could not find config file")
@@ -3455,14 +3453,7 @@ sub create_step {
$subdir = "lm" if $subdir eq "interpolated-lm";
open(STEP,">$file") or die "Cannot open: $!";
print STEP "#!/bin/bash\n\n";
-
- if (defined($MASTER_PATH)) {
- print STEP "PATH=\"$MASTER_PATH\"\n";
- }
- else {
- print STEP "PATH=\"".$ENV{"PATH"}."\"\n";
- }
-
+ print STEP "PATH=\"".$ENV{"PATH"}."\"\n";
print STEP "cd $dir\n";
print STEP "echo 'starting at '`date`' on '`hostname`\n";
print STEP "mkdir -p $dir/$subdir\n\n";