Best Practices for HPC
⚙️ Best Practices for Using HPC Cluster
Follow these best practices to ensure efficient, secure, and optimal usage of HPC resources.
-
❌ Do NOT run long jobs on login nodes.
✔ Use login nodes only for compilation and light tasks.
-
Refer to the
Quick Start Guide
for initial setup and guidance.
-
📄 Sample Job Scripts: Access ready-to-use job submission scripts from the
Job Submission Guide
.
-
Use the same compiler across all modules/libraries to avoid compatibility issues.
-
Optimize performance using appropriate compiler flags (e.g.,
-O3) and verify output accuracy.
-
Ensure modules/libraries used during execution match those used during compilation.
-
Monitor disk usage before submitting multiple jobs to avoid storage issues.
-
✔ Submit jobs from
$SCRATCH
✔ Store final results in $HOME
-
⚠️ $SCRATCH is NOT backed up. Always download important data to local systems.
-
Install software only from trusted sources to avoid malware/ransomware risks.
-
Avoid spaces in file and directory names (use underscores instead).
-
Report unusual behavior (slowdowns, missing/corrupt files) to support immediately.
-
Use GPU and large partitions (
gpu, large) only when required.
-
Specify wall-time carefully in job scripts — it directly affects queue wait time.
💡 Tip: Efficient resource usage improves overall cluster performance and reduces job wait times for everyone.