HW3: Ampere measurements added and a small script to submit script

This commit is contained in:
2025-02-16 23:56:48 +02:00
parent 8f44cbfcb9
commit f056b8c1cd
36 changed files with 901 additions and 4 deletions
+9 -4
View File
@@ -4,19 +4,22 @@
#
# Run the following command from the directory where the slurm files should be created
#
# Invocation ./submitJobs.sh <hpcDirectory>
# Invocation
# ./submitJobs.sh <hpcDirectory> <partition>
#
# partition: ampere, gpu
#
# Check if a directory argument is given
if [[ -z "$1" ]]; then
echo "Usage: $0 <directory>"
echo "Usage: $0 <directory> <partition>"
exit 1
fi
# Submission parameters
QOS="small"
PARTITION="ampere" # ampere gpu
SCRIPT_DIR="$1" # Directory containing the job scripts
PARTITION="$2" # ampere or gpu
SCRIPT_DIR="$1" # Directory containing the job scripts
# Range of values for the -q parameter
VERSIONS=("V0" "V1" "V2")
@@ -38,3 +41,5 @@ for version in "${VERSIONS[@]}"; do
fi
done
done