Skip to content
Permalink
Browse files

MAINT: Redirect only messages to stdout to catch possible errors

  • Loading branch information
pan14001 committed Jun 23, 2017
1 parent 8ab950b commit dcefe7b42e7d30c1ad3416805a9e66f13152c15c
Showing with 4 additions and 1 deletion.
  1. +4 −1 dietslurm-network.sh
@@ -46,7 +46,10 @@ slurm_ips() {
# None
# Returns: Path to h2o.jar installed by R "h2o" package
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.

0 comments on commit dcefe7b

Please sign in to comment.
You can’t perform that action at this time.