Posts

Showing posts with the label Job Management

A Comprehensive Tutorial on Command Differences Between Slurm, LSF, Cobalt, and Flux Schedulers

Introduction: When it comes to managing high-performance computing (HPC) workloads, different schedulers offer varying sets of commands and functionalities. In this tutorial, we will explore the command differences between four popular HPC schedulers: Slurm, LSF (Load Sharing Facility), Cobalt, and Flux. Understanding these differences will help users efficiently navigate and leverage the capabilities of each scheduler. Slurm Scheduler: a. Job Submission: Slurm: sbatch my_script.sh b. Job Status: Slurm: squeue -u username c. Job Cancellation: Slurm: scancel JOB_ID d. Job Details: Slurm: scontrol show job JOB_ID Advantages: Robust and widely used scheduler in HPC environments. Provides extensive features for job scheduling and resource allocation. Supports complex job dependencies and accounting mechanisms. Disadvantages: Command syntax might appear complex for beginners. Lack of native graphical interface may require CLI expertise for advanced usage. LS...

Exploring All Options of the bsub Command in IBM LSF Scheduler

Introduction IBM Spectrum LSF (Load Sharing Facility) Scheduler offers a wide range of powerful features to efficiently manage high-performance computing workloads. The bsub command is a fundamental tool for submitting jobs to the scheduler, and it comes with various options to customize job requirements and behavior. In this blog, we will explore examples of all the essential options available with the bsub command, empowering you to make the most of IBM LSF's capabilities. Job Name ( -J ) The -J option allows you to specify a name for your job, providing a meaningful identifier in the queue. For instance: bsub - J my_job_name < my_script. sh Number of CPU Cores ( -n ) You can request a specific number of CPU cores for your job using the -n option. For example: bsub -n 8 < my_script.sh CPU Resource Requirements ( -R ) With the -R option, you can define complex resource requirements. For example, to request 2 CPU cores per host: bsub -R "span[ptil...

A Tutorial on IBM LSF Scheduler with Examples

Introduction to IBM LSF Scheduler: IBM Spectrum LSF (Load Sharing Facility) is a powerful workload management and job scheduling system designed to optimize the utilization of computing resources in high-performance computing (HPC) environments. LSF provides a robust set of features that enable efficient resource allocation, job scheduling, and management, making it an essential tool for large-scale parallel computing. In this tutorial, we will explore the basics of using IBM LSF Scheduler, covering key concepts and command-line examples to help you get started with managing your HPC workload effectively. LSF Terminology: Host: A computing resource available in the cluster, which can be a physical machine or a virtual machine. Queue: A group of hosts sharing similar characteristics, such as hardware configuration or software environment. Job: A unit of work submitted to the scheduler, which consists of executable code and its resource requirements. Job ID: A unique identifie...