Class JobSchedulerDetector¶
- Defined in File job_scheduler.h 
Class Documentation¶
- 
class JobSchedulerDetector¶
- Static utility class for job scheduler detection and resource management. - The JobSchedulerDetector class provides a comprehensive interface for detecting job schedulers, extracting resource allocation information, and calculating safe resource usage limits in HPC environments. All methods are static as scheduler detection is inherently a system-level operation. - Criteria¶- The detector uses environment variable analysis to identify schedulers: - Check for scheduler-specific environment variables 
- Parse resource allocation information from environment 
- Validate and normalize resource information 
- Provide safe resource usage recommendations 
 - Margins¶- All resource calculations follow conservative safety principles: - Never exceed allocated resources 
- Provide safety margins for system stability 
- Validate resource requests against limits 
- Gracefully handle missing or invalid information