计算化学公社

 找回密码 Forget password
 注册 Register
Views: 20779|回复 Reply: 48
打印 Print 上一主题 Last thread 下一主题 Next thread

[ORCA] 下载即用的ORCA 无需安装任何MPI

  [复制链接 Copy URL]

2407

帖子

1

威望

5952

eV
积分
8379

Level 6 (一方通行)

本帖最后由 abin 于 2022-3-25 10:26 编辑

链接: https://pan.baidu.com/s/1Yulco94tiwCEVQY3CzAyxQ 提取码: gj4y


## Installation
  1. yum -y install singularity # centOS 7.x and old Fedora  
  2. dnf -y install singularity   # centOS 8.x, CentOS Stream, Rocky Linux, Fedora 30 and new.
  3. apt -y install singularity     # Debian/Ubuntu, or something alike.
复制代码
# need root permission and internet connection.


## Configure, switch to normal user.
mkdir $HOME/bin
cp orca.v5.0.1-openmpi-v4.1.1-hpc4you.SIF $HOME/bin
mv $HOME/bin/orca.v5.0.1-openmpi-v4.1.1-hpc4you.SIF $HOME/bin/orca5

## Run calculations.
orca5 Your-Input-File > Your-Output-File &

## Please note
Do not decompress orca.v5.0.1-openmpi-v4.1.1-hpc4you.SIF with any FXXKing tools on windows.
No need to install any MPI on your server.
Nothing to do with any MPI or any other applications on your server.

May not work on some HPC platforms, cuz the default path for $HOME is not '/home/username/'.
Anyway, '/tmp' is the directory which always works.


Good luck.

update
=====
For Debian/Ubuntu user,
apt install singulairty may not work. Refer this, https://github.com/apptainer/singularity/issues/5390


You can download the binary package from https://github.com/sylabs/singularity/releases/tag/v3.9.2
Then install it manually.

补充说明

为了更好地支持ORCA开发者,
请务必从ORCA开发者论坛下载所需要的版本.

如果你下载之后不会安装, 不会配置,
可以参考本方案, 进行部署安装.
本方案, 需要root权限, 安装一个标准组件, 但是无需任何配置操作.
而后, 使用普通用户, 就可以运行ORCA计算.
其他细节, 请仔细翻阅各楼层信息.
特此说明.

我仅仅是提供一个解决方案, singularity真是一个特别棒的工具. 仅此而已.


当然, 采用singularity模式部署的软件, 不便于通过其他程序来调用. 各有利弊吧.


又更新
=====
主流Linux发行版, 均支持singularity,
但是该软件原开发者可能计划有变, 现在对应的软件名称, 可能有变化, 自行查询Singularity开发者页面查询详细信息.







评分 Rate

参与人数
Participants 13
eV +54 收起 理由
Reason
雨中宇 + 4 牛!
超限制抱怨 + 5 谢谢
DapengDing + 5 赞!
风风光风光 + 4 正解
兲选之人 + 4 好物!
Freeman + 5 谢谢
zsu007 + 5 谢谢分享
RoyTeng + 2
水处理小白 + 3 赞!
ljc050512 + 5 好物!
lonemen + 5 好物!
牧生 + 2 终于顺利多核计算了
sobereva + 5

查看全部评分 View all ratings

High-Performance Computing for You
为您专属定制的高性能计算解决方案

更多讯息,请访问:
https://labitc.top
http://tophpc.top:8080
电邮: ask@hpc4you.top

6

帖子

0

威望

29

eV
积分
35

Level 2 能力者

49#
发表于 Post on 2025-3-5 15:06:16 | 只看该作者 Only view this author
Santz 发表于 2025-3-5 14:15
或者直接装二进制包

感想指点,可惜的是返回的输出为Package singularity-container is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'singularity-container' has no installation candidate这里的意思应该是没有这个包了,我去看看二进制包怎么下载吧

2407

帖子

1

威望

5952

eV
积分
8379

Level 6 (一方通行)

48#
 楼主 Author| 发表于 Post on 2025-3-5 14:48:29 | 只看该作者 Only view this author
Debian/Ubuntu系统中, 可能存在一个电子游戏或者音乐播放器,
叫做singularity.

Singularity已经更名为:
singularity-ce
或者apptainer.
自己去GitHub搜索一下就可以看到.
High-Performance Computing for You
为您专属定制的高性能计算解决方案

更多讯息,请访问:
https://labitc.top
http://tophpc.top:8080
电邮: ask@hpc4you.top

158

帖子

2

威望

3547

eV
积分
3745

Level 5 (御坂)

47#
发表于 Post on 2025-3-5 14:15:20 | 只看该作者 Only view this author
ZigzagZhou 发表于 2025-3-5 14:00
非常感想分享!有个问题想请教一下,我在Ubunto系统上用apt -y install singularity指令下载singularity后 ...
  1. apt-get install singularity-container
复制代码
或者直接装二进制包

6

帖子

0

威望

29

eV
积分
35

Level 2 能力者

46#
发表于 Post on 2025-3-5 14:00:00 | 只看该作者 Only view this author
非常感想分享!有个问题想请教一下,我在Ubunto系统上用apt -y install singularity指令下载singularity后,在终端输入singularity弹出来的似乎是一个电子游戏,请问是我下载错误了吗

2407

帖子

1

威望

5952

eV
积分
8379

Level 6 (一方通行)

45#
 楼主 Author| 发表于 Post on 2025-1-2 22:10:13 | 只看该作者 Only view this author
每个程序写一个对应的setup.sh

用哪一个程序, 就source一下对应的setup.sh, 这个很好操作的.

当然有更好的办法, 比如采用module 或者lmod来管理.
High-Performance Computing for You
为您专属定制的高性能计算解决方案

更多讯息,请访问:
https://labitc.top
http://tophpc.top:8080
电邮: ask@hpc4you.top

1万

帖子

0

威望

8993

eV
积分
20741

Level 6 (一方通行)

44#
发表于 Post on 2025-1-2 17:31:15 | 只看该作者 Only view this author
牧生 发表于 2025-1-2 10:11
机子只有我一人在用,只有一个用户名。我用的rockylinux 9.4,无论手动运行了  source ~/.bashrc,或 ...

如果把export LD_LIBRARY_PATH=/home/jing/software/openmpi416/lib:$LD_LIBRARY_PATH写到调用orca的脚本里呢?我们马普所这边一般都是这么做的
Zikuan Wang
山东大学光学高等研究中心 研究员
BDF(https://bdf-manual.readthedocs.io/zh_CN/latest/Introduction.html)、ORCA(https://orcaforum.kofo.mpg.de/index.php)开发团队成员
Google Scholar: https://scholar.google.com/citations?hl=zh-CN&user=XW6C6eQAAAAJ&view_op=list_works&sortby=pubdate
ORCID: https://orcid.org/0000-0002-4540-8734
主页:http://www.qitcs.qd.sdu.edu.cn/info/1034/1702.htm
本团队长期招收研究生,有意者可私信联系

1479

帖子

0

威望

4541

eV
积分
6020

Level 6 (一方通行)

43#
发表于 Post on 2025-1-2 17:11:14 | 只看该作者 Only view this author
本帖最后由 牧生 于 2025-1-2 17:20 编辑
wzkchem5 发表于 2025-1-2 17:02
说明因为某种原因,虽然你设了LD_LIBRARY_PATH,但是orca没看到。
你的export LD_LIBRARY_PATH是写在.ba ...



机子只有我一人在用,只有一个用户名。我用的rockylinux 9.4,无论手动运行了  source ~/.bashrc,或者是重启机子,或者是重启机子后再source ~/.bashrc,无论换用箭头处的416,或者505 (相应的,运行mpiexec -V时都能顺利显示416或者505),但都不能并行,均只能单核。

我自认也不是绝对的小白了,这些基础的东西,我应该没有搞错,但我也不知道问题在哪,所以来寻求大神做一个免MPI的orca601。

如果实在解决不了,我也就只能重装一下了,反正我新的硬盘装上的ORCA是正常多核并行的。

又菜又爱玩

1万

帖子

0

威望

8993

eV
积分
20741

Level 6 (一方通行)

42#
发表于 Post on 2025-1-2 17:02:41 | 只看该作者 Only view this author
牧生 发表于 2025-1-2 09:39
在安装好的软件的文件下里面,无论是openmpi416,或者openmpi505,都有libmpi.so.40这个文件的哦。。但是 ...

说明因为某种原因,虽然你设了LD_LIBRARY_PATH,但是orca没看到。
你的export LD_LIBRARY_PATH是写在.bashrc里了吗?会不会登录的时候操作系统并没有自动source ~/.bashrc,例如因为默认的shell不是bash?
Zikuan Wang
山东大学光学高等研究中心 研究员
BDF(https://bdf-manual.readthedocs.io/zh_CN/latest/Introduction.html)、ORCA(https://orcaforum.kofo.mpg.de/index.php)开发团队成员
Google Scholar: https://scholar.google.com/citations?hl=zh-CN&user=XW6C6eQAAAAJ&view_op=list_works&sortby=pubdate
ORCID: https://orcid.org/0000-0002-4540-8734
主页:http://www.qitcs.qd.sdu.edu.cn/info/1034/1702.htm
本团队长期招收研究生,有意者可私信联系

1479

帖子

0

威望

4541

eV
积分
6020

Level 6 (一方通行)

41#
发表于 Post on 2025-1-2 16:39:45 | 只看该作者 Only view this author
本帖最后由 牧生 于 2025-1-2 17:02 编辑
wzkchem5 发表于 2025-1-2 16:34
在/home/jing/software/openmpi416/lib文件夹下有libmpi.so.40这个文件吗?如果没有,有文件名相似的文件 ...

在安装好的软件的文件下里面,无论是openmpi416,或者openmpi505,都有libmpi.so.40这个文件的哦。需要输入文件路径的时候,我都是复制的,不用手动输入,避免错误。但是无论用416或者505,都不能让orca并行。




又菜又爱玩

1万

帖子

0

威望

8993

eV
积分
20741

Level 6 (一方通行)

40#
发表于 Post on 2025-1-2 16:34:31 | 只看该作者 Only view this author
牧生 发表于 2025-1-2 01:06
感谢楼上两位的解答,我CPU是13900K,用的ORCA 6.0.1, Linux, x86-64, .tar.xz,不是AVX2版本

回复wzk ...

在/home/jing/software/openmpi416/lib文件夹下有libmpi.so.40这个文件吗?如果没有,有文件名相似的文件吗?
Zikuan Wang
山东大学光学高等研究中心 研究员
BDF(https://bdf-manual.readthedocs.io/zh_CN/latest/Introduction.html)、ORCA(https://orcaforum.kofo.mpg.de/index.php)开发团队成员
Google Scholar: https://scholar.google.com/citations?hl=zh-CN&user=XW6C6eQAAAAJ&view_op=list_works&sortby=pubdate
ORCID: https://orcid.org/0000-0002-4540-8734
主页:http://www.qitcs.qd.sdu.edu.cn/info/1034/1702.htm
本团队长期招收研究生,有意者可私信联系

1479

帖子

0

威望

4541

eV
积分
6020

Level 6 (一方通行)

39#
发表于 Post on 2025-1-2 08:06:32 | 只看该作者 Only view this author
本帖最后由 牧生 于 2025-1-2 08:14 编辑
wzkchem5 发表于 2024-12-31 18:08
LD_LIBRARY_PATH设置正确吗?

感谢楼上两位的解答,我CPU是13900K,用的ORCA 6.0.1, Linux, x86-64, .tar.xz,不是AVX2版本

回复wzkchem5 :

我是按照http://bbs.keinsci.com/thread-11697-1-11.html的教程设置的,且让openmpi416优先

export PATH=/home/jing/software/openmpi416/bin:$PATH
export LD_LIBRARY_PATH=/home/jing/software/openmpi416/lib:$LD_LIBRARY_PATH

重启机子,运行mpiexec -V得到的是



然后随便画个烷烃,多核计算就会这样报错,但是单核就没问题。




回复abin:
我在另一个硬盘实测openmpi505也是可以让orca多核并行的。我只是不明白,我现在这个系统上,看起来设置都正确,但不知道为何就唯独orca不能多核。

我猜测问题仍然是出在openmpi上的,重装一下系统必然能解决问题。但由于我这个系统里面已经装好了很多软件,懒得重新搞一遍,所以请求大佬做一个不需要额外设置MPI的orca601


又菜又爱玩

2407

帖子

1

威望

5952

eV
积分
8379

Level 6 (一方通行)

38#
 楼主 Author| 发表于 Post on 2025-1-1 11:23:32 | 只看该作者 Only view this author
牧生 发表于 2024-12-31 15:54
我自己用的机子上,已经装了CP2K,使用mpiexec -V命令,也正常显示OpenMPI为5.0.5

但不知 ...

你用的方案又不是我提供的, 我无法评价.

By the way,
ORCA v6.0.1, only works with OpenMPI 4.1.6 on Linux; OpenMPI 4.1.1 on MacOS X.

Be sure to read the manual first.
High-Performance Computing for You
为您专属定制的高性能计算解决方案

更多讯息,请访问:
https://labitc.top
http://tophpc.top:8080
电邮: ask@hpc4you.top

1万

帖子

0

威望

8993

eV
积分
20741

Level 6 (一方通行)

37#
发表于 Post on 2024-12-31 18:08:24 | 只看该作者 Only view this author
牧生 发表于 2024-12-31 08:54
我自己用的机子上,已经装了CP2K,使用mpiexec -V命令,也正常显示OpenMPI为5.0.5

但不知 ...

LD_LIBRARY_PATH设置正确吗?
Zikuan Wang
山东大学光学高等研究中心 研究员
BDF(https://bdf-manual.readthedocs.io/zh_CN/latest/Introduction.html)、ORCA(https://orcaforum.kofo.mpg.de/index.php)开发团队成员
Google Scholar: https://scholar.google.com/citations?hl=zh-CN&user=XW6C6eQAAAAJ&view_op=list_works&sortby=pubdate
ORCID: https://orcid.org/0000-0002-4540-8734
主页:http://www.qitcs.qd.sdu.edu.cn/info/1034/1702.htm
本团队长期招收研究生,有意者可私信联系

1479

帖子

0

威望

4541

eV
积分
6020

Level 6 (一方通行)

36#
发表于 Post on 2024-12-31 15:54:00 | 只看该作者 Only view this author
本帖最后由 牧生 于 2024-12-31 17:02 编辑
abin 发表于 2024-12-31 13:33
被专家批评, 你这也不用module 也不用lmod,
啥MPI都没加载, 你这搞得啥破玩意啊?

我自己用的机子上,已经装了CP2K,使用mpiexec -V命令,也正常显示OpenMPI为5.0.5

但不知道为何,我机子上gmx和CP2K都能多核并行,奈何唯独orca不能多核并行,只能单核。

多核时报错提示为

/home/jing/software/orca601/orca_startup_mpi: error while loading shared libraries: libmpi.so.40: cannot open shared object file: No such file or directory
/home/jing/software/orca601/orca_startup_mpi: error while loading shared libraries: libmpi.so.40: cannot open shared object file: No such file or directory
/home/jing/software/orca601/orca_startup_mpi: error while loading shared libraries: libmpi.so.40: cannot open shared object file: No such file or directory
/home/jing/software/orca601/orca_startup_mpi: error while loading shared libraries: libmpi.so.40: cannot open shared object file: No such file or directory
/home/jing/software/orca601/orca_startup_mpi: error while loading shared libraries: libmpi.so.40: cannot open shared object file: No such file or directory
--------------------------------------------------------------------------
prterun detected that one or more processes exited with non-zero status,
thus causing the job to be terminated. The first process to do so was:

   Process name: [prterun-jing-17310@1,0] Exit code:    127
--------------------------------------------------------------------------

ORCA finished by error termination in Startup
Calling Command: mpirun -np 6  /home/jing/software/orca601/orca_startup_mpi C.int.tmp C
[file orca_tools/qcmsg.cpp, line 394]:
  .... aborting the run

[file orca_tools/qcmsg.cpp, line 394]:
  .... aborting the run



已经排查了gcc和gfortran,都OK。。


我使用ldd /home/jing/software/orca601/orca_scf_mpi   找不到文件。但我直接在orca网上下载的run文件,应该没问题的啊




又菜又爱玩

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2025-8-14 18:21 , Processed in 1.838095 second(s), 25 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list