{"id":1376,"date":"2017-01-19T10:54:59","date_gmt":"2017-01-19T15:54:59","guid":{"rendered":"http:\/\/localhost:8280\/?p=1376"},"modified":"2017-01-19T11:02:01","modified_gmt":"2017-01-19T16:02:01","slug":"limiting-the-wall-time-of-a-job-qmax","status":"publish","type":"post","link":"https:\/\/knowledgebasev.kinsta.cloud\/?p=1376","title":{"rendered":"Limiting the Wall-time of a Job &#8211; qmax"},"content":{"rendered":"<p>Use the <em>qmax<\/em> command near the beginning of your PBS script.\u00a0The <em>qmax<\/em> command takes a single argument, the maximum walltime a job should run. You can specify the walltime in seconds, minutes, or hours by adding a &#8216;s&#8217;, &#8216;m&#8217;, or &#8216;h&#8217; suffix to qmax. Seconds are the default. For example, to limit a job to a maximum of 2 hours, your PBS script would look like this:<\/p>\n<pre>#PBS -l nodes=2:ppn=16:cobalt\r\n<strong>qmax 2h<\/strong>\r\nmodule load liggghts\r\nmpirun liggghts &lt; in.chute_wear<\/pre>\n<div class=\"st-alert st-alert-info \">Wall Time is the actual time (as shown on a wall clock) that a job runs.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Use the qmax command near the beginning of your PBS script.\u00a0The qmax command takes a single argument, the maximum walltime a job should run. You can specify the walltime in seconds, minutes, or hours by adding a &#8216;s&#8217;, &#8216;m&#8217;, or &#8216;h&#8217; suffix to qmax. Seconds are the default. For example, to limit a job to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50],"tags":[159,162,160,161],"class_list":["post-1376","post","type-post","status-publish","format-standard","hentry","category-userguideadvanced","tag-limit-wall-time","tag-max","tag-max-run-time","tag-qmax"],"_links":{"self":[{"href":"https:\/\/knowledgebasev.kinsta.cloud\/index.php?rest_route=\/wp\/v2\/posts\/1376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/knowledgebasev.kinsta.cloud\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/knowledgebasev.kinsta.cloud\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/knowledgebasev.kinsta.cloud\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/knowledgebasev.kinsta.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1376"}],"version-history":[{"count":4,"href":"https:\/\/knowledgebasev.kinsta.cloud\/index.php?rest_route=\/wp\/v2\/posts\/1376\/revisions"}],"predecessor-version":[{"id":1380,"href":"https:\/\/knowledgebasev.kinsta.cloud\/index.php?rest_route=\/wp\/v2\/posts\/1376\/revisions\/1380"}],"wp:attachment":[{"href":"https:\/\/knowledgebasev.kinsta.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/knowledgebasev.kinsta.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/knowledgebasev.kinsta.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}