Skip to content

Commit

Permalink
Making Apply asynchronous
Browse files Browse the repository at this point in the history
For OSG Jira CAMPUS-120
  • Loading branch information
djw8605 committed Jul 16, 2013
1 parent d098557 commit a471cbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/grid.apply.R
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,9 @@ else if(.grid$service=="bosco.direct")
grid.lock(grid.input.Parameters.y)
#start remote script
#system(paste(.grid$remoteRPath," CMD BATCH --vanilla ", scriptName,"\"", sep=""))#, intern=TRUE)
system(paste(.grid$remoteRPath," CMD BATCH --vanilla ", scriptName, sep=""))#, intern=TRUE)
grid.waitSshResultFile(yName, paste(scriptName, "out", sep=""))
system(paste(R.home(component="bin"), "/R CMD BATCH --vanilla --slave ",paste(.grid$uniqueName, "-waitForReturn.R",sep=""), " &", sep=""))
system(paste(.grid$remoteRPath," CMD BATCH --vanilla ", scriptName, sep=""), wait=FALSE)#, intern=TRUE)
#grid.waitSshResultFile(yName, paste(scriptName, "out", sep=""))
#system(paste(R.home(component="bin"), "/R CMD BATCH --vanilla --slave ",paste(.grid$uniqueName, "-waitForReturn.R",sep=""), " &", sep=""))
}
}
}
Expand Down

0 comments on commit a471cbd

Please sign in to comment.