Appendix: About Command Options
This section describes the command options available for M:Arthur.
The following command options are available for job scheduling from M:Arthur.
M:Arthur will execute the command with the following command options and input arguments listed together.
The following command options and their arguments are used in M:Arthur.
For OpenPBS
| Item | Argument Guide | Example of Argument Entry When Executing With M:Arthur |
|---|---|---|
| -e | [path] | /home/user/errors.txt |
| -f | no | no |
| -lnodes | <value> | 2 |
| -lppn | <value> | 4 |
| -lmem | <size>[units] | 8gb |
| -lwalltime | [hh:mm:ss] | 24:00:00 |
| -pmem | <size>[units] | 500mb |
| -N | [jobname] | sample_simulation |
| -o | [-o path] | /home/user/sample_output.txt |
| -p | <value> | 10 |
| -q | [queuename] | sample_queue |
| -v | [key=value,key=value, …] | PATH=/usr/local/bin,LD_LIBRARY_PATH=/usr/local/lib |
| -V | none | none |
For Slurm
| Item | Argument Guide | Example of Argument Entry When Executing With M:Arthur |
|---|---|---|
| –cores-per-socket= | <cores> | 8 |
| –cpus-per-gpu= | <ncpus> | 2 |
| -c | <ncpus> | 4 |
| –cpus-per-task= | <ncpus> | 4 |
| –deadline= | <OPT> | 2024-12-31T23:59:59 |
| -G | <number> | 2 |
| –gpus= | [type:]<number> | tesla:4 |
| –gpus-per-node= | [type:]<number> | 4 |
| –gpus-per-socket= | [type:]<number> | 2 |
| –gpus-per-task= | [type:]<number> | 1 |
| –mem= | <size>[units] | 32G |
| –mem-per-cpu= | <size>[units] | 4G |
| –mem-per-gpu= | <size>[units] | 16G |
| –mincpus= | <n> | 4 |
| –nice | [=adjustment] | 10 |
| -N | <minnodes>[-maxnodes] | 2 |
| –nodes= | <minnodes>[-maxnodes]|<size_string> | 1-4 |
| -n | <number> | 8 |
| –ntasks= | <number> | 8 |
| –ntasks-per-core= | <ntasks> | 2 |
| –ntasks-per-gpu= | <ntasks> | 1 |
| –ntasks-per-node= | <ntasks> | 4 |
| –ntasks-per-socket= | <ntasks> | 2 |
| -p | <partition_names> | short |
| –partition= | <partition_names> | short |
| –priority= | <value> | 1000 |
| –sockets-per-node= | <sockets> | 2 |
| –threads-per-core= | <threads> | 2 |
| -t | <time> | 02:00:00 |
| –time= | <time> | 02:00:00 |
| –wait-all-nodes= | <value> | 1 |
| –workdir= | [dir_name] | /path/to/workdir |
Tips
The options shown above work equally well with command line execution options.
For example, if the environment and execution conditions were as follows
For example, if the environment and execution conditions were as follows,
- Job Scheduler: OpenPBS
- User name: SampleUser
- Execution column (separately in Settings): /home/sample/sample.sh
- The argument of the item “-lppn” is “4”
The following command execution corresponds to the following.
sudo -u SampleUser qsub -lppn 4 /home/sample/sample.sh