From f87b461822387675ff4d95f6bb329506cf33b5ef Mon Sep 17 00:00:00 2001 From: Jeremy Auguste <jeremy.auguste@lis-lab.fr> Date: Wed, 5 Dec 2018 15:32:06 +0100 Subject: [PATCH] Updated look of README --- README.md | 26 +++++++++++++------------- README.org | 28 ++++++++++++++-------------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 9788618..1ac4d22 100644 --- a/README.md +++ b/README.md @@ -17,22 +17,22 @@ Here are the requirements for each script: ## OARGEN -The basic usage of `oargen` is simply `python oargen.py -r /command/` where *command* is the job +The basic usage of `oargen` is simply `python oargen.py -r command` where *command* is the job to execute on the cluster. Several options can be used: -- `--run`: run the job on the cluster. -- `--time` *TIME*: reservation walltime of your job. Accepted formats: *h*, *h:m* or *h:m:s*. Defaults to 10 hours. -- `--core` *NB\_CORES*: number of cores required by your job. Defaults to 1. -- `--interative`: launch job in interative mode instead of passive. -- `--gpu`: request GPUs. -- `--host` *host1* [ *host2* … *hostn* ]: name of the hosts allowed to be used on the cluster. -- `--ignore-host` *host1* [ *host2* … *hostn* ]: name of the hosts forbidden to be used on the cluster. -- `--anterior` *ANTERIOR\_ID*: job will only be launched once the job with the specified ID is finished. -- `--checkpoint` *delay*: enable the checkpoint signal with the given delay (in seconds). -- `--name` *name*: name of the job. -- `--directory` *directory*: directory in which will be stored the logs of the standard output and input. +- --run: run the job on the cluster. +- --time *TIME*: reservation walltime of your job. Accepted formats: *h*, *h:m* or *h:m:s*. Defaults to 10 hours. +- --core *NB\_CORES*: number of cores required by your job. Defaults to 1. +- --interative: launch job in interative mode instead of passive. +- --gpu: request GPUs. +- --host *host1* [ *host2* ... *hostn* ]: name of the hosts allowed to be used on the cluster. +- --ignore-host *host1* [ *host2* ... *hostn* ]: name of the hosts forbidden to be used on the cluster. +- --anterior *ANTERIOR\_ID*: job will only be launched once the job with the specified ID is finished. +- --checkpoint *delay*: enable the checkpoint signal with the given delay (in seconds). +- --name *name*: name of the job. +- --directory *directory*: directory in which will be stored the logs of the standard output and input. ## OARSTATS @@ -43,5 +43,5 @@ each user. It will also take into account the different queues. One option can be used: -- `--show-hosts`: Adds an extra line for each user indicating which hosts are being used. +- --show-hosts: Adds an extra line for each user indicating which hosts are being used. diff --git a/README.org b/README.org index f3c88c6..c280767 100644 --- a/README.org +++ b/README.org @@ -1,4 +1,4 @@ -#+options: toc:nil _:{} ^:{} +#+options: toc:nil _:{} ^:{} -:nil This repository groups a set of tools to easily use OAR. @@ -15,21 +15,21 @@ Here are the requirements for each script: ** OARGEN -The basic usage of ~oargen~ is simply ~python oargen.py -r /command/~ where /command/ is the job +The basic usage of ~oargen~ is simply ~python oargen.py -r command~ where /command/ is the job to execute on the cluster. Several options can be used: -+ =--run=: run the job on the cluster. -+ =--time= /TIME/: reservation walltime of your job. Accepted formats: /h/, /h:m/ or /h:m:s/. Defaults to 10 hours. -+ =--core= /NB_CORES/: number of cores required by your job. Defaults to 1. -+ =--interative=: launch job in interative mode instead of passive. -+ =--gpu=: request GPUs. -+ =--host= /host1/ [ /host2/ ... /hostn/ ]: name of the hosts allowed to be used on the cluster. -+ =--ignore-host= /host1/ [ /host2/ ... /hostn/ ]: name of the hosts forbidden to be used on the cluster. -+ =--anterior= /ANTERIOR_ID/: job will only be launched once the job with the specified ID is finished. -+ =--checkpoint= /delay/: enable the checkpoint signal with the given delay (in seconds). -+ =--name= /name/: name of the job. -+ =--directory= /directory/: directory in which will be stored the logs of the standard output and input. ++ --run: run the job on the cluster. ++ --time /TIME/: reservation walltime of your job. Accepted formats: /h/, /h:m/ or /h:m:s/. Defaults to 10 hours. ++ --core /NB_CORES/: number of cores required by your job. Defaults to 1. ++ --interative: launch job in interative mode instead of passive. ++ --gpu: request GPUs. ++ --host /host1/ [ /host2/ ... /hostn/ ]: name of the hosts allowed to be used on the cluster. ++ --ignore-host /host1/ [ /host2/ ... /hostn/ ]: name of the hosts forbidden to be used on the cluster. ++ --anterior /ANTERIOR_ID/: job will only be launched once the job with the specified ID is finished. ++ --checkpoint /delay/: enable the checkpoint signal with the given delay (in seconds). ++ --name /name/: name of the job. ++ --directory /directory/: directory in which will be stored the logs of the standard output and input. ** OARSTATS @@ -38,4 +38,4 @@ It will print some information about the number of jobs, cores and gpus used by each user. It will also take into account the different queues. One option can be used: -+ =--show-hosts=: Adds an extra line for each user indicating which hosts are being used. ++ --show-hosts: Adds an extra line for each user indicating which hosts are being used. -- GitLab