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 1K9nZd-000450-L9 for garchives@archives.gentoo.org; Fri, 20 Jun 2008 20:51:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6EB50E0412; Fri, 20 Jun 2008 20:51:08 +0000 (UTC) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.155]) by pigeon.gentoo.org (Postfix) with ESMTP id 44FA7E0412 for ; Fri, 20 Jun 2008 20:51:08 +0000 (UTC) Received: by yw-out-1718.google.com with SMTP id 5so727782ywm.46 for ; Fri, 20 Jun 2008 13:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=g+6MS8HzCZugup/1Zdc1/NmWXz90YPXv5KhZPhc6Vxw=; b=PSWn8PxHrK4DlJXyL4tjAeM5KS3nI8KVWgZ2tOCHD9X21yt8YbZ3pFLzLRtrdWnVff G5nOcYP3UQliUIB7uftsBW7pKgrz5sv/9j6zlZJAd0qzUGGAnf0hhWyCqEp8n21/QVXv XMkZgf/bacGp84Zkx4fFdgEYMjgELLQ7U3fro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=opjImM5WTpUseiHDwV9ZQ0mUZQpWSul11rBOy/sTZU5YQagyNFrvnhmnU1PsPUHfYd hDG6aneCsrmqsIMKPn3+zeCaNtDVQgQvXGCE6t6MAfVmHV4ixG9MnrcuOD0LqpigkpSP qztxcgWXiHIeSPHb8SgFG1o75MNNf9qcCrZB8= Received: by 10.142.116.13 with SMTP id o13mr1890916wfc.210.1213995067243; Fri, 20 Jun 2008 13:51:07 -0700 (PDT) Received: by 10.142.51.17 with HTTP; Fri, 20 Jun 2008 13:51:07 -0700 (PDT) Message-ID: Date: Sat, 21 Jun 2008 00:51:07 +0400 From: "Alexey Shvetsov" To: gentoo-cluster@lists.gentoo.org Subject: Re: [gentoo-cluster] Re: eselect-mpi issues In-Reply-To: <48559836.7070302@neuralbs.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-cluster@lists.gentoo.org Reply-to: gentoo-cluster@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080612182855.17D522395D0@ece06.nas.nasa.gov> <20080613030216.GA6808@mejis.cold-front> <48559836.7070302@neuralbs.com> X-Archives-Salt: 1861d818-ded3-4f6d-955d-fe06e43288c5 X-Archives-Hash: 0c50a7a9cf5458c802f8e11cf891073f hi all! May be it will be better if we can choose combinations mpi_imp/compiler for example mpi-openmpi-gcc mpi-openmpi-intel and so on for now it can be done manualy specifing CC, Fc and so on env may be it will be better if it will be done from empi? 2008/6/16 Eric Thibodeau : > Justin Bronder wrote: > > On 12/06/08 11:28 -0700, Bryan Green wrote: > > > Hello, > > I'm beginning to give empi/eselect-mpi a try. Bravo, Justin, for making > these! > > > Thanks for trying them out, I'm hoping someone else finds them as useful as > I > have. > > > It is planned to be part of the Gentoo Clustering LiveCD ;) > > > > I've run into one bug in eselect-mpi that effects csh users (a popular > shell where I work). There is simply one setenv line that has bash syntax > rather than csh syntax. I already submitted a bug: its bug 226105. > Here is the patch to fix it: > > ================================================ > --- files/mpi.eselect-0.0.3 (revision 1137) > +++ files/mpi.eselect-0.0.3 (working copy) > @@ -161,7 +161,7 @@ > setenv PATH "${binpath}" > setenv MANPATH "${manpath}" > setenv LD_LIBRARY_PATH "${lld}" > -setenv ESELECT_MPI_IMP="${1}" > +setenv ESELECT_MPI_IMP "${1}" > EOF > > echo "Remember to source ${user_ev_sh} or ${user_ev_csh}" > ================================================ > > > Fixed in eselect-0.0.3-r1. Also found another mistake when setting PATH for > c shells and fixed that as well. > > > > Also, in the README file, the for loop in step 6 is incorrect: > > for i in $(ls ${HOME}/.env.d/*); do > source ${HOME}/.env.d/${i} > done > > Results in: > > -bash: /home/bgreen/.env.d//home/bgreen/.env.d/mpi.csh: No such file or > directory > -bash: /home/bgreen/.env.d//home/bgreen/.env.d/mpi.sh: No such file or > directoryA > > > Also fixed. You might also want to check out the doc I've been working on > lately, http://dev.gentoo.org/~jsbronder/empi.xml. Hopefully it's a little > more up to date. > > > Have to remember that one ;) > > > > On the system where I'm using empi, I've created files in /etc/profile.d to > source the user's .env.d files when they log in. What do you think about > having the eselect-mpi ebuild install these, so mpi users dont have to do > that part manually? They would instead just have to source /etc/profile or > /etc/csh.login after running 'eselect mpi'. > > > Love it, I had not even thought of using this mechanism before even though I > should have. It will also simplify switching from an mpi environment to one > without it. I'll try to get something checked into the overlay soon, > shouldn't be more than a few days.< > > > Keep us posted because I will definitely want that version! > > > > Here are my versions of the files in /etc/profile.d: > > ============== > mpi-config.sh > ============== > if [ -d ${HOME}/.env.d ]; then > for i in ${HOME}/.env.d/*.sh ; do > . "${i}" > done > unset i > fi > > ============== > mpi-config.csh > ============== > if ( -d ${HOME}/.env.d ) then > set nonomatch > foreach i ( ${HOME}/.env.d/*.csh ) > source ${i} > end > unset i nonomatch > endif > > ============== > > -bryan > > > Thanks again for testing and your comments, they're much appreciated. > > > Yeah, thanks you both, multi-mpi-on-1-system has always plagued me too ;) > -- Gentoo GNU/Linux 2.6.25 Mail to alexxyum@gmail.com alexxy@gentoo.ru -- gentoo-cluster@lists.gentoo.org mailing list