Preemptible Partition
CCV provides a preemptible Slurm partition that allows gpu condo account holders to submit jobs beyond their per-account resource limits by utilizing idle capacity across the cluster.
Available Partitions
Partition
Eligible Users
Resource Target
gpu-scavenger
GPU Condo Holders
GPU and GPU-HE nodes
How Preemption Works
Jobs submitted to preemptible partition bypass condo CPU, GPU, and memory caps. In exchange for higher throughput, your job may be interrupted if a non-preemptable job needs those compute resources.
Batch Jobs: Automatically requeued by Slurm when preempted, returning to the pending queue until resources become free again.
Interactive Jobs: Terminated immediately upon preemption and are not requeued.
Workload Suitability
Recommended Use Cases
Hyperparameter Sweeps & Arrays: Independent task sets where individual task retries do not break the pipeline.
Checkpointed Training Runs: Deep learning models (PyTorch, TensorFlow) configured to restore state from disk.
Fault-Tolerant Simulations: Molecular Dynamics (MD), Computational Fluid Dynamics (CFD), or custom scripts capable of resuming from periodic save states.
Not Recommended
Workloads that cannot save intermediate state to disk.
Real-time or time-critical calculations requiring guaranteed completion windows.
Workloads requiring persistent, uninterrupted interactive sessions.
Best Practices & Guidelines
1. Implement Frequent Checkpointing
Save intermediate progress to disk every 15 to 30 minutes. Ensure your application checks for existing checkpoint files on startup and resumes execution automatically instead of restarting from scratch.
The following batch script traps the preemption or walltime signal, executes a custom checkpoint function, and terminates safely.
2. Append to Log Output
When a job is preempted and requeued, Slurm overwrites standard output logs (slurm-%j.out). To preserve log history across multiple restart attempts, redirect your script output explicitly using append mode (>>):
Bash
3. Opt Out of Auto-Requeue (Optional)
If your job should fail completely upon preemption rather than restart automatically, disable requeuing in your batch header:
Bash
Last updated
Was this helpful?