Permalink
Browse files
MAINT: Redirect only messages to stdout to catch possible errors
- Loading branch information
Showing
with
4 additions
and
1 deletion.
-
+4
−1
dietslurm-network.sh
|
@@ -46,7 +46,10 @@ slurm_ips() { |
|
# None
|
|
# None
|
|
# Returns: Path to h2o.jar installed by R "h2o" package
|
|
# Returns: Path to h2o.jar installed by R "h2o" package
|
|
r_h2o_jarpath() {
|
|
r_h2o_jarpath() {
|
|
Rscript -e 'message(system.file(package = "h2o", "java", "h2o.jar"))' 2>&1
|
|
Rscript - <<EOF
|
|
|
|
sink(stdout(), type = "message")
|
|
|
|
message(system.file(package = "h2o", "java", "h2o.jar"))
|
|
|
|
EOF
|
|
}
|
|
}
|
|
|
|
|
|
# Launch h2o cluster in current SLURM allocation.
|
|
# Launch h2o cluster in current SLURM allocation.
|
|
|