From 7f14ae6b2f391aefdcecd8329334ec3f8ad0640a Mon Sep 17 00:00:00 2001 From: Mathieu Germain Date: Thu, 4 Dec 2014 16:34:46 -0500 Subject: [PATCH] Update README.md Updated the examples. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dadcc06..b657d2b 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ See `smart_dispatch.py --help` ###Basic A batch composed of four variations of a simple command. -`smart_dispatch.py -q qtest@mp2 launch python my_script.py "1 2" 80 "tanh sigmoid" 0.1` +`smart_dispatch.py -q qtest@mp2 launch python my_script.py [1 2] 80 [tanh sigmoid] 0.1` This will generate 4 different commands and launch them on the queue qtest@mp2: ``` @@ -27,7 +27,7 @@ The output/error logs in are saved in the folder `./SMART_DISPATCH_LOGS/{job_id} ###Using a pool of workers -`smart_dispatch.py -q qtest@mp2 -p 2 launch python my_script.py "1 2" 80 "tanh sigmoid" 0.1` +`smart_dispatch.py -q qtest@mp2 -p 2 launch python my_script.py [1 2] 80 [tanh sigmoid] 0.1` This will behave exactly the same way as the basic example above but the number of jobs launched on the supercomputer will be 2 instead of 4 and each job will be in charge of running 2 commands each.