-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to determine the matrix size of padded Hamiltonian (Padding Hamiltonian Matrix) #223
Comments
In the last comment for the constraints related to ELPA ... For the constraint i) (block_size_r = block_size_c), judging from the following example shown in the page of ELPA, On the other hand, the constraints ii) and iii) for ELPA are only from our benchmark tests. Then, we can simply set a default value of block size without considering the number of MPI processes and matrix size of Hamiltonian. |
I think I have finished introducing "Padding H and S matrices" to make the dimension of matrix a multiple of Block size. I think the code is already useful for may users, but the test calculations I have doe so far may not be enough. Considering these situations, I wonder it is better to introduce the changes in the following 2 steps. Stage 2. we will provide the default value of the block size. If anyone has a comment or suggestion, please let me know. |
(( no. of processes, block size, dimension of the H and S matrices ))
For large systems, it should be okay. We usually use large number of MPI processes, then proc_rows is proportional to the square root of (no. of processes), while (matrix_size) is proportional to the number of atoms and (block size) should be almost constant. On the other hand, it may cause a problem for small systems. The number of processes can be smaller than 9, and (matrix_size) and (block size) may be comparable. |
I have made a branch f-proj_PHM_BlockSize. At present, the part is in the subroutine I think the code is now ready for Stage 1 and would like to put it into And.. |
I agree that we should release version 1.2 first so for now please don't try to merge this into develop. |
When the code is available to treat the padded Hamiltonian matrix, we should set the good value for block_size_r (and block_size_c).
First,
Deafult setting for block_size_r and block_size_c should be given
- block_size_r ~ 20 (suggested from our test calculations, though depends on hardware.)
Is it okay to assume that block_size_r = block_size_c
How to set proc_rows and proc_cols ?
- we may be able to follow the present method.
- But, see the constraints for ELPA shown below.
The text was updated successfully, but these errors were encountered: