BigSubmission: Difference between revisions
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
DETAILS: | DETAILS: | ||
* The script works in the background, so you can deconnect from your session | |||
while it continues sending jobs. | |||
* Commented lines starting with '#' as well as empty lines will be omitted. | * Commented lines starting with '#' as well as empty lines will be omitted. | ||
* Each time a job is sent, it is deleted from myqsubcommands.txt, | * Each time a job is sent, it is deleted from myqsubcommands.txt, | ||
Line 33: | Line 35: | ||
Editing the command list live is possible although not recommended, | Editing the command list live is possible although not recommended, | ||
and should be done fast, with for instance `cat file2 >> myqsubcommands.txt` | and should be done fast, with for instance `cat file2 >> myqsubcommands.txt` | ||
* To read the logs, | * To read the logs, one suggests using `less -r logfile`, this way colors will be | ||
printed nicely. | printed nicely. | ||
</pre> | </pre> |
Revision as of 09:25, 12 September 2016
Submitting more than 2500 jobs to the cluster
Use the script big-submission on the UIs. Here's the help:
> big-submission -h This script will execute qsub lines taken from a file, making sure there's at least 1500 jobs present every 900 seconds for the user on the cluster. USAGE: big-submission myqsubcommands.txt with myqsubcommands.txt looking like: qsub -q localgrid /path/to/myscript1.sh qsub -q localgrid /path/to/myscript2.sh # qsub -q localgrid /path/to/myscript2.sh qsub -q localgrid /path/to/myscript2.sh big-submission -h : will print this help. DETAILS: * The script works in the background, so you can deconnect from your session while it continues sending jobs. * Commented lines starting with '#' as well as empty lines will be omitted. * Each time a job is sent, it is deleted from myqsubcommands.txt, ie the file always contains jobs not sent. This way, if you kill big-submission, you know what's left to send. * The lines that failed will be tried once more at the end. * The script is meant to run once per user. If you want to add some commands to send, [stop big-submission], add them to myqsubcommands.txt, [restart big-submission]. Editing the command list live is possible although not recommended, and should be done fast, with for instance `cat file2 >> myqsubcommands.txt` * To read the logs, one suggests using `less -r logfile`, this way colors will be printed nicely.