Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

-u, --user username
-r, --resource cluster name (galileog100, marconi, m100, dgx)
-p, --port port number
-h, --help print this help
sbatchfile: sbatch script to submit that needs to be in the subfolder with the name of the cluster (you can already find some examples)
path: running path where to find your jupyter notebook on the cluster for example (default path: $HOME)

Optionally, user, resource, and port can be defined in a params.sh file located in the resource folder or in the current directory. If even the file is not found, the script asks the values and save saves them in params.sh.

By default the batch script creates a forward-util directory in your cluster home where to copy the batch script and save the batch ouptutoutput. This default can be changed by setting RESOURCE_HOME in the params.sh file.


Usage exampleexamples

...

  1.  ./forward2

...

  1. -u

...

  1. <username> -r

...

  1. marconi

...

  1. -p

...

  1. 47703

...

  1. jupyter-conda

...

  1. /marconi_work/

...

  1. <project_

...

  1. name>

...

  1.  .

...

  1. /forward2

...

  1. jupyter-conda

...

  1. -r

...

  1. marconi

...

  1.  ./forward2 tensorboard1.10 -r marconi
  2.  ./forward2

...

  1. jupyter-conda

...

  1. /marconi_work/

...

  1. <project_

...

  1. name>

...

  1.  .

...

  1. /forward2

...

  1. -r

...

  1. g100 jupyter-

...

  1. conda
  2.  ./forward2

...

  1. -r

...

  1. dgx jupyter-lab

The script will output the different steps, and finally the instruction to connect, look for logs and end:

...