You have to understand, most of these people are not ready to be unplugged. And many of them are so inured, so hopelessly dependent on the system, that they will fight to protect it.
Main /
MQueueMQUEUE - the manual queuing systemThis is a set of python scripts that maintain an external queue of job scripts. It is useful on the lxtccl2 cluster as the job scheduler on that machine is rather primitive and does not reorder jobs between different users. It would also be useful on other systems, whenever you have to manage more jobs than you can queue at one time. NEWS:2007-07-04: Added mqstat command. This works like qstat, but it also lists the pending jobs that MQueue hasn't submitted to the queue yet. 2006-11-30: Added the --top option to mqsub. This option causes the new job to be placed at the top of the queue. 2006-11-22: Python 2.5 is installed on all nodes of the cluster. It is therefore possible to use the mq programs directly from job scripts, without ssh to the frontend node. 2006-11-17: the scripts were updated to fix a problem where the slow update of 'qstat' could cause mq to think a job was still queued (and hence refuse to queue another) when in fact it had recently started running. This should not be possible now, so if it ever happens that you have jobs submitted to mqueue, but there is not at least one QUEUED job showing up in qstat, please let me know at ianmcc@physics.uq.edu.au To use:After installing (see below), the main commands are: mqsub: this is a direct replacement for qsub. Any supplied options are passed through to qsub as necessary. Just like qsub, you can either supply the filename of a job script, or, if none is supplied (or the filename is '-'), the script is read from standard input. Mqsub copies the job script to a temporary location, so it is safe to overwrite or delete the job script after mqsub has run. In addition, mqsub modifies the job script slightly to insert some queue control commands, so that any pending jobs are automatically queued whenever possible. By default, jobs will run in the order that they are submitted. The mqstat: This is just like qstat, but it also lists jobs that have been submitted with mqsub but have not yet been submitted to the queue. These show up as 'mqueue:pending' as the jobid. mq: this command looks through the pending jobs and, if there is room available, adds them to the PBS queue. Usually it is not necessary to run this program directly, as it is called automatically by the job script. There is also mqadd: this is a primitive version of mqsub that does not copy the job script, nor modify it to include any queue control commands. It just adds the script directly to the list of pending jobs. Normally, you would never use this command directly. InstallingGrab the scripts from the Subversion repository: svn co svn://lxtsma1.physik.rwth-aachen.de/ian/mptoolkit/trunk/scripts/mqueue Or, from the web at http://www.physik.rwth-aachen.de/~ianmcc/mqueue.tar.gz All of the files need to be accessible from The files mq, mqadd, mqassert, mqassertadd, mqsub, mqstat should have execute permissions. ConfigurationAll of the configuration is handled by Some important configuation items (
Discussion
|