Commit 5cd27206 authored by Katharina Höflich's avatar Katharina Höflich

Simplify debugging/formatting

parent a767c940
#!/usr/bin/env bash
#PBS -N jupyterlab -o jupyterlab.out -j o
#PBS -N jupyterlab -o jupyterlab.%s.out -j o
#
# NEC frontends
# Frontends
#
# ./nesh-linux-cluster-jupyterlab.sh
# $ ./nesh-linux-cluster-jupyterlab.sh
#
# Linux cluster
#
# workflow for NEC Linux cluster:
# ```
# $ qsub nesh-linux-cluster-jupyterlab.sh -l elapstim_req=<hh:mm:ss> -b <node-no> -l cpunum_job=<cpu-no> -l memsz_job=<mem-size> -q <batch-class>
# $ ./nesh-linux-cluster-jupyterlab.sh <jobid>
# $ qdel <jobid> # free resources after you are done!
# ```
#
# short example:
# ```
#
# Linux cluster example
#
# $ qsub nesh-linux-cluster-jupyterlab.sh -l elapstim_req=00:05:00 -b 1 -l cpunum_job=4 -l memsz_job=8gb -q clmedium
# Request 134408.nesh-batch submitted to queue: clmedium.
#
# $ ./nesh-linux-cluster-jupyterlab.sh 134408
# 4.53 minutes remaining elapse time at host neshcl305
# [I 16:38:35.025 LabApp] http://neshcl305:8889/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
#
# $ qdel 134408
# Request 134408.nesh-batch was deleted.
# ```
#
if [ -n "${1}" ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment