Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
science/abinit: Update 9.6.2 → 9.8.4
Reported by: portscout
- Loading branch information
Showing
4 changed files
with
37 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1659120938 | ||
SHA256 (abinit-abinit-9.6.2_GH0.tar.gz) = 5fba537bac99f53ae02781f1f374247503241b80ce329dc51fe2e986b13198f0 | ||
SIZE (abinit-abinit-9.6.2_GH0.tar.gz) = 109189300 | ||
TIMESTAMP = 1686597792 | ||
SHA256 (abinit-abinit-9.8.4_GH0.tar.gz) = 1b981140cb837c22f037a5dc8ec9769c007517e972ba667396ee300e006f543d | ||
SIZE (abinit-abinit-9.8.4_GH0.tar.gz) = 128443869 |
47 changes: 16 additions & 31 deletions
47
science/abinit/files/patch-shared_common_src_33__xc__lowlevel_libxc__tools.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,20 @@ | ||
--- shared/common/src/33_xc_lowlevel/libxc_tools.c.orig 2021-11-09 07:25:16 UTC | ||
--- shared/common/src/33_xc_lowlevel/libxc_tools.c.orig 2023-04-24 13:01:07 UTC | ||
+++ shared/common/src/33_xc_lowlevel/libxc_tools.c | ||
@@ -70,8 +70,8 @@ void xc_get_family_constants(int *xc_cst_family_unknow | ||
*xc_cst_family_mgga = XC_FAMILY_MGGA; | ||
*xc_cst_family_lca = XC_FAMILY_LCA; | ||
@@ -73,7 +73,7 @@ void xc_get_family_constants(int *xc_cst_family_unknow | ||
*xc_cst_family_oep = XC_FAMILY_OEP; | ||
-#if ( XC_MAJOR_VERSION > 5 ) | ||
-/* ==== libXC v6.0 and later ==== */ | ||
+#if ( XC_MAJOR_VERSION > 6 ) | ||
+/* ==== After libXC v6.0 ==== */ | ||
*xc_cst_family_hyb_gga = -11; | ||
*xc_cst_family_hyb_mgga = -11; | ||
*xc_cst_family_hyb_gga = XC_FAMILY_HYB_GGA; | ||
*xc_cst_family_hyb_mgga = XC_FAMILY_HYB_MGGA; | ||
-#if ( XC_MAJOR_VERSION > 5 ) | ||
+#if ( XC_MAJOR_VERSION > 6 ) | ||
/* ==== libXC v6.0 and later ==== */ | ||
*xc_cst_family_hyb_lda = XC_FAMILY_HYB_LDA; | ||
#else | ||
@@ -137,8 +137,8 @@ void xc_get_hybrid_constants(int *xc_cst_hyb_none, | ||
int *xc_cst_hyb_double_hybrid, | ||
int *xc_cst_hyb_mixture) | ||
{ | ||
-#if ( XC_MAJOR_VERSION > 5 ) | ||
-/* ==== libXC v6.0 and later ==== */ | ||
+#if ( XC_MAJOR_VERSION > 6 ) | ||
+/* ==== After libXC v6.0 ==== */ | ||
*xc_cst_hyb_none = XC_HYB_NONE; | ||
*xc_cst_hyb_fock = XC_HYB_FOCK; | ||
*xc_cst_hyb_pt2 = XC_HYB_PT2; | ||
@@ -348,8 +348,8 @@ void xc_func_set_density_threshold(XC(func_type) *xc_f | ||
* =============================================================== | ||
*/ | ||
@@ -364,7 +364,7 @@ void xc_func_set_grad_sig_threshold(XC(func_type) *xc_ | ||
int xc_func_is_hybrid_from_id(int func_id) | ||
-#if ( XC_MAJOR_VERSION > 5 ) | ||
-/* ==== libXC v6.0 and later ==== */ | ||
+#if ( XC_MAJOR_VERSION > 6 ) | ||
+/* ==== After libXC v6.0 ==== */ | ||
{xc_func_type func; int result=0; | ||
if(xc_func_init(&func,func_id,XC_UNPOLARIZED)==0) | ||
{if (func.hyb_number_terms>0) | ||
/* ==== Before libXC v6.0 ==== */ | ||
{int family; family=xc_family_from_id(func_id, NULL, NULL); | ||
-#if ( XC_MAJOR_VERSION > 5 ) | ||
+#if ( XC_MAJOR_VERSION > 6 ) | ||
/* ==== libXC v6.0 and later ==== */ | ||
if (family==XC_FAMILY_HYB_GGA || family==XC_FAMILY_HYB_MGGA || family==XC_FAMILY_HYB_LDA) | ||
{return 1;} |
45 changes: 15 additions & 30 deletions
45
science/abinit/files/patch-shared_libpaw_src_libpaw__libxc.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,20 @@ | ||
--- shared/libpaw/src/libpaw_libxc.c.orig 2021-11-09 07:25:16 UTC | ||
--- shared/libpaw/src/libpaw_libxc.c.orig 2023-04-24 13:01:07 UTC | ||
+++ shared/libpaw/src/libpaw_libxc.c | ||
@@ -67,8 +67,8 @@ void libpaw_xc_get_family_constants(int *xc_cst_family | ||
*xc_cst_family_mgga = XC_FAMILY_MGGA; | ||
*xc_cst_family_lca = XC_FAMILY_LCA; | ||
@@ -70,7 +70,7 @@ void libpaw_xc_get_family_constants(int *xc_cst_family | ||
*xc_cst_family_oep = XC_FAMILY_OEP; | ||
-#if ( XC_MAJOR_VERSION > 5 ) | ||
-/* ==== libXC v6.0 and later ==== */ | ||
+#if ( XC_MAJOR_VERSION > 6 ) | ||
+/* ==== After libXC v6.0 ==== */ | ||
*xc_cst_family_hyb_gga = -11; | ||
*xc_cst_family_hyb_mgga = -11; | ||
*xc_cst_family_hyb_gga = XC_FAMILY_HYB_GGA; | ||
*xc_cst_family_hyb_mgga = XC_FAMILY_HYB_MGGA; | ||
-#if ( XC_MAJOR_VERSION > 5 ) | ||
+#if ( XC_MAJOR_VERSION > 6 ) | ||
/* ==== libXC v6.0 and later ==== */ | ||
*xc_cst_family_hyb_lda = XC_FAMILY_HYB_LDA; | ||
#else | ||
@@ -134,8 +134,8 @@ void libpaw_xc_get_hybrid_constants(int *xc_cst_hyb_no | ||
int *xc_cst_hyb_double_hybrid, | ||
int *xc_cst_hyb_mixture) | ||
{ | ||
-#if ( XC_MAJOR_VERSION > 5 ) | ||
-/* ==== libXC v6.0 and later ==== */ | ||
+#if ( XC_MAJOR_VERSION > 6 ) | ||
+/* ==== After libXC v6.0 ==== */ | ||
*xc_cst_hyb_none = XC_HYB_NONE; | ||
*xc_cst_hyb_fock = XC_HYB_FOCK; | ||
*xc_cst_hyb_pt2 = XC_HYB_PT2; | ||
@@ -345,8 +345,8 @@ void libpaw_xc_func_set_density_threshold(XC(func_type | ||
* =============================================================== | ||
@@ -312,7 +312,7 @@ void libpaw_xc_func_set_sig_threshold(XC(func_type) *x | ||
*/ | ||
int libpaw_xc_func_is_hybrid_from_id(int func_id) | ||
-#if ( XC_MAJOR_VERSION > 5 ) | ||
-/* ==== libXC v6.0 and later ==== */ | ||
+#if ( XC_MAJOR_VERSION > 6 ) | ||
+/* ==== After libXC v6.0 ==== */ | ||
{xc_func_type func; int result=0; | ||
if(xc_func_init(&func,func_id,XC_UNPOLARIZED)==0) | ||
{if (func.hyb_number_terms>0) | ||
{int family; family=xc_family_from_id(func_id, NULL, NULL); | ||
-#if ( XC_MAJOR_VERSION > 5 ) | ||
+#if ( XC_MAJOR_VERSION > 6 ) | ||
/* ==== libXC v6.0 and later ==== */ | ||
if (family==XC_FAMILY_HYB_GGA || family==XC_FAMILY_HYB_MGGA || family==XC_FAMILY_HYB_LDA) | ||
{return 1;} |