AUTH's THMMY "Parallel and distributed systems" course assignments.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

123456789101112131415161718192021222324252627
  1. #!/usr/bin/env bash
  2. # Submission parameters
  3. QOS="small"
  4. PARTITION="ampere" # ampere gpu
  5. SCRIPT_DIR="hpc" # Directory containing the job scripts
  6. # Range of values for the -q parameter
  7. VERSIONS=("V0" "V1" "V2")
  8. Q_START=20
  9. Q_END=30
  10. # Submitting the jobs
  11. for version in "${VERSIONS[@]}"; do
  12. for ((q = Q_START; q <= Q_END; q++)); do
  13. script_name="Bitnc${version}Q${q}.sh"
  14. script_path="${SCRIPT_DIR}/${script_name}"
  15. if [[ -f "$script_path" ]]; then
  16. echo "Submitting: $script_path"
  17. sbatch --qos="$QOS" -p "$PARTITION" "$script_path"
  18. #sbatch -p "$PARTITION" "$script_path"
  19. else
  20. echo "Warning: File not found - $script_path"
  21. fi
  22. done
  23. done