check libxc version only when the define USE_LIBXC exists

This commit is contained in:
edoapra 2022-12-15 18:57:27 -08:00
parent 99654d0405
commit 0dec745e63
No known key found for this signature in database
GPG key ID: 48E12DA1EDE9E1B0

View file

@ -1,5 +1,7 @@
#ifdef USE_LIBXC
#if XC_MAJOR_VERSION < 4
#error "need libxc version > 4 "
#endif
#endif
integer, parameter :: maxfunc = 100