Closed grayskripko closed 7 years ago
This has to do with how we are building the command line for R package installation. We are currently using ;
instead of &&
. We can add the option for fail-fast for package installation? @paselem for input?
I think that this makes sense. Change our chaining to be && and fail on any command. I think this should also bleed into our work to list out all VMs which failed to run the start task correctly. @brnleehng We can push this into our upcoming debug/troubleshooting milestone.
By the way, the reason why 'ranger' does not install properly is custom Microsoft R configurations. Please consider the opportunity to help users in package installation process using the next lines in cluster.json file:
"commandLine": [
"r_conf=/usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf",
"sed -i 's/CXX1X = /CXX1X = gcc/g' $r_conf",
"sed -i 's/CXX1XFLAGS = /CXX1XFLAGS = -fpic/g' $r_conf",
"sed -i 's/CXX1XSTD =/CXX1XSTD = -std=c++11/g' $r_conf"
]
I lost one day for this problem.
@grayskripko - You nailed a known issue head on... Thanks for bringing this up. We are working closely with the Microsoft R Open team on this, and the fix is coming in the 3.5 release which is slated to ship very soon! Once that happens we hope to pull it in and resolve this issue.
Fixed with #91
I try to install 'ranger' on nodes. My cluster.json file looks like
I got a bunch of C++ errors on a node side
These installation problems do not affect the state of the nodes and all my nodes are 'Idle' after all and
doAzureParallel::makeCluster
does not notify me about package installation problems. I'm just going to getCannot find 'ranger'
error after running%dopar%
function. It is not obvious where the real error is located. I suggest adding a warning or an error when such node installation error occurs