ompi icon indicating copy to clipboard operation
ompi copied to clipboard

The mpirun - N 20 program was run 20 times with one command

Open hwmmm1 opened this issue 2 years ago • 5 comments

Thank you for taking the time to submit an issue!

Background information

What version of Open MPI are you using? (e.g., v3.0.5, v4.0.2, git branch name and hash, etc.)

mpirun (Open MPI) 1.10.7

Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)

from a source

If you are building/installing from a git clone, please copy-n-paste the output from git submodule status.

Please describe the system on which you are running

  • Operating system/version: Lniux
  • Computer hardware: Intel Xeon Gold 6154 x 2
  • Network type:

Details of the problem

The command I use is: mpirun -n 24 jdftx -i totalE.in | tee totalE.out For two different computers, the same software and input parameters are used. The two CPUs are: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz and Intel(R) Xeon(R) Gold 6278C CPU @ 2.60GHz

However, the output file of running on 6278c seems to be that the program is run again and again in every process. Instead of running a program in multiple processes. How should this be handled?

hwmmm1 avatar Aug 11 '22 02:08 hwmmm1

That typically occurs when mpirun and libmpi.so do not match. For example, mpirun is from a different Open MPI version or vendor.

try to

type mpirun to figure out which mpirun is used ldd a.out to figure out which MPI library is used.

ggouaillardet avatar Aug 11 '22 03:08 ggouaillardet

微信截图_20220811150228 微信截图_20220811150228 Dear Sir: I noticed that the versions of mpirun on two computer is same. th computers are the same. However, there are some differences after using LDD a.out. The picture is attached. I should reinstall mpirun to make them consistent. Or how to configure it ?

hwmmm1 avatar Aug 11 '22 07:08 hwmmm1

you need to ldd jdftx

please copy/paste the output instead of attaching a screenshot.

ggouaillardet avatar Aug 11 '22 10:08 ggouaillardet

Also, I note that you said you are using Open MPI 1.10.7. That was release back in 2017, and in computer time, is considered ancient. You should upgrade to the latest Open MPI v4.1.x release, if possible.

jsquyres avatar Aug 11 '22 17:08 jsquyres

@hwmmm1 Did you get the problem resolved?

jsquyres avatar Aug 19 '22 16:08 jsquyres