You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GridR needs to allow for custom package installation on remote nodes.
User solution
When the user initializes GridR:
> grid.init(service="bosco.direct", localTmpDir="tmp",
remotePackages=c("<path to package.tar.gz>", "<package2>", "<package3>"))
The packages listed in the remotePackages argument will be sent with the jobs and installed on the remote cluster. They will automatically be available in the R environment.
Proposed Solution
A proposed solution is for the user to provide source packages to be installed on the remote nodes. This can be done in the grid.init function call. The modifications would need to be:
Modify R-bootstrap.py to specify custom packages.
Will also need to install the custom packages on the worker node.
Modify grid.init to take custom package locations and save them to a variable.
Modify grid.apply and batch function to send the packages to the remote cluster and set the argumetns to R-bootstrap.py correctly.
The text was updated successfully, but these errors were encountered:
GridR needs to allow for custom package installation on remote nodes.
User solution
When the user initializes GridR:
The packages listed in the
remotePackages
argument will be sent with the jobs and installed on the remote cluster. They will automatically be available in the R environment.Proposed Solution
A proposed solution is for the user to provide source packages to be installed on the remote nodes. This can be done in the
grid.init
function call. The modifications would need to be:R-bootstrap.py
to specify custom packages.grid.init
to take custom package locations and save them to a variable.grid.apply
and batch function to send the packages to the remote cluster and set the argumetns toR-bootstrap.py
correctly.The text was updated successfully, but these errors were encountered: