Public bug reported:
For example, after compiling the program hello.f90, the result is:
/usr/bin/mpirun -np 10 hello
Hello World from process: 0 of 1
Hello World from process: 0 of 1
Hello World from process: 0 of 1
Hello World from process: 0 of 1
Hello World from process: 0 of 1
Hello World from process: 0 of 1
Hello World from process: 0 of 1
Hello World from process: 0 of 1
Hello World from process: 0 of 1
Hello World from process: 0 of 1
Code of hello.f90:
------------------
include 'mpif.h'
integer iproc, nproc, ierror, tag
call MPI_INIT(ierror)
call MPI_COMM_SIZE(MPI_COMM_WORLD, nproc, ierror)
call MPI_COMM_RANK(MPI_COMM_WORLD, iproc, ierror)
print *, 'Hello World from process: ', iproc, 'of ', nproc
call MPI_FINALIZE(ierror)
END PROGRAM
Compiled as:
------------
mpif90 -o hello hello.f90
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: mpich 4.2.0-5build3
ProcVersionSignature: Ubuntu 6.8.0-41.41-generic 6.8.12
Uname: Linux 6.8.0-41-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckMismatches: ./casper/initrd
CasperMD5CheckResult: fail
CurrentDesktop: ubuntu:GNOME
Date: Wed Oct 16 16:54:38 2024
InstallationDate: Installed on 2024-04-04 (195 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
XDG_RUNTIME_DIR=<set>
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: mpich
UpgradeStatus: Upgraded to noble on 2024-09-05 (41 days ago)
** Affects: mpich (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2084692
Title:
Since updated ubuntu, the mpirun command always runs as if np=1,
independently of the number np actually specified.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mpich/+bug/2084692/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs