abinit / abinit

The official github mirror of the Abinit repository. We welcome bug fixes and improvements. Note that most of the active developments are hosted on our https://gitlab.abinit.org/ server. Before embarking on making significant changes, please contact the Abinit group.

Home Page:https://www.abinit.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: no member named 'n_ext_params' in 'xc_func_info_type'; did you mean 'ext_params'?

yurivict opened this issue · comments

libxc_tools.c:185:43: error: no member named 'n_ext_params' in 'xc_func_info_type'; did you mean 'ext_params'?
  else if (n_ext_params == xc_func->info->n_ext_params)
                                          ^~~~~~~~~~~~
                                          ext_params
/usr/local/include/xc.h:151:20: note: 'ext_params' declared here
  func_params_type ext_params;
                   ^
libxc_tools.c:185:25: error: invalid operands to binary expression ('int' and 'const func_params_type')
  else if (n_ext_params == xc_func->info->n_ext_params)
           ~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~

libxc-5.0.0
FreeBSD 12.1

not yet full supported : need patch

tested under 9.1.4/develop

last supported : 4.2.3

Note also that libxc5 is not stable.
There are some well know problems with spin polarized calculations.
https://gitlab.com/libxc/libxc/-/issues/185

tested under 9.1.4/develop

What do you mean by this? There is no branch "develop" or "9.1.4".

we are currently testing libxc 5.0 with version 9.1.x of abinit ( development branch )

I'll wait then.