首页 > 其他分享 >【GROMACS】分子动力学模拟①——环境搭建

【GROMACS】分子动力学模拟①——环境搭建

时间:2022-10-12 22:13:23浏览次数:73  
标签:cmake gromacs tar make sudo 动力学 apt 搭建 GROMACS

系统环境

  • Win11 22H2 企业版
  • 开启虚拟化、window subsystem for liunx等虚拟机相关的功能
  • 应用商店中安装WSL2

安装步骤

  • 打开Ubuntu,输入sudo apt full-upgrade,并输入设置好的密码
  • 安装cmake编译器sudo apt install cmake
  • 安装c和c++编译器sudo apt install gcc&g++
  • 下载gromacs源码sudo wget ftp://ftp.gromacs.org/gromacs/gromacs-2022.3.tar.gz(最新网址可以去这里查找)
  • 根据官网上的步骤进行快速安装
    sudo tar xfz gromacs-2022.3.tar.gz
    cd gromacs-2022.3
    mkdir build
    cd build
    sudo cmake .. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON
    sudo make
    sudo make check
    sudo make install
    sudo source /usr/local/gromacs/bin/GMXRC

标签:cmake,gromacs,tar,make,sudo,动力学,apt,搭建,GROMACS
From: https://www.cnblogs.com/duyuxuan/p/16786266.html

相关文章