Skip to content
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

Can SCTK deal with 2D materials? #3

Open
mitsuaki1987 opened this issue Jun 20, 2023 · 2 comments
Open

Can SCTK deal with 2D materials? #3

mitsuaki1987 opened this issue Jun 20, 2023 · 2 comments
Labels
archive from OSDN bug Something isn't working

Comments

@mitsuaki1987
Copy link
Owner

(2021-03-23 11:34 by DaMing_1566 )
Dear developers,

Recently, I calculated the superconducting properities of doped graphene using lambda.x in Quantum Espresso and wanted to examine that using SCTK.
After calculating the screened Coulomb interaction, the kel.out file read

Intel MKL ERROR: Parameter 10 was incorrect on entry to ZGEMM

and I could not figure out why it happened ( In all of the calculations, I used $k_z$=1, is it neccessary to increase the number of $k_z$ ).
Can SCTK deal with 2D materials?

It will be greatly appreciated if you could spare time to answer my questions.

Yours, Lu Qing

@mitsuaki1987
Copy link
Owner Author

(2021-03-26 01:10 by mitsuaki1987)
Dear Dr. Lu Qing

Thank you for reporting. I will try the graphene case.
Probably $k_z$ = 1 is OK.
But Could you also try $k_z$=2?

Best regards,
Mitsuaki Kawamura

@mitsuaki1987
Copy link
Owner Author

(2021-08-31 10:31 by pfliu #87974))
Hi, Mitsuaki Kawamura

I had the same problem with the errors of

Intel MKL ERROR: Parameter 10 was incorrect on entry to ZGEMM

for 2D metals with $k_z$=1.
I have also tried $k_z$=2, however, it does not work.
I checked the $kel.out$ of 2D metals and found unusual output as follows:

##### FFT wfc(G) -> wfc(r) #####

Grid : 1 1 1

I modified part of the code sctk_wfc.f90

DO ii = 1, 3
  igmin = MINVAL(igv(1:3, 1:npwxtot, 1:cnt, 1:2)) 
  igmax = MAXVAL(igv(1:3, 1:npwxtot, 1:cnt, 1:2))
  WRITE(stdout,'(7x,"igmax :",2(2x,i0))') igmax,igmin
  CALL mp_max(igmin, world_comm) 
  CALL mp_max(igmax, world_comm) 
  WRITE(stdout,'(7x,"igmax :",2(2x,i0))') 
  igmax,igmin nf(ii) = good_fft_order(igmax - igmin + 1)
END DO

For 2D metals, it outputs the following content:

##### FFT wfc(G) -> wfc(r) #####
igmax : 43 -42 
igmax : 43 2147483647 
igmax : 43 -42 
igmax : 43 2147483647 
igmax : 43 -42 
igmax : 43 2147483647 
Grid : 1 1 1

For 3D Al, it outputs the following content:

##### FFT wfc(G) -> wfc(r) #####
igmax : 6 -7 
igmax : 6 -7 
igmax : 6 -7 
Grid : 15 15 15

I have no idea what I should do.
I wonder if you have updates of the code.
Thank you and I am looking forward to hearing your reply.

Sincerely, Liu.

@mitsuaki1987 mitsuaki1987 added the bug Something isn't working label Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
archive from OSDN bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant