@@ -33,17 +33,17 @@ Assume you have a few GPU servers: `server1`, `server2`, ... When you need to ru
3333
3434 $ scp server1:~/project/codes/results.dat .
3535
36- These steps are boring. &Sigma ;&Sigma ; <sub >Job</sub > makes these steps automatic.
36+ These steps are boring. &Sigma ;&Sigma ; <sub >Job</sub > makes all these steps automatic.
3737
3838## Features
3939
4040- Simple to use: commands ` gpuresource ` and ` submit ` are all your need
41- - Automatically choose available GPUs among all the servers
42- - interactively: just as the job is running in your local machine
43- + Display the output of the job in real time
41+ - Two modes: noninteractive mode, and interactive mode
42+ - Noninteractive mode: the job will be running in the background of the server
43+ + You can turn off your local machine
44+ - Interactive mode: just as the job is running in your local machine
45+ + Display the output of the program in the terminal of your local machine in real time
4446 + Kill the job by Ctrl-C
45- + Save the output in a log file
46- + Transfer back the files you specified
4747
4848## Usage
4949
@@ -53,21 +53,23 @@ Show the status of GPUs on all servers. For example,
5353
5454![ ] ( https://github.com/lululxvi/sumsjob/blob/master/docs/figs/gpuresource.png )
5555
56- ### ` $ submit jobfile jobname `
56+ ### ` $ submit jobfile [ jobname] `
5757
58- Automatically do the following:
58+ Submit a job to (GPU) servers. Automatically do the following steps :
5959
60- 1 . Find a server with free GPU
61- 1 . Copy the code to the server
62- 1 . Run the job on it
63- 1 . When the code finishes, transfer back the results
60+ 1 . Find a server with free GPU. You can specify the server and GPU ID by ` -s SERVER ` and ` --gpuid GPUID ` .
61+ 1 . Copy the code to the server.
62+ 1 . Run the job on it in noninteractive mode (default) or interactive mode (with ` -i ` ).
63+ 1 . Save the output in a log file.
64+ 1 . For interactive mode, when the code finishes, transfer back the result files and the log file.
6465
6566- ` jobfile ` : File to be run
6667- ` jobname ` : Job name, and also the folder name of the job. If not provided, a random number will be used.
6768
6869Options:
6970
7071- ` -h ` , ` --help ` : Show this help message and exit
72+ - ` -i ` , ` --interact ` : Submit as an interactive job
7173- ` -s SERVER ` , ` --server SERVER ` : Server host name
7274- ` --gpuid GPUID ` : GPU ID to be used; -1 to use CPU only
7375
0 commit comments