质子重离子快速蒙卡MCsquare在ubuntu-20.04下的安装
2021/7/26 7:12:48
本文主要是介绍质子重离子快速蒙卡MCsquare在ubuntu-20.04下的安装,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
质子重离子快速蒙卡MCsquare在ubuntu-20.04下的安装
基本命令如下
wget https://registrationcenter-download.intel.com/akdlm/irc_nas/17912/l_HPCKit_p_2021.3.0.3230_offline.sh sudo bash l_HPCKit_p_2021.3.0.3230_offline.sh sudo apt autoremove 'intel-*kit' 'intel-oneapi*' cd /tmp wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list sudo apt update sudo apt install intel-basekit intel-hpckit sudo apt update sudo apt install git git clone https://gitlab.com/openmcsquare/MCsquare.git source /opt/intel/oneapi/setvars.sh cd MCsquare make all -j4 ./MCsquare_linux -v
上述命令可以写成一个脚本,然后自动安装。
如果在虚拟机安装,可能遇到空间不足的问题。空间不足请参考博文《虚拟机硬盘容量不够如何解决》,如有疑问,留言,作者会写的更加详细。
以后有机会可以将makefile的方式改为cmake的方式。
参考:
https://software.intel.com/content/www/us/en/develop/tools/oneapi/hpc-toolkit/download.html?operatingsystem=linux&distributions=webdownload&options=offline
https://software.intel.com/content/www/us/en/develop/tools/oneapi/base-toolkit.html#gs.6q9lnr
https://gitlab.com/openmcsquare/MCsquare
这篇关于质子重离子快速蒙卡MCsquare在ubuntu-20.04下的安装的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-09-28pyqt 怎么打包整个项目-icode9专业技术文章分享
- 2024-09-28laravel Commands 创建带有参数的 Artisan 命令的步骤和示例-icode9专业技术文章分享
- 2024-09-28antd怎么实现渲染tiff图片-icode9专业技术文章分享
- 2024-09-28英文半角中划线和中文全角的中划线有什么区别-icode9专业技术文章分享
- 2024-09-28nvm npm 和node 他们之间有什么关系-icode9专业技术文章分享
- 2024-09-28Node Version Manager (nvm)使用教程-icode9专业技术文章分享
- 2024-09-28nvm命令太慢,是什么原因-icode9专业技术文章分享
- 2024-09-28Kotlin 如何增加、删除和修改 MutableStateFlow 中的值。-icode9专业技术文章分享
- 2024-09-28Kotlin的stateFlow.update 写法介绍-icode9专业技术文章分享
- 2024-09-28kotlin 怎么获取当前时间格式-icode9专业技术文章分享