Hi,<div><br></div><div>I have a related question, are these instructions also posible for installing MPICH?... or is there a StarCluster MPICH version? =D</div><div><br></div><div>Thanks in advance...</div><div><br></div><div>
<br><div class="gmail_quote">On Wed, Jun 2, 2010 at 1:21 PM, Justin Riley <span dir="ltr"><<a href="mailto:jtriley@mit.edu">jtriley@mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hi Jun-Wei,<br>
<br>
</div>Just following up, I took a quick look and found that lam is actually<br>
included in the Ubuntu repos. So, my instructions are now modified as:<br>
<div class="im"><br>
1. launch a single instance of the StarCluster AMI with ElasticFox or<br>
the AWS management console<br>
<br>
2. Log into this instance as root and run the following command to<br>
uninstall OpenMPI:<br>
<br>
$ apt-get remove libopenmpi-dbg libopenmpi-dev \<br>
libopenmpi1.3openmpi-bin openmpi-common openmpi-doc<br>
<br>
</div>3. Install lam by running:<br>
<br>
$ apt-get install lam4-dev<br>
<div class="im"><br>
4. Log out of the instance and use StarCluster's createimage command, e.g:<br>
<br>
$ starcluster createimage i-99999 mybucket myimagename<br>
<br>
5. Use the newly created AMI id in one of your cluster templates in the<br>
config file.<br>
<br>
</div>6. Launch a cluster using that cluster template.<br>
<br>
7. Login to the master node and edit /etc/lam/lam-bhost.def and add all<br>
node aliases on a new line, e.g:<br>
<br>
# ...<br>
# This file is part of the LAM/MPI software package. For license<br>
# information, see the LICENSE file in the top level directory of the<br>
# LAM/MPI source distribution.<br>
#<br>
# $HEADER$<br>
#<br>
# Function: - bhost.def<br>
# - a single-node LAM<br>
#<br>
<br>
master<br>
node001<br>
...<br>
<br>
8. Save that file and run "lamboot" command as normal user to start the<br>
lam daemons.<br>
<br>
9. Compile and run your code :D<br>
<br>
I'm considering creating a LAM image and sharing it publicly. Would<br>
anyone else be interested in this?<br>
<br>
~Justin<br>
<div><div></div><div class="h5"><br>
<br>
On 06/02/2010 02:08 PM, Justin Riley wrote:<br>
> Hi Jun-Wei,<br>
><br>
> StarCluster currently comes with OpenMPI 1.3.2 so it's hard to tell if<br>
> the results/conclusions from that paper are still valid without<br>
> re-running their tests.<br>
><br>
> With that said, we've chosen OpenMPI because it's the successor of LAM<br>
> and is also provided by the default Ubuntu package repository. It also<br>
> comes with support for integrating with Sun Grid Engine. These things<br>
> combined make OpenMPI much more attractive from a packaging/support<br>
> perspective.<br>
><br>
> However, StarCluster does not limit you to using OpenMPI provided you're<br>
> willing to install LAM yourself. You *should* be able to install LAM by<br>
> launching an instance of the StarCluster AMI, removing OpenMPI and<br>
> installing LAM, and then re-bundling the AMI. Here are some detailed<br>
> instructions:<br>
><br>
> 1. launch a single instance of the StarCluster AMI with ElasticFox or<br>
> the AWS management console<br>
><br>
> 2. Log into this instance as root and run the following command to<br>
> uninstall OpenMPI:<br>
><br>
> $ apt-get remove libopenmpi-dbg libopenmpi-dev \<br>
> libopenmpi1.3openmpi-bin openmpi-common openmpi-doc<br>
><br>
> 3. Download and install LAM on the instance manually<br>
><br>
> 4. Log out of the instance and use StarCluster's createimage command, e.g:<br>
><br>
> $ starcluster createimage i-99999 mybucket myimagename<br>
><br>
> 5. Use the newly created AMI id in one of your cluster templates in the<br>
> config file.<br>
><br>
> 6. Launch a cluster using that cluster template and give it a shot<br>
><br>
> If you decide to go this route please keep the list informed on your<br>
> progress. If you're successful and find the performance to be better<br>
> I'll consider making a separate AMI for LAM and posting it on the website.<br>
><br>
> Hope that helps,<br>
><br>
> ~Justin<br>
><br>
> On 06/02/2010 01:27 PM, Huang, Jun-Wei wrote:<br>
>> Hello:<br>
>> I have followed the StarCluster's documentation and created a small<br>
>> cluster successfully. I notice that only openmpi is available on the<br>
>> virtual cluster. According to the abstract by Constantinos Evangelinos<br>
>> and Chris Hill (2008), they found openmpi 1.2.6 does not work and<br>
>> lam/mpi has the lowest latency. My question is that are their<br>
>> observations still hold true for the virtual cluster created using<br>
>> StarCluster? If so, what is the way to add lam/mpi implementation to the<br>
>> virtual cluster. Thank you very much.<br>
><br>
>> Best wishes,<br>
>> Junwei<br>
><br>
><br>
><br>
><br>
>> _______________________________________________<br>
>> Starcluster mailing list<br>
>> <a href="mailto:Starcluster@mit.edu">Starcluster@mit.edu</a><br>
>> <a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
><br>
_______________________________________________<br>
Starcluster mailing list<br>
<a href="mailto:Starcluster@mit.edu">Starcluster@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.14 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
</div></div>iEYEARECAAYFAkwGoTwACgkQ4llAkMfDcrkj5gCgkr9AU37pn3qR+hT5xfTw5LHh<br>
TigAniPzTPJpxTXlPsBCNfQ9ONpHHm7N<br>
=wsdC<br>
<div><div></div><div class="h5">-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
Starcluster mailing list<br>
<a href="mailto:Starcluster@mit.edu">Starcluster@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Markos Calderon<br>TAWS <a href="http://www.taws.espol.edu.ec">http://www.taws.espol.edu.ec</a><br>BigBlueButton <a href="http://github.com/bigbluebutton/bigbluebutton">http://github.com/bigbluebutton/bigbluebutton</a><br>
Skype: markos.calderon<br>Facebook: <a href="http://www.facebook.com/markos.calderon">http://www.facebook.com/markos.calderon</a><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br>
</div>