鲲鹏社区首页
中文
注册
我要评分
文档获取效率
文档正确性
内容完整性
文档易理解
在线提单
论坛求助

编译和安装

操作步骤

  1. 使用PuTTY工具,以root用户登录服务器。
  2. 执行以下命令解压Octopus。
    tar -xvf octopus-10.3.tar.gz
  3. 执行以下命令进入解压后的目录。
    cd octopus-10.3
  4. 执行以下命令进行配置。
    ./configure CC=mpicc CFLAGS='-O3 -march=armv8.2-a -mtune=tsv110' FC=mpifort FCFLAGS='-O3 -march=armv8.2-a -mtune=tsv110' LIBS='-Wl,-rpath=/path/to/KPGCC/gcc-9.3.1-2020.12-aarch64-linux/lib64/libhpc -L/path/to/KPGCC/gcc-9.3.1-2020.12-aarch64-linux/lib64/libhpc -lmathlib -lm' --enable-mpi --prefix=/path/to/OCTOPUS --with-gsl-prefix=/path/to/GSL/gsl --with-libxc-prefix=/path/to/LIBXC/libxc434 --with-fftw-prefix=/path/to/FFTW
  5. 执行以下命令进行编译安装。
    make -j 32
    make install
  6. 执行以下命令设置环境变量。
    export PATH=/path/to/OCTOPUS/bin:$PATH