Once installed, mpich looks for the machines.LINUX files in /usr/share, while emerge put it, correctly, in /usr/share/mpich Reproducible: Always Steps to Reproduce: 1.mpirun -np 2 test 2. 3. Actual Results: cannot find machines file Expected Results: run correctlly Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25) ================================================================= System uname: 2.4.25 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /usr/X11R6/bin/startx /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" DISTDIR="/mnt/gentoo_distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS=" http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa atlas auctex avi berkdb bonobo cdr crypt cups doc dvd encode esd ethereal evo faad foomaticdb gdbm gif ginac gnome gnomedb gpm gtk gtk2 gtkhtml guile hbci imagemagick imap imlib java joystick jpeg ldap leim libg++ libgda libwww mad mikmod motif mozilla moznocompose moznoirc mpeg mpi mule music ncurses nls ofx oggvorbis opengl pam pda pdflib perl plotutils png python qt readline samba sdl slang slp spell sse ssl svga tcltk tcpd tetex tiff truetype usb wmf x86 xml xml2 xmms xv xvid zlib"
The same problem here. I couldn't understand why mpich wasn't picking up any changes made to the machines.LINUX file placed correctly in the directory /usr/share/mpich . After reading this bug report I placed machines.LINUX in /usr/share and, as if by magic, mpirun finally picks up hostnames from machines.LINUX as it should.
Should be fixed in 1.2.6-r1.
*** Bug 95987 has been marked as a duplicate of this bug. ***