Bug 30565 - mpiexec-0.74.ebuild (New Package)
Bug#: 30565 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: hp-cluster@gentoo.org Reported By: j.spadavecchia@ed.ac.uk
Component: Ebuilds
URL:  http://www.osc.edu/~pw/mpiexec/
Summary: mpiexec-0.74.ebuild (New Package)
Keywords:  
Status Whiteboard: 
Opened: 2003-10-07 07:05 0000
Description:   Opened: 2003-10-07 07:05 0000
Hello!

Please find attached mpiexec-0.74.ebuild.

Mpiexec is a replacement program for the script mpirun, which is part of the mpich package.  It bridges the gap between mpich and PBS.  It is used to initialize a parallel job from within a PBS batch or interactive environment.  When mprun is used in conjunction with PBS mpirun can cause resource leaks and lingering 'ghost jobs'.  Mpiexec fixes these problems by communicating with PBS's taskmanager library.  It is an essential tool for running a 'PBS-based' Linux cluster.

Mpiexec is maintained by: Pete Wyckoff <pw@osc.edu>
Mpiexec bug reports should go to: mpiexec@osc.edu
Issues regarding the mpiexec ebuild should go to: j.spadavecchia@ed.ac.uk (or whoever maintains the Gentoo mpiexec ebuild).

You can find out more about mpiexec at: http://www.osc.edu/~pw/mpiexec/

I suggest placing mpiexec in sys-cluster/mpiexec.

*Joe

------- Comment #1 From Joseph Spadavecchia 2003-10-07 07:07:06 0000 -------
Created an attachment (id=18904) [details]
mpiexec ebuild

------- Comment #2 From Joseph Spadavecchia 2003-10-07 07:22:16 0000 -------
(From update of attachment 18904 [details])
># Copyright 1999-2003 Gentoo Technologies, Inc.
># Distributed under the terms of the GNU General Public License v2
>
>S=${WORKDIR}/mpiexec-${PV}
>DESCRIPTION="Mpiexec is a replacement program for the script mpirun, which
is part of the mpich package.  It bridges the gap between mpich and PBS.
 It is used to initialize a parallel job from within a PBS batch or interactive
environment."
>SRC_URI="http://www.osc.edu/~pw/mpiexec/mpiexec-0.74.tgz"
>HOMEPAGE="http://www.osc.edu/~pw/mpiexec/"
>IUSE=""
>
>DEPEND="virtual/glibc
>	    sys-cluster/openpbs
>		sys-cluster/mpich"
>RDEPEND="net-misc/openssh"
>
>SLOT="0"
>LICENSE="GPL-2"
>KEYWORDS="x86"
>
>src_compile() {
>	cd ${S}
>	./configure --mandir=/usr/share/man --prefix=/usr --with-pbs=/usr --with-default-comm=mpich-p4
--disable-p4-shmem || die
>	make || die
>}
>
>src_install() {
>	dodir /usr/sbin
>	dodir /usr/local/bin
>
>	make install prefix=${D}/usr mandir=${D}/usr/share/man infodir=/usr/share/infoinstall
|| die
>
>	dodoc LICENSE README
>
>}

------- Comment #3 From Joseph Spadavecchia 2003-10-07 07:30:27 0000 -------
Created an attachment (id=18906) [details]
mpiexec-0.74.ebuild

------- Comment #4 From Lisa Seelye (RETIRED) 2003-10-15 18:29:47 0000 -------
Is there any reason you're not using econf?

You should also make a comment in the .ebuild as to why you are doing:
--with-default-comm=mpich-p4 --disable-p4-shmem

------- Comment #5 From Joseph Spadavecchia 2003-10-16 04:52:22 0000 -------
Created an attachment (id=19310) [details]
mpiexec-0.74.ebuild

I've updated the ebuild to configure --disable-p4-shmem by default only for
SMP
machines.  When using mpiexec on SMP machines this is most commonly done.

------- Comment #6 From Michael Imhof 2003-10-17 15:43:57 0000 -------
I added the ebuild.
Closing this bug.

Thanks for your help.