[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-503589-105":3,"detail-sidebar-cat-0-en-105":85,"doc-detail-503589-en":134,"doc-similar-503589":164},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":78,"head_meta":80,"extra_data":82,"updated_unix":84},105,"en","starting-casper-jobs-with-pbs-pro-scheduling-on-casper-with-pbs-pro","Starting Casper Jobs with PBS Pro - Scheduling on Casper with PBS Pro","","Guide to submitting and managing Casper computational jobs using PBS Pro. Covers batch and interactive workflows via qsub, qsubcasper, and execcasper, including routing through the casper queue and conditional execution queues based on requested resources. Explains job and chunk resource concepts (walltime, gpu_type, cpu_type, place; ncpus, mem, ngpus, etc.), common resource request directives and execcasper shortcut flags, plus handling job dependencies and exclusive resource scheduling for CPU, memory, and GPUs.",{"@graph":14,"@context":77},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/starting-casper-jobs-with-pbs-pro-scheduling-on-casper-with-pbs-pro/503589/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/starting-casper-jobs-with-pbs-pro-scheduling-on-casper-with-pbs-pro/503589.png","ImageObject",300,407,{"name":42,"@type":43},"cryingin4k","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-25","2026-10-03",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",9,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69,73],{"name":60,"@type":61,"acceptedAnswer":62},"How do I submit a batch or interactive job on Casper using PBS Pro?","Question",{"text":63,"@type":64},"Submit batch jobs with qsub, qsubcasper, or execcasper. Jobs start in the casper queue and are conditionally routed to an execution queue based on the resources requested.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What are the two resource types in PBS Pro described for Casper jobs?",{"text":68,"@type":64},"PBS Pro distinguishes job resources and chunk resources. Job resources apply to all chunks, while chunk resources are collectively specified in a select statement.",{"name":70,"@type":61,"acceptedAnswer":71},"How does execcasper differ for interactive sessions compared with Slurm?",{"text":72,"@type":64},"execcasper starts an interactive session with default resources. Unlike Slurm, resources on the primary node are always assigned to the shell, making them available to programs you run.",{"name":74,"@type":61,"acceptedAnswer":75},"Are resources exclusive on Casper when using PBS Pro?",{"text":76,"@type":64},"Yes. The CPUs and node memory you request are reserved exclusively for your job, and V100 GPUs are also scheduled for exclusive use. GP100 GPUs may be shared on visualization nodes.","https://schema.org",{"og:url":32,"og:type":79,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":81,"canonical":32},"index,follow",{"doc_id":83,"site_id":7},503589,1791415551,{"code":4,"msg":86,"data":87},"success",[88,92,96,100,105,109,114,119,123,126,130],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},"Exam",70,"exam",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},5,"Comic",60,"comic",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":107,"slug":108},6,50,"technology",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},7,"Healthcare",40,"healthcare",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},8,"Research & Report",30,"research-report",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":121,"slug":122},"Religion & Spirituality",20,"religion-spirituality",{"id":121,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":121,"slug":125},"World Cup","world-cup",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":127,"slug":129},10,"Lifestyle","lifestyle",{"id":131,"doc_module":4,"doc_module_name":25,"category_name":132,"show_sort_weight":101,"slug":133},19,"General","general",{"code":4,"msg":86,"data":135},{"doc_id":83,"user_id":136,"nickname":42,"user_avatar":137,"doc_module":4,"category_id":106,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":138,"file_id":139,"file_url":140,"file_type":141,"file_size":142,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":131,"language":143,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":144,"faqs":145,"seo_title":146,"seo_description":12,"update_tm":147,"read_time":148,"preview_page_count":33,"preview_urls":149},137458181193,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Starting Casper Jobs with PBS Pro  \nBrian Vanderwende  \nCISL Consulting Services  \nMarch 30, 2021  \nThis material is based upon work supported by the National Center for Atmospheric Research, which is a major facility sponsored by the National Science Foundation under Cooperative Agreement No. 1852977.  \nOverview of how PBS Pro scheduling works on Casper  \n1. Submit batch or interactive job with qsub, qsubcasper, or execcasper  \n2. Jobs are initially submitted to the casper queue (a routing queue in PBS terminology), which is similar to the dav partition in Slurm  \n3. PBS then conditionally routes the job to an execution queue based on the speciﬁc resources requested  \n4. Your job will start with a default environment on Casper, so load modulesand set environment variables at the start of your job  \nSubmit to: Job executes on:  \nScheduling on Casper with PBS Pro 4  \nSubmitting batch jobs with qsub and qsubcasper  \n\\#!/bin/bash  \n\\#PBS -A PROJ0001  \n\\#PBS -N ML_job  \n\\#PBS -j oe  \n\\#PBS -o mljob.log  \n\\#PBS -q casper  \n\\#PBS -l walltime=10:00:00  \n\\#PBS -l select=1:ncpus=8:mem=40GB:ngpus=1  \n\\#PBS -l gpu_type=v100  \n\\#\\#\\# Application temp data to scratch export TMPDIR=/glade/scratch/$USER/temp mkdir -p $TMPDIR  \n\\#\\#\\# Activate Python environment and run module load python  \nncar pylib  \npython ml [driver.py](driver.py)  \n\\#\\#\\# Store job statistics in log file qstat -f $PBS_JOBID  \nSubmit from Cheyenne:  \nqsubcasper ml_script.pbs  \nSubmit from Casper:  \nqsub ml_script.pbs  \n• Here, we request a 10-hour job with 8 CPU cores, 1 V100 GPU, and 40 GB of node memory  \n• This job is submitted to the casper queue and will execute on the gpgpu queue  \nScheduling on Casper with PBS Pro 5  \nResource request fundamentals in PBS Pro  \nPBS has two types of resources-job resources and chunk resources. A job will consist of one or more chunks. Job resources will apply to all chunks.  \nJob-level: walltime, gpu_type, cpu_type, place  \nChunk-level: ncpus, mpitasks, ompthreads, ngpus, mem  \nEach job resource is speciﬁed in its own directive, while chunk resources are collectively speciﬁed in a select statement.  \nJob-level: \\#PBS -l cpu_type=skylake  \nChunk-level: \\#PBS -l select=2:ncpus=8:mem=80GB  \nScheduling on Casper with PBS Pro 6  \nSubmitting interactive jobs with execcasper  \nexeccasper provides a simple command for starting an interactive session  \n• Default resources: 1 core on 1 HTC node, 10 GB of node memory, and a six-hour walltime  \n• Unlike Slurm, all resources on the primary node are always assigned to the shell, and thus are available to any programs you run  \n• Specify a project using-A ﬂag or by setting DAV_PROJECT env variable  \n• All qsub ﬂags are supported by execcasper  \n\\# Set project in shell (tcsh here) and start 2-hour HTC session  \ncheyenne1$ setenv DAV_PROJECT PROJ0001  \ncheyenne1$ execcasper -l walltime=02:00:00  \n\\# Request 18 MPI processes and 4 V100 GPUs and 100GB of memory  \ncasper-login2$ execcasper -l select=1:ncpus=18:mpitasks=18:ngpus=4:mem=100GB -l gpu_type=v100  \nScheduling on Casper with PBS Pro 7  \nQuick speciﬁcation ﬂags to easily customize resources  \nexeccasper also provides custom ﬂags to quickly modify a single resource without specifying entire select statement  \n--nchunks=N  \n--ntasks=N  \n--nthreads=N  \n--ngpus=1-8  \n--mem=NGB  \n\\# These two calls to execcasper both request a single core with 20 GB of memory cheyenne1$ execcasper -A PROJ0001 -l select=1:ncpus=1:mem=20GB  \ncheyenne1$ execcasper -A PROJ0001 --mem=20GB  \nScheduling on Casper with PBS Pro 8  \nJob dependencies in PBS Pro  \n• Dependencies are similar to Slurm dependencies:  \n– after = all jobs in list have started  \n– afterok, afternotok = all jobs in list have succeeded/failed  \n– afterany = all jobs in list have exited with any status  \n• Not yet supported between Cheyenne and Casper jobs  \n\\#!/bin/bash  \n\\#PBS -N GPU model  \n\\#PBS -A PROJ0001  \n\\#PBS -l walltime=10:00:00  \n\\#PBS -q casper  \n\\#PBS -l select=1:ncpus=8:mem=100GB:ngpus=4 ","cbCairhLaTainPHr","https://ap.wps.com/l/cbCairhLaTainPHr","pdf",716719,"English","# Overview\n## Submitting batch jobs with qsub and qsubcasper\n## Resource request fundamentals\n## Submitting interactive jobs with execcasper\n## Quick specification flags\n## Job dependencies in PBS Pro\n## Exclusive resource scheduling","[{\"question\":\"How do I submit a batch or interactive job on Casper using PBS Pro?\",\"answer\":\"Submit batch jobs with qsub, qsubcasper, or execcasper. Jobs start in the casper queue and are conditionally routed to an execution queue based on the resources requested.\"},{\"question\":\"What are the two resource types in PBS Pro described for Casper jobs?\",\"answer\":\"PBS Pro distinguishes job resources and chunk resources. Job resources apply to all chunks, while chunk resources are collectively specified in a select statement.\"},{\"question\":\"How does execcasper differ for interactive sessions compared with Slurm?\",\"answer\":\"execcasper starts an interactive session with default resources. Unlike Slurm, resources on the primary node are always assigned to the shell, making them available to programs you run.\"},{\"question\":\"Are resources exclusive on Casper when using PBS Pro?\",\"answer\":\"Yes. The CPUs and node memory you request are reserved exclusively for your job, and V100 GPUs are also scheduled for exclusive use. GP100 GPUs may be shared on visualization nodes.\"}]","Starting Casper Jobs with PBS Pro - Scheduling on Casper with PBS Pro | PDF",1791058506,48,[150,154,157,161],{"page_no":22,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/98db12c77347a144ff19310d96ef502a.webp",983,552,{"page_no":26,"url":155,"width":156,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/d45dd61e21173fd12b2284b622638344.webp",982,{"page_no":30,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/656235f19fb3cac6a7d975f8f4812b99.webp",981,551,{"page_no":33,"url":162,"width":163,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/b6e1f44e04760cc4b629b622c0ab06c1.webp",980,{"list":165,"token":11},[166,172,178,185,192,198,204,210,216,222],{"doc_id":167,"doc_title":168,"file_type":141,"home_preview_img_url":169,"slug":170,"view_count":30,"category_name":29,"create_tm":171},697971,"ASPIRE2A - Advanced Job Management Training - v1.4 - Apr 2025","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009216936/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796220119&Signature=0c0%2FjIm3h%2FVdBgiSJczzw0y0CEc%3D","aspire2a-advanced-job-management-training-v14-apr-2025",1794446545,{"doc_id":173,"doc_title":174,"file_type":141,"home_preview_img_url":175,"slug":176,"view_count":115,"category_name":29,"create_tm":177},656164,"Exploring the GPU Architecture - Overview - To Conclude","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975302086/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796220119&Signature=DnTIuG04x5uYRv6Q4DV%2BiKrUgO8%3D","exploring-the-gpu-architecture-overview-to-conclude",1792966818,{"doc_id":179,"doc_title":180,"file_type":141,"home_preview_img_url":181,"slug":182,"view_count":183,"category_name":29,"create_tm":184},81969,"An Introduction and Tutorial for the Beagle Framework","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808657397/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796220119&Signature=9%2BpaFP%2BF%2B3dMeEg8ERCyNrJFHPk%3D","an-introduction-and-tutorial-for-the-beagle-framework",23,1784177334,{"doc_id":186,"doc_title":187,"file_type":141,"home_preview_img_url":188,"slug":189,"view_count":190,"category_name":29,"create_tm":191},491210,"A container library for C - A C container library overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229928140490/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796220119&Signature=apvv4tLXX47p%2FtTT%2FxrDHlUS70I%3D","a-container-library-for-c-a-c-container-library-overview",15,1790846909,{"doc_id":193,"doc_title":194,"file_type":141,"home_preview_img_url":195,"slug":196,"view_count":26,"category_name":29,"create_tm":197},697776,"Kofax Equitrac Planning Guide - Version 6.2 - Deployment and System Requirements","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010093386/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796220119&Signature=%2FtwOUU94wjiWjH48jqxQOnmMppw%3D","kofax-equitrac-planning-guide-version-62-deployment-and-system-requirements",1794444196,{"doc_id":199,"doc_title":200,"file_type":141,"home_preview_img_url":201,"slug":202,"view_count":127,"category_name":29,"create_tm":203},664522,"Tektronix TDS3052B Programming Manual - Programmer Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229982281836/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796220119&Signature=r5HuuGiCWqdsZY7hxSmuzmFM2UI%3D","tektronix-tds3052b-programming-manual-programmer-manual",1793258211,{"doc_id":205,"doc_title":206,"file_type":141,"home_preview_img_url":207,"slug":208,"view_count":106,"category_name":29,"create_tm":209},688505,"DOMTrader - Keyboard Shortcuts - Trading UI","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001280231/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796220119&Signature=bcCMxwPtt6V6zgc5HsmSRM9qf6E%3D","domtrader-keyboard-shortcuts-trading-ui",1794089294,{"doc_id":211,"doc_title":212,"file_type":141,"home_preview_img_url":213,"slug":214,"view_count":110,"category_name":29,"create_tm":215},685031,"SAP Work Manager Configuration Guide - Document Version 6.6 - 2021-10-13","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000079583/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796220119&Signature=r8T%2BZ0aYP5B%2BnPddSrUxcwsRrZ4%3D","sap-work-manager-configuration-guide-document-version-66-2021-10-13",1794007856,{"doc_id":217,"doc_title":218,"file_type":141,"home_preview_img_url":219,"slug":220,"view_count":115,"category_name":29,"create_tm":221},678098,"DOCA Flow Tune Server - Introduction - API and Flow Visualization Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229994560298/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796220119&Signature=Rs7sgnI%2FbsbSR1eC%2FPopuUThegM%3D","doca-flow-tune-server-introduction-api-and-flow-visualization-guide",1793784212,{"doc_id":223,"doc_title":224,"file_type":141,"home_preview_img_url":225,"slug":226,"view_count":110,"category_name":29,"create_tm":227},698089,"Qualcomm Snapdragon Mobile Platform OpenCL General Programming and Optimization - Revision A - Initial release","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010188385/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796220119&Signature=QV3M96YbPKHNC0kjmc05GfZp%2BPs%3D","qualcomm-snapdragon-mobile-platform-opencl-general-programming-and-optimization-revision-a-initial-release",1794448075]