'How to generate a block sub-matrices of a large matrix using lapacke

I am new to lapacke. I have a large matrix (5000 X 5000) and I would like to smaller sub-matrices. What is the function in lapacke that will allow me to achieve this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source