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

Supported DFT codes of this project. #1

Open
hongyi-zhao opened this issue Mar 20, 2021 · 11 comments
Open

Supported DFT codes of this project. #1

hongyi-zhao opened this issue Mar 20, 2021 · 11 comments

Comments

@hongyi-zhao
Copy link

Which DFT codes are supported by this project, say, quantum espresso, vasp, wien2k, and so on?

Regards,
HY

@PatrizioGraziosi
Copy link
Owner

Hi,
the code can interface with every DFT code which can save the bandstructure in the .bxsf format.
After the DFT calc., whichever code you prefer, you should save the results as a .bxsf file.

Then, you can use the
https://github.com/PatrizioGraziosi/Extraction-from-bsxf-files
project to extract a .mat file from your bxsf file. This file will be the input for the EMAF code project.

Hope this helps.

Keep me posted, please.

Patrizio

@PatrizioGraziosi
Copy link
Owner

PatrizioGraziosi commented Mar 20, 2021 via email

@hongyi-zhao
Copy link
Author

hongyi-zhao commented Mar 20, 2021

Thank you for your reply. I'll give it a try with quantum espresso. Some other questions/suggestions:

  1. Why do you use the close source MATLAB to implement this project, instead of other more popular languages, say, python, FORTRAN, etc.?
  2. It would be better to add some examples for different DFT codes.
  3. Why you reply twice with the same comments?

@PatrizioGraziosi
Copy link
Owner

PatrizioGraziosi commented Mar 22, 2021 via email

@hongyi-zhao
Copy link
Author

hongyi-zhao commented Mar 22, 2021

Dear @PatrizioGraziosi, thank you very much for your reply. I give the further discussion/comment as follows:

  1. Thank you for your explanations. Some other questions/considerations:
  • Considering that you're planning to port your ELECTRA code to C, do you prefer C over FORTRAN even in HPC field? As for as I know, FORTRAN is actually the dominant language of HPC in the world.
  • Based on my understanding, your EMAF-code is implemented based on charge transport theory. But there are some other methods for modelling the effective mass, say, k.p perturbation theory as done in mstar project, and Seebeck effective mass calculated as explained in Ref. Gibbs, Z. M. et al., currently implemented in pymatgen as described here. So, what's the differentiation and application scenarios for these models of effective mass calculators?
  • You told that EMAF-code is based on isotropic parabolic band model, but what can we do for anisotropic non-parabolic case?
  1. Yep, thanks for your example. I'll try to compare EMAF-code's results with other similar methods for a well studied material (e.g. Si, GaAs).

Best,
Hongyi

@PatrizioGraziosi
Copy link
Owner

PatrizioGraziosi commented Mar 22, 2021 via email

@hongyi-zhao
Copy link
Author

hongyi-zhao commented Mar 23, 2021

  1. I find the following MATLAB to FORTRAN converters: mc2for with its GitHub repo and matlab2fortran, as well as a C to Fortran converter (C2F.ZIP), referred on comp.lang.fortran newsgroup here. Hope the above codes/projectes can help you, to some extent, reduce your workload.
  2. Thank you very much for your comments on the effective mass relative literatures, I have to read more about them, too.
  3. Thank you very much again for your commenting about the isotropic/anisotropic point. As a further complementary comment, I'm currently reading and studying this paper by Dr. Lucy Whalley. You can check out a more detailed discussion here, if you're interested.

Regards,
Hongyi

@hongyi-zhao
Copy link
Author

hongyi-zhao commented Apr 1, 2021

while Matlab have a "translator" from Matlab to C

Do you mean MATLAB Coder? It seems like a really great tool.

@PatrizioGraziosi
Copy link
Owner

PatrizioGraziosi commented Apr 2, 2021 via email

@hongyi-zhao
Copy link
Author

hongyi-zhao commented Apr 2, 2021

Thank you so much for the C2F converter! I am curious to explore the different speeds.

Have you compiled this tool on the *nix platform, or directly run the pre-compiled Windows binary file? To be frank, I failed to compile and run it on Ubuntu 20.04.

For reference, I recently heard of another framework that can build C to Fortran translator. See here for more info.

Hongyi

@PatrizioGraziosi
Copy link
Owner

PatrizioGraziosi commented Apr 7, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants