User:Praveer-mathur-9f3d@uni-bonn.de/intro-to-working-on-hpc-clusters
Jump to navigation
Jump to search
Short Quiz: Cluster Structure
Which of the following statements are true?
"A typical cluster contains a number of nodes, those contain several CPUs, those contain several cores".
"In a cluster, each CPU core usually has its own RAM".
"Computations are normally started by the user on the login node".
Short Quiz: Getting Help
mass = mass * 2.0
print(mass, age)
Which of the following is the correct support address for Bender?
Short Quiz: SSH Directory
(Hard to implement, maybe click and submit to see the answer?)
Short Quiz: File Transfer
You want to copy a directory named myresults, from your home on Bender to your current directory on your PC using an SSH command. Assume you have an SSH preset named
bender. What does the command look like? (Hard to implement).
Short Quiz: Environment Modules
(Hard to implement, maybe click and submit to see the answer?)
Short Quiz: SLURM Parameters
How many cores will SLURM allocate in each case? Assume that the default number of tasks and CPUs per task are 1, and that there are 32 cores and 4 GPUs per node.
sbatch --nodes=2 --ntasks-per-node=16 quiz1.sh
sbatch --ntasks=48 --cpus-per-task=2 quiz2.sh
sbatch --gpus=1 quiz3
sbatch quiz4.sh
Short Quiz: Job Configurations
What SLURM settings (tasks and CPUs per task) would you pick for the following cases:
You want to run a program with 8 threads.
You want to run 6 instances of a program (you don’t care whether they run on a single node or not).
You want to run 64 instances of a program, ensuring that they are distributed evenly over 4 nodes.