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

develop version install #11

Open ypanhtu opened 11 months ago

ypanhtu commented 11 months ago

Dear Mitsuaki,

I can install the main version, however, it prints the following errors when installing the develop version. What's the problem, how to solve it? It seems that the patch.diff is the same in the main and develop version. In addition, have you planned to update the SCTK to complile with the latest QE7.2 version?

Thanks so much.

YP

patch -p1 < SCTK/patch.diff patching file LR_Modules/dfpt_tetra_mod.f90 patching file LR_Modules/setup_nscf.f90 Hunk #1 succeeded at 51 (offset -1 lines). Hunk #2 succeeded at 148 (offset -1 lines). patching file PHonon/PH/alpha2f.f90 Hunk #1 succeeded at 21 (offset -1 lines). Hunk #2 succeeded at 149 (offset -3 lines). Hunk #3 FAILED at 190. Hunk #4 succeeded at 208 (offset -5 lines). Hunk #5 succeeded at 304 (offset -6 lines). Hunk #6 succeeded at 328 (offset -6 lines). Hunk #7 FAILED at 387. Hunk #8 FAILED at 409. 3 out of 8 hunks FAILED -- saving rejects to file PHonon/PH/alpha2f.f90.rej patching file PHonon/PH/do_q2r.f90 Hunk #1 succeeded at 24 (offset -1 lines). Hunk #2 FAILED at 50. Hunk #3 succeeded at 230 (offset 39 lines). Hunk #4 succeeded at 311 with fuzz 2 (offset 64 lines). Hunk #5 succeeded at 460 (offset 79 lines). Hunk #6 succeeded at 481 (offset 79 lines). Hunk #7 succeeded at 532 (offset 79 lines). Hunk #8 succeeded at 576 (offset 79 lines). 1 out of 8 hunks FAILED -- saving rejects to file PHonon/PH/do_q2r.f90.rej patching file PHonon/PH/elph_scdft_mod.f90 Hunk #1 succeeded at 28 with fuzz 1 (offset 1 line). Hunk #2 succeeded at 57 (offset 1 line). Hunk #3 succeeded at 107 (offset 1 line). Hunk #4 FAILED at 116. Hunk #5 succeeded at 190 (offset -1 lines). Hunk #6 FAILED at 208. 2 out of 6 hunks FAILED -- saving rejects to file PHonon/PH/elph_scdft_mod.f90.rej patching file PHonon/PH/elph_tetra_mod.f90 Hunk #1 succeeded at 23 (offset 2 lines). can't find file to patch at input line 965 Perhaps you used the wrong -p or --strip option? The text leading up to this was:

|diff --git a/PHonon/PH/make.depend b/PHonon/PH/make.depend |index fc60607b7..aff747668 100644 |--- a/PHonon/PH/make.depend |+++ b/PHonon/PH/make.depend

File to patch: