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 <gentoo-cluster+bounces-481-garchives=archives.gentoo.org@lists.gentoo.org>) id 1KC5Gm-0005lJ-Uq for garchives@archives.gentoo.org; Fri, 27 Jun 2008 04:09:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5DEDE050B; Fri, 27 Jun 2008 04:09:07 +0000 (UTC) Received: from kyron.neuralbs.com (modemcable086.140-70-69.static.videotron.ca [69.70.140.86]) by pigeon.gentoo.org (Postfix) with ESMTP id 8FF83E050B for <gentoo-cluster@lists.gentoo.org>; Fri, 27 Jun 2008 04:09:07 +0000 (UTC) Received: from [192.168.1.2] (kyron.neuralbs.com [192.168.1.2]) by kyron.neuralbs.com (Postfix) with ESMTP id 514D42B08 for <gentoo-cluster@lists.gentoo.org>; Fri, 27 Jun 2008 00:09:07 -0400 (EDT) Message-ID: <486467E3.4010708@neuralbs.com> Date: Fri, 27 Jun 2008 00:09:07 -0400 From: Eric Thibodeau <kyron@neuralbs.com> Organization: Neural Bucket Solutions Inc. User-Agent: Thunderbird 2.0.0.14 (X11/20080525) Precedence: bulk List-Post: <mailto:gentoo-cluster@lists.gentoo.org> List-Help: <mailto:gentoo-cluster+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-cluster+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-cluster+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-cluster.gentoo.org> X-BeenThere: gentoo-cluster@lists.gentoo.org Reply-to: gentoo-cluster@lists.gentoo.org MIME-Version: 1.0 To: gentoo-cluster@lists.gentoo.org Subject: Re: [gentoo-cluster] Re: eselect-mpi issues References: <20080612182855.17D522395D0@ece06.nas.nasa.gov> <20080613030216.GA6808@mejis.cold-front> <48559836.7070302@neuralbs.com> <df02a1a80806201351v3f6475e4kbff72408d0139a04@mail.gmail.com> In-Reply-To: <df02a1a80806201351v3f6475e4kbff72408d0139a04@mail.gmail.com> Content-Type: multipart/alternative; boundary="------------060707020002050705050203" X-Archives-Salt: 9b488f22-d953-4a1d-b7e7-6b27df5ee966 X-Archives-Hash: c65f6e8a43a4b1bf79f91828eadbd269 This is a multi-part message in MIME format. --------------060707020002050705050203 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Alexey Shvetsov wrote: > 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? > You might want to go read: http://bugs.gentoo.org/show_bug.cgi?id=44132 > 2008/6/16 Eric Thibodeau <kyron@neuralbs.com>: > >> 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 ;) >> >> > > > > --------------060707020002050705050203 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Alexey Shvetsov wrote: <blockquote cite="mid:df02a1a80806201351v3f6475e4kbff72408d0139a04@mail.gmail.com" type="cite"> <pre wrap="">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? </pre> </blockquote> You might want to go read: <a class="moz-txt-link-freetext" href="http://bugs.gentoo.org/show_bug.cgi?id=44132">http://bugs.gentoo.org/show_bug.cgi?id=44132</a><br> <br> <blockquote cite="mid:df02a1a80806201351v3f6475e4kbff72408d0139a04@mail.gmail.com" type="cite"> <pre wrap=""> 2008/6/16 Eric Thibodeau <a class="moz-txt-link-rfc2396E" href="mailto:kyron@neuralbs.com"><kyron@neuralbs.com></a>: </pre> <blockquote type="cite"> <pre wrap="">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, <a class="moz-txt-link-freetext" href="http://dev.gentoo.org/~jsbronder/empi.xml">http://dev.gentoo.org/~jsbronder/empi.xml</a>. 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 ;) </pre> </blockquote> <pre wrap=""><!----> </pre> </blockquote> <br> </body> </html> --------------060707020002050705050203-- -- gentoo-cluster@lists.gentoo.org mailing list