shankar1729 / jdftx

JDFTx: software for joint density functional theory
http://jdftx.org
82 stars 54 forks source link

JDFTx build fails with libxc 6 #291

Closed jcoulter12 closed 1 year ago

jcoulter12 commented 1 year ago

Hi Shankar,

Not an urgent issue for me, but for the sake of letting you know -- I found that when trying to build JDFTx 1.7.0 with libxc 6.0.0, make fails with the attached error message, along the lines of:

/n/home12/jcoulter/JDFTx/jdftx/jdftx/electronic/ExCorr.cpp:223:58: error: ‘const xc_func_type’ {aka ‘const struct xc_func_type’} has no member named ‘cam_omega’; did you mean ‘hyb_omega’?
  223 |         double exxOmega() const { return funcUnpolarized.cam_omega; }
      |                                                          ^~~~~~~~~
      |                                                          hyb_omega

Where I've attached the full output of make, including my cmake command at the very top of the file.

Hope you're doing well, Jenny

make.log

jcoulter12 commented 1 year ago

Actually, my mistake, I now see your discussion on an earlier open issue! https://github.com/shankar1729/jdftx/issues/275

Thanks regardless, Jenny