Permalink
Browse files

Update interactive.sh

  • Loading branch information...
mjsteinbaugh committed Oct 12, 2017
1 parent e82787b commit 90202a5b470b338059c9885e57085e27ded77869
Showing with 1 addition and 1 deletion.
  1. +1 −1 bash/interactive.sh
View
@@ -19,7 +19,7 @@ ram_mb="$(($ram_gb * 1024))"
echo "Launching interactive session with ${cores} core(s), ${ram_gb} GB RAM"
if [[ $HPC == "HMS RC O2" ]]; then
# `--x11` flag before `/bin/bash`
# `--x11` flag before `/bin/bash` requires `~/.ssh/config` set on local machine
srun -p interactive --pty --mem "$ram_mb" --time 0-12:00 --x11 /bin/bash
elif [[ $HPC == "HMS RC Orchestra" ]]; then
bsub -Is -W 12:00 -q interactive -n "$cores" -R rusage[mem="$ram_mb"] bash

0 comments on commit 90202a5

Please sign in to comment.