Question
1. Create a new directory in your home directory called parallel. Copy the file /public/bmort/parallel/matrix_mult.c to this directory. Examine the source code of matrix_mult.c. Which
1. Create a new directory in your home directory called parallel. Copy the file /public/bmort/parallel/matrix_mult.c to this directory. Examine the source code of matrix_mult.c. Which parallel computing library does this program use? 2. Compile the matrix_mult.c source code using the gcc compiler. Make sure to include the option for the correct parallel library when compiling your code. What command did you use to compile the source code? 3. Create a Slurm script to run a batch job for the binary produced from the compilation step in question 2. You should request exactly 4 cores and 2 GB of RAM to run your compiled binary. Set the partition to debug. Print out your complete Slurm script. 4. Submit your batch job to run in the debug partition on the BlueHive cluster. What command did you use to submit the job? How do you know the job has finished? Print the output from the job.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started