From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JwM8X-0003w7-K8 for garchives@archives.gentoo.org; Wed, 14 May 2008 18:55:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1F42E050F; Wed, 14 May 2008 18:55:36 +0000 (UTC) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by pigeon.gentoo.org (Postfix) with ESMTP id 80CE5E050F for ; Wed, 14 May 2008 18:55:36 +0000 (UTC) Received: by nf-out-0910.google.com with SMTP id c7so15633nfi.26 for ; Wed, 14 May 2008 11:55:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=rb15VshOeQ/OKOOPlm6brs3FL+qgyY0bMYHwYId1r3Y=; b=jeKgikp7+Wt/lys8iN7X4GQaM8S03sP58oSxxS5PWtjE9P5lhqaeyTFDBe8DEz0LKA5IY4lCC7mZ+YXuY8dGXABBuOxIcmgIXXkT1sftYGSsMDv2Ds5k2rw3ib2Ks1/LIQw4s2L2wmBRwJ0IdpjvMdpSOixc3ciB8YiuDasY1mA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=ZOo376kmBTU830Mc+2EKZLyRoNUwrFOGKvEjvWKvfGvd5P66qon9EybaaOeFMNlDrzAt2qYD0kcjX1h2D0wUJgB4/D1hCVFNEgvT1XcWmyNbvok6ZHC3PZ9X4/zQjFaKytrJ55KdS5heQWBQW/ehGTjXakGmqrIb/97fzGZGxxc= Received: by 10.210.89.4 with SMTP id m4mr1347646ebb.68.1210791335821; Wed, 14 May 2008 11:55:35 -0700 (PDT) Received: from ?192.168.2.5? ( [82.84.119.89]) by mx.google.com with ESMTPS id w5sm7492850mue.11.2008.05.14.11.55.32 (version=SSLv3 cipher=RC4-MD5); Wed, 14 May 2008 11:55:32 -0700 (PDT) Subject: [gentoo-science] Re: Empi, should it be in the science overlay? From: Radice David To: gentoo-science@lists.gentoo.org In-Reply-To: <20080226154538.GC3622@mejis.cold-front> References: <20080226154538.GC3622@mejis.cold-front> Content-Type: text/plain Date: Wed, 14 May 2008 20:54:31 +0200 Message-Id: <1210791271.6604.35.camel@gentoo> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: ea5063ab-932d-42f1-8537-dbc4fb5980d1 X-Archives-Hash: 6872c6029f43b450cc686830a9d27b69 Hi, I am playing with it right now, but I had to patch it this way to make it work with my /etc/portage/package.* directories: --- empi.old 2008-05-14 19:35:00.000000000 +0200 +++ empi.new 2008-05-14 19:39:30.000000000 +0200 @@ -106,7 +106,7 @@ fi if ! grep "[>=<]*${imp}/${atom[1]}" ${gfiles} &>/dev/null; then - grep "[>=<]*${atom[0]}/${atom[1]}" ${gfiles} 2>/dev/null \ + grep -h "[>=<]*${atom[0]}/${atom[1]}" ${gfiles} 2>/dev/null \ | sed "s,${atom[0]},${imp}," \ | while read line; do echo "${line}" >> ${f} otherwise grep will produce a wrong output because it will prefix the file name before the found expression and something like this is put inside the keyword file: /etc/portage/package.keywords/base:mpi-test/openmpi ~x86 Thanks, David. On Tue, 2008-02-26 at 10:45 -0500, Justin Bronder wrote: > I've been spending the majority of my Gentoo-related time working on a > solution to bug 44132 [1], basically, trying to find a way to gracefully > handle multiple installs of various MPI implementations at the same time in > Gentoo. Theres more information about the solution in my devspace [2], but > a quick summary is that there is a new package (empi) that is much like > crossdev, a new eselect module for empi, and a new eclass that handles both > mpi implementations and packages depending on mpi. > > So, I think I have pushed this work far enough along for it to actually be > somewhat officially offered. My question then, is where should this be > located? There are several mpi packages in the science overlay already, so > should I push this work to there, or would it be more appropriate to make a > new overlay specifically for hp-cluster? > > Future work related to this project will be getting all mpi implementations > and dependant packages converted in the same overlay before bringing it up on > -dev for discussion about inclusion into the main tree. > > I have no real preference either way, but the science team does already have > an overlay :) Let me know what you think. > > [1] https://bugs.gentoo.org/show_bug.cgi?id=44132 > [2] http://dev.gentoo.org/~jsbronder/README.empi.txt > -- gentoo-science@lists.gentoo.org mailing list