安装Libxc

操作步骤

  1. 使用PuTTY工具,以root用户登录服务器。
  2. 执行以下命令解压Libxc安装包。

    tar -xvf libxc-4.3.4.tar.gz

  3. 执行以下命令进入解压后的目录。

    cd libxc-4.3.4

  4. 执行以下命令进行配置。

    ./configure FC=mpifort CC=mpicc --prefix=/path/to/LIBXC/libxc434

  5. 执行以下命令进行编译。

    make
    make install