mitsuaki1987 / sctk

Superconducting-Toolkit (SCTK) is a first-principles program package based on density functional theory for superconductors (SCDFT)
https://mitsuaki1987.github.io/sctk/
3 stars 3 forks source link

compile SCTK #9

Open anyi-mxh opened 1 year ago

anyi-mxh commented 1 year ago

Dear Developers,,

Following your tutorial, I am trying to compile SCTK

$ git clone https://gitlab.com/QEF/q-e.git -b qe-6.7MaX-Release $ cd q-e $ git clone https://github.com/mitsuaki1987/sctk.git -b sctk1.2.1-qe6.7 $ patch -p1 < sctk/patch.diff $ ./configure $ make pw ph pp $ cd sctk $ make

After executing the command patch - p1<sctk/patch. diff, I encountered some errors, as shown in the image. 屏幕截图 2023-06-26 215024

The command './configure' should have been successful because we have successfully compiled pw pp ph. In the sctk folder, I executed the make command and got the following error. error

Would you please let me know the reason behind these errors. Thank you. Best regards, mxh

mitsuaki1987 commented 1 year ago

Dear anyi-mxh

Sorry for my late reply. This is my mistake in documentation. The base QE version is not strictly QE 6.7 and slightly forward. I fix docs and write it in readme.md as

$ git clone https://gitlab.com/QEF/q-e.git
$ cd q-e
$ git checkout 96cdd5ac6af9c060be392a95f14dbcbca5c1a890
$ git clone https://github.com/mitsuaki1987/sctk.git -b sctk1.2.1-qe6.7
$ patch -p1 < sctk/patch.diff

best regrads, Mitsuaki Kawamura (ITC, U-Tokyo)