-
Notifications
You must be signed in to change notification settings - Fork 20
We have worked very hard that it does, which was far from trivial. Run debugMulticore. If you are a Linux Guru (tm) look at linux-helper. Mail us the debug output (and a possible explanation). Also note that the constructor [makeClusterFunctionsMulticore](http://www.statistik.tu-dortmund.de/~bischl/rdocs/BatchJobs/html/makeClusterFunctionsMulticore.html makeClusterFunctionsMulticore) allows the definition of the command-line options that Rscript / R CMD BATCH are called with. Depending on what goes on in your R profile files, you might want to change those.
We have worked very hard that it does, which was far from trivial. Do all your nodes share a common file system? Can you log into all of them without typing in passwords? Are all necessary environment variables defined so one can run R in non-interactive shells? Run debugSSH. If you are a Linux Guru (tm) look at linux-helper. Mail us the debug output (and a possible explanation). Also note that the constructor makeSSHWorker used for [makeClusterFunctionsSSH](http://www.statistik.tu-dortmund.de/~bischl/rdocs/BatchJobs/html/makeClusterFunctionsSSH.html makeClusterFunctionsSSH) allows the definition of the command-line options that Rscript / R CMD BATCH are called with. Depending on what goes on in your R profile files, you might want to change those.
We try to test on all systems available to us, but sometimes there are subtle differences in the outputs of OS commands, etc. Define a very simple test like batchMap(reg, identity, 1) and set the debug option to TRUE as described in the [Configuration] section. Now have a look at the output in R and inspect the job file which was generated from your brew template (in the "jobs" subdirectory of your registry directory if debug mode was turned on). Please mails us this information, so we fix the bug, possibly with your interpretation of the error. If you want to, you could also have a look the [https://code.google.com/p/batchjobs/source/browse/trunk/BatchJobs/skel/R/ source code ] of the respective cluster functions, they are all named "clusterFunctions{System}.R" and some helper functions are placed in [https://code.google.com/p/batchjobs/source/browse/trunk/BatchJobs/skel/R/clusterFunctionsHelpers.R clusterFunctionsHelpers.R]. The code is not very lengthy and should be simple to understand.