Sge:qsub/qstat/qdel/qhost mission delivery and monitoring

Source: Internet
Author: User

Reference:

Oracle Grid Engine

Qsub command

Sge-qsub usage Examples

Basic usage of SGE job

Qsub is the most stable underlying mission delivery system, which is to deliver a script to the cluster's compute nodes.

Note that only the login node is eligible to deliver the task, the compute node does not have permission to deliver the task, can only execute, so do not in the delivery script nested delivery, will error.

Here are my most commonly used delivery commands:

Qsub-cwd-l vf=5g-p Task Unit-q queue name

Explain first-by-article:

-CWD: It is current working directory, which starts the job from the present directory, that is, the log file will be written to the current directory, and if it is not, it will be output to the user's home directory by default. If you want to specify an output directory, you can use the WD command, and log will output to the directory you specify.

-l:resource=value, indicating the resources required for the job to run. You can see that we have specified the estimated memory vf=5g, and we don't normally specify the number of CPUs. Notice, the actual this no egg use, very few clusters can strictly limit the user's memory use, VF will only affect the efficiency of your delivery, someone will be loopholes, as far as possible to lower the memory to vote, as soon as possible. This part is actually a moral constraint.

-P: Large organizations will be divided into teams, sub-projects, different projects need to develop the project name, mainly for the latter to facilitate statistical calculation of the consumption of resources, calculate money, in fact, this command no eggs.

-Q: Specifies the queue name, this is very important, the queue is the computer's queue, a queue only a few specific compute nodes, you cast a node, you can only use the compute resources specified by the node.

To be Continued ~

Sge:qsub/qstat/qdel/qhost mission delivery and monitoring

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.