Delete a series of jobs using qdel for PBS Professional

If you wish to delete a series of running jobs that running in numerical order. For example, you wish to delete jobs 1 to 200

# qdel {1..200}

Quite a useful tool 🙂

Resolving Altair Access Incorrect UserName and Password

If you are facing issues like “Incorrect UserName or Password” Do the following on the main system supporting the Visualisation Server (May or may not be the Server hosting Altair Access Services).

/etc/init.d/altairlmxd stop
/etc/init.d/altairlmxd start
/etc/init.d/pbsworks-pa restart

On the Altair Access Server,

/etc/init.d/guacd restart

 

 

Altair HPC Virtual Summit 2020

Join Altair’s high-performance and high-throughput computing experts, along with our partners, technology users, and industry peers, for a virtual summit exploring the leading-edge enterprise computing solutions that will keep innovation moving forward in 2020 and beyond.

From orchestrating compute workloads that get more dynamic by the day to supporting distributed teams all while meeting demand for cost-saving, efficiency-enhancing solutions, today’s technology infrastructure stakeholders play an integral role in ensuring their organizations retain a competitive edge.

September 9th and 10th, HPC leaders across the globe will meet for two half days of virtual PBS Professional user groups, “ask the developer” sessions, panel discussions and more. For more information, see https://hpc2020.virtual.altair.com/

 

Date: September 9th & 10th

Restrict Number of Queued and Running Jobs with PBS Professional

Allow maximum queued jobs limit at Server level

% qmgr -c "set server max_queued = [u:PBS_GENRIC=128]"

Apply maximum queued jobs limit at Queue Level

% qmgr -c "set queue your-queue-name max_queued = [u:PBS_GENRIC=128]"

Apply maximum Running jobs limit at Server Level

% qmgr -c "set server max_run = [u:PBS_GENRIC=128]"

Apply maximum running jobs limit at Queue Level

% qmgr -c "set queue your-queue-name max_run = [u:PBS_GENRIC=128]"

Limiting Users on PBS Professional

Scenario 1: How do we restrict the users to a certain maximum job size within a maximum concurrent number of jobs?

For example, if you would like to restrict users using this queue to a maximum of 4 cores per jobs. But his or her concurrent jobs cannot exceed 16?

qmgr -c "set queue workq max_run_res.ncpus = [u:PBS_GENERIC=16]"
qmgr -c "set queue workq resources_max.ncpus = 4"

The first limit sets max of 16 cores per user for the workq queue (for all jobs)
The second limit sets max of 4 cores per job for workq queue

 

Scenario 2: How do we ensure that users only run a minimum number of cores in the queue?

For example, if you would like to restrict the users to a minimum 32 cores per job.

qmgr -c " s q workq resources_min.ncpus=32"

Test:

qsub -l select=1:ncpus=16 -q workq -- /bin/sleep 100
qsub: Job violates queue and/or server resource limits

Altair Webinar – End to end HPC from home with Altair Access – Run, Visualize and Manage files.

Altair Access provides a simple, powerful, and consistent interface for submitting and monitoring jobs on remote clusters, clouds, and other resources, allowing engineers and researchers to focus on core activities and spend less time learning how to run applications and moving data around.

Live Webinar
Thur, April 23rd
11:00 AM – 12:00 PM SGT | 01:00 PM – 02:00 PM AEST
Click here to Register

Altair

Click Here for the Agenda

Who should attend:
HPC engineers, scientists and administrators who would like to access HPC from anywhere with ease of use. Anyone who has interest in learning High Performance Computing.