HW3: Ampere measurements added and a small script to submit script
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user