Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Updated the examples.
  • Loading branch information
mgermain committed Dec 4, 2014
1 parent ce8004a commit 7f14ae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
```
Expand All @@ -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.

Expand Down

0 comments on commit 7f14ae6

Please sign in to comment.