Reference no: EM132582082
Modelling 2D steady-state heat equation
PTfS-CAM Project
Scenario - rectangular plate
TASK
Q1. Copy the code from ~unrz002h/ptfs_cam_2020 :
cp -r ~unrz002h/ptfs_cam_2020 <target destination>
Q2. Build the code using the given Makefile, i.e., just type
CXX=icpc make
Q3. To switch on LIKWID measurement set the LIKWID flag to ‘on', i.e., LIKWID=on CXX=icpc make
Q4. Check for code correctness using the following commands: ./test
Q5. To run the actual code us the following commands: ./perf num_grids_y num_grids_x
Q6. If all tests pass, parallelize building blocks using OpenMP. Always observe correctness!
Q7. Are there any possible optimizations that you could do in the CG and PCG solver implemented in SolverClass::(P)CG (Solver.cpp)? If so, implement them!
Attachment:- steady-state heat equation.zip