From aa6ce9f8c4293bb985c1ee2b1693450493f33b1e Mon Sep 17 00:00:00 2001 From: Augustin Lu Date: Fri, 24 Jan 2025 19:36:41 +0900 Subject: [PATCH] Modify -lxcf90 by -lxcf03 to link with libXC --- docs/installing.rst | 2 +- src/system/system.ubuntu.make | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installing.rst b/docs/installing.rst index 82cb3da92..20e43d5a9 100644 --- a/docs/installing.rst +++ b/docs/installing.rst @@ -192,7 +192,7 @@ Prepare makefile # Choose LibXC version: v4 (deprecated) or v5/6 (v5 and v6 have the same interface) # XC_LIBRARY = LibXC_v4 XC_LIBRARY = LibXC_v5 - XC_LIB = -lxcf90 -lxc + XC_LIB = -lxcf03 -lxc XC_COMPFLAGS = -I\${HOME}/local/include -I/usr/local/include # Set FFT library diff --git a/src/system/system.ubuntu.make b/src/system/system.ubuntu.make index 66e1f1006..2fa3db924 100644 --- a/src/system/system.ubuntu.make +++ b/src/system/system.ubuntu.make @@ -25,7 +25,7 @@ SCALAPACK = -lscalapack-openmpi # Choose LibXC version: v4 (deprecated) or v5/6 (v5 and v6 have the same interface) # XC_LIBRARY = LibXC_v4 XC_LIBRARY = LibXC_v5 -XC_LIB = -lxcf90 -lxc +XC_LIB = -lxcf03 -lxc XC_COMPFLAGS = -I${HOME}/local/include -I/usr/local/include # Set FFT library