Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119320 - Keyword sys-cluster/mpiexec ~amd64
Summary: Keyword sys-cluster/mpiexec ~amd64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard: multilib-strict
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-17 11:04 UTC by Adam Carheden
Modified: 2007-02-03 01:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
virtual libc required by mpiexec ebuild (libc-2.3.ebuild,344 bytes, application/octet-stream)
2006-02-09 07:44 UTC, Adam Carheden
Details
virtual mpi required by mpiexec ebuild (mpi-1.0.ebuild,335 bytes, application/octet-stream)
2006-02-09 07:44 UTC, Adam Carheden
Details
virtual pbs required by mpiexec ebuild (pbs-1.0.ebuild,348 bytes, text/plain)
2006-02-09 07:44 UTC, Adam Carheden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Carheden 2006-01-17 11:04:32 UTC
I'd really like to use mpiexec on amd64, but it looks like the OpenPBS install barfs due to architecture.

---Snip---
checking host system type... Invalid configuration `x86_64-pc-linux-gnuoldld': machine `x86_64-pc' not recognized

Invalid configuration `x86_64-pc-linux': machine `x86_64-pc' not recognized
configure: error: config.sub failed on x86_64-pc-linux
---Snip---

Torque, however, compiles and runs quite nicely, despite the ~amd64 flag. I'm currently looking into simply writing my own ebuild (and upload it, of course) that will make mpiexec work with torque on AMD64, but I'd love to know if this (torque + mpiexec, x86 or AMD64) has been tried and get advice from those who have tried it. If someone could point me to any notes from previous attempts, that would be great!

Also, It seems like SuSE has OpenPBS for x86_64 (http://rpmfind.net/linux/RPM/suse/9.2/i386/suse/x86_64/OpenPBS-clients-2.3.16-604.1.x86_64.html), AND they distribute it (OpenPBS has a Fetch restriction on Gentoo). Any ideas how they do that both in terms of licensing and architecture?
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-01-17 11:43:37 UTC
I think we could probably redistribute it as well. Here's the license clauses:

2. Redistribution in any form is only permitted for non-commercial,
   non-profit purposes.  There can be no charge for the Software or any
   software incorporating the Software.  Further, there can be no
   expectation of revenue generated as a consequence of redistributing
   the Software.

3. Any Redistribution of source code must retain the above copyright notice
   and the acknowledgment contained in paragraph 6, this list of conditions
   and the disclaimer contained in paragraph 7.

Probably the reason we don't is that it can't be automatically fetched from the openpbs site.
Comment 2 Adam Carheden 2006-02-08 10:53:39 UTC
Okay, so this actually already works. I'm running 1 master node and 8 2-cpu compute nodes (All xen domUs on a 2cpu Opteron physical box) on using Gentoo 2005.1 for AMD64. I've tested with NASA's NPT benchmarks and everything seems to work fine except for the -I flag to qsub (which I think is a torque bug). Could someone please add ~amd64 to sys-cluster/mpiexec-0.76-r2. Maybe if we get some more users we'll discover (and fix) some more problems. :)
Comment 3 Adam Carheden 2006-02-09 07:44:01 UTC
Created attachment 79323 [details]
virtual libc required by mpiexec ebuild
Comment 4 Adam Carheden 2006-02-09 07:44:38 UTC
Created attachment 79324 [details]
virtual mpi required by mpiexec ebuild
Comment 5 Adam Carheden 2006-02-09 07:44:59 UTC
Created attachment 79325 [details]
virtual pbs required by mpiexec ebuild
Comment 6 Adam Carheden 2006-02-09 12:51:54 UTC
Ha ha, just kidding. Please delete all the virtual packages I just uploaded as they're not needed. I swear it didn't work without them before, now now it works fine. For those unfamiliar with virtual packages (as I was), they're taken care of by a PROVIDE line in some other package, such as sys-cluster/mpich, sys-libs/glibc, sys-cluster/torque. 
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2006-08-14 13:36:33 UTC
See comment #2.
Comment 8 Adam Carheden 2006-08-14 14:12:42 UTC
(In reply to comment #7)
> See comment #2.
> 

Huh? Nevermind about the binaries. What I'm saying is that I emerged torque (which provides virtual/pbs) and added '=sys-cluster/mpiexec-0.76-r2 ~x86' to packages.keywords on my AMD64 box, and everything seems to work fine, exactly like it should for x86 and ppc, compiling from sources and all. I just wanted you to add ~amd64 to KEYWORDS and possibly some DEPEND logic to require sys-cluster/torque instead of virtual/pbs for AMD64 so we get some more people trying it out.
Comment 9 Steve Dibb (RETIRED) gentoo-dev 2007-02-03 01:47:42 UTC
fails multilib-strict, feel free to reopen with a patch