<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6264031240779810626</id><updated>2012-02-16T12:48:10.374+05:30</updated><category term='MPI reference'/><title type='text'>embarassinglyDistributed</title><subtitle type='html'>the blog of the in-dev beowulf cluster.. from the people  behind the scenes.. with special additions from the cluster node owners..</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>hollow_man</name><uri>http://www.blogger.com/profile/07456535389975779296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://static.flickr.com/110/305414397_6274622a51_m.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-4448761605663748885</id><published>2009-11-25T23:17:00.000+05:30</published><updated>2009-11-25T23:18:01.511+05:30</updated><title type='text'></title><content type='html'>Aaju baaju frames might come in handy for noise reduction... averaging and all... esp I frames... cant see any relation with region or edge growing but had totally 4gotten we were working on a video!&lt;br&gt;&lt;br clear="all"&gt;Prateek&lt;br&gt;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-4448761605663748885?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/4448761605663748885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=4448761605663748885' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/4448761605663748885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/4448761605663748885'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2009/11/aaju-baaju-frames-might-come-in-handy.html' title=''/><author><name>hollow_man</name><uri>http://www.blogger.com/profile/07456535389975779296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://static.flickr.com/110/305414397_6274622a51_m.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-9101700337668135080</id><published>2009-11-21T00:43:00.001+05:30</published><updated>2009-11-21T00:43:31.366+05:30</updated><title type='text'>disaster</title><content type='html'>Bad bad cluster mean values found by the region growing algo... That&amp;#39;s when we neglected edge pixels as they usually have gradient in the transition between colours...&lt;br&gt;Leaving this for now (Dunno why I started today, already have enough things to screw up till Monday :P)...&lt;br&gt;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-9101700337668135080?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/9101700337668135080/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=9101700337668135080' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/9101700337668135080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/9101700337668135080'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2009/11/disaster.html' title='disaster'/><author><name>hollow_man</name><uri>http://www.blogger.com/profile/07456535389975779296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://static.flickr.com/110/305414397_6274622a51_m.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-3587363236143280218</id><published>2009-11-19T05:18:00.001+05:30</published><updated>2009-11-19T05:18:35.707+05:30</updated><title type='text'>trying to get better ede detection</title><content type='html'>While earlier we had tested &lt;br&gt;image -&amp;gt; sobel filter output -&amp;gt; grayscaling -&amp;gt; thresholding (-&amp;gt; median filter output) -&amp;gt; region partitioning,&lt;br&gt;on reordering the transforms applied as:&lt;br&gt;image -&amp;gt; median filter output -&amp;gt; sobel filter output -&amp;gt; grayscaling -&amp;gt; thresholding -&amp;gt; region partitioning&lt;br&gt;  we find that&lt;br&gt;1. the number of broken edges is reduced resulting in better partitioning.&lt;br&gt;2. However, detail present in the thresheld and partitioned outputs is significantly low as well.&lt;br&gt;3. The second method works well even for very low values of threshold (23 was used instead of 63).&lt;br&gt;  Detail may be added in preprocessing or the result, using detail obtained by wavelet transform. This is yet to be tested... for now it is time to go visit our guide and ask him for suggestions for localized spatial clustering, things like kernel methods in k-means might actually be relevant and will be assessed.&lt;br&gt;  &lt;br&gt;Prateek&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-3587363236143280218?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/3587363236143280218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=3587363236143280218' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/3587363236143280218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/3587363236143280218'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2009/11/trying-to-get-better-ede-detection.html' title='trying to get better ede detection'/><author><name>hollow_man</name><uri>http://www.blogger.com/profile/07456535389975779296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://static.flickr.com/110/305414397_6274622a51_m.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-6419981916116825517</id><published>2009-11-07T00:48:00.020+05:30</published><updated>2009-11-07T02:10:28.561+05:30</updated><title type='text'>reading frame data into ppm</title><content type='html'>using &lt;a href="http://web.me.com/dhoerl/Home/Tech_Blog/Entries/2009/1/22_Revised_avcodec_sample.c.html"&gt;http://web.me.com/dhoerl/Home/Tech_Blog/Entries/2009/1/22_Revised_avcodec_sample.c.html&lt;/a&gt; and some help from pv and &lt;a href="http://facweb.iitkgp.ernet.in/%7Epds/notes/array.html#arrayandpointer"&gt;http://facweb.iitkgp.ernet.in/~pds/notes/array.html#arrayandpointer&lt;/a&gt; got through to reading frame data and understanding how the AVFrame-&amp;gt;data is to be traversed for pixel data.&lt;br /&gt;&lt;br /&gt;for each frame&lt;br /&gt;&lt;pre class="brush: cpp"&gt;for(y=0; y&amp;lt;height; y++) {                                     &lt;br /&gt;  for (zz=0;zz&amp;lt;width;++zz) {                                  &lt;br /&gt;    red   = *(pFrame-&gt;data[0]+y*pFrame-&gt;linesize[0]+zz*3+0));&lt;br /&gt;    green = *(pFrame-&gt;data[0]+y*pFrame-&gt;linesize[0]+zz*3+1));&lt;br /&gt;    blue  = *(pFrame-&gt;data[0]+y*pFrame-&gt;linesize[0]+zz*3+2));&lt;br /&gt;    alpha = *(pFrame-&gt;data[0]+y*pFrame-&gt;linesize[0]+zz*3+2));&lt;br /&gt;  } &lt;br /&gt;} &lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-6419981916116825517?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/6419981916116825517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=6419981916116825517' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/6419981916116825517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/6419981916116825517'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2009/11/reading-frame-data-into-ppm.html' title='reading frame data into ppm'/><author><name>deepcyan</name><uri>http://www.blogger.com/profile/11331047889127026173</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp3.blogger.com/_BN4xQDZ3Tik/R7bh0Pef2GI/AAAAAAAAAL8/lyS9E5icueY/S220/sudan_97~.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-8192734497814541442</id><published>2009-10-21T21:00:00.000+05:30</published><updated>2009-10-21T21:01:17.375+05:30</updated><title type='text'>Re: video capture library</title><content type='html'>yea we&amp;#39;d used openCV with ffmpeg support i remember :P... we can use the same na? even hav the code at the tracker site&lt;br&gt;&lt;br clear="all"&gt;Prateek&lt;br&gt; &lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Oct 21, 2009 at 8:41 PM, Sayandeep Purkayasth &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:deepcyan@gmail.com"&gt;deepcyan@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"&gt;  we used some other library. anyway, i was looking at the second tutorial and it seems usable... much of the code is already written.&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;&lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Oct 21, 2009 at 8:37 PM, Hollow Man &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:evanescentpv@gmail.com" target="_blank"&gt;evanescentpv@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;   &lt;blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"&gt;by capture if u mean storing every frame as an image, havent we done that already (7th sem) using ffmpeg?&lt;br&gt;   &lt;br clear="all"&gt;Prateek&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt; &lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Oct 21, 2009 at 8:23 PM, Sayandeep Purkayasth &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:deepcyan@gmail.com" target="_blank"&gt;deepcyan@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"&gt;     what say we use ffmpeg this time?&lt;br&gt;if so, find appropriate tutorials &lt;a href="http://www.inb.uni-luebeck.de/%7Eboehme/using_libavcodec.html" target="_blank"&gt;http://www.inb.uni-luebeck.de/~boehme/using_libavcodec.html&lt;/a&gt; (outdated code) and &lt;a href="http://www.dranger.com/ffmpeg/tutorial01.html" target="_blank"&gt;http://www.dranger.com/ffmpeg/tutorial01.html&lt;/a&gt; (not checked yet)&lt;br&gt;      &lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Oct 21, 2009 at 4:44 PM, Sayandeep Purkayasth &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:deepcyan@gmail.com" target="_blank"&gt;deepcyan@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"&gt;      one promising one&lt;br&gt;&lt;ul&gt;&lt;li&gt;Simple, Thread-safe Approximate Nearest Neighbor (&lt;a href="http://sites.google.com/a/compgeom.com/stann/" target="_blank"&gt;STANN&lt;/a&gt;) C++ &lt;br&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br&gt; &lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt; &lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt; &lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt; &lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-8192734497814541442?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/8192734497814541442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=8192734497814541442' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/8192734497814541442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/8192734497814541442'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2009/10/re-video-capture-library_5987.html' title='Re: video capture library'/><author><name>deepcyan</name><uri>http://www.blogger.com/profile/11331047889127026173</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp3.blogger.com/_BN4xQDZ3Tik/R7bh0Pef2GI/AAAAAAAAAL8/lyS9E5icueY/S220/sudan_97~.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-2462642065283955855</id><published>2009-10-21T20:41:00.001+05:30</published><updated>2009-10-21T20:41:18.517+05:30</updated><title type='text'>Re: video capture library</title><content type='html'>we used some other library. anyway, i was looking at the second tutorial and it seems usable... much of the code is already written.&lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Oct 21, 2009 at 8:37 PM, Hollow Man &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:evanescentpv@gmail.com"&gt;evanescentpv@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt; &lt;blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"&gt;by capture if u mean storing every frame as an image, havent we done that already (7th sem) using ffmpeg?&lt;br&gt; &lt;br clear="all"&gt;Prateek&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;&lt;br&gt; &lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Oct 21, 2009 at 8:23 PM, Sayandeep Purkayasth &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:deepcyan@gmail.com" target="_blank"&gt;deepcyan@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"&gt;   what say we use ffmpeg this time?&lt;br&gt;if so, find appropriate tutorials &lt;a href="http://www.inb.uni-luebeck.de/%7Eboehme/using_libavcodec.html" target="_blank"&gt;http://www.inb.uni-luebeck.de/~boehme/using_libavcodec.html&lt;/a&gt; (outdated code) and &lt;a href="http://www.dranger.com/ffmpeg/tutorial01.html" target="_blank"&gt;http://www.dranger.com/ffmpeg/tutorial01.html&lt;/a&gt; (not checked yet)&lt;br&gt;    &lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Oct 21, 2009 at 4:44 PM, Sayandeep Purkayasth &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:deepcyan@gmail.com" target="_blank"&gt;deepcyan@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"&gt;    one promising one&lt;br&gt;&lt;ul&gt;&lt;li&gt;Simple, Thread-safe Approximate Nearest Neighbor (&lt;a href="http://sites.google.com/a/compgeom.com/stann/" target="_blank"&gt;STANN&lt;/a&gt;) C++ &lt;br&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br&gt; &lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt; &lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt; &lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-2462642065283955855?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/2462642065283955855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=2462642065283955855' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/2462642065283955855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/2462642065283955855'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2009/10/re-video-capture-library_21.html' title='Re: video capture library'/><author><name>deepcyan</name><uri>http://www.blogger.com/profile/11331047889127026173</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp3.blogger.com/_BN4xQDZ3Tik/R7bh0Pef2GI/AAAAAAAAAL8/lyS9E5icueY/S220/sudan_97~.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-1989612672159195696</id><published>2009-10-21T20:37:00.001+05:30</published><updated>2009-10-21T20:37:24.870+05:30</updated><title type='text'>Re: video capture library</title><content type='html'>by capture if u mean storing every frame as an image, havent we done that already (7th sem) using ffmpeg?&lt;br&gt;&lt;br clear="all"&gt;Prateek&lt;br&gt; &lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Oct 21, 2009 at 8:23 PM, Sayandeep Purkayasth &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:deepcyan@gmail.com"&gt;deepcyan@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"&gt;  what say we use ffmpeg this time?&lt;br&gt;if so, find appropriate tutorials &lt;a href="http://www.inb.uni-luebeck.de/%7Eboehme/using_libavcodec.html" target="_blank"&gt;http://www.inb.uni-luebeck.de/~boehme/using_libavcodec.html&lt;/a&gt; (outdated code) and &lt;a href="http://www.dranger.com/ffmpeg/tutorial01.html" target="_blank"&gt;http://www.dranger.com/ffmpeg/tutorial01.html&lt;/a&gt; (not checked yet)&lt;br&gt;   &lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Oct 21, 2009 at 4:44 PM, Sayandeep Purkayasth &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:deepcyan@gmail.com" target="_blank"&gt;deepcyan@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"&gt;   one promising one&lt;br&gt;&lt;ul&gt;&lt;li&gt;Simple, Thread-safe Approximate Nearest Neighbor (&lt;a href="http://sites.google.com/a/compgeom.com/stann/" target="_blank"&gt;STANN&lt;/a&gt;) C++ &lt;br&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br&gt; &lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt; &lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-1989612672159195696?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/1989612672159195696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=1989612672159195696' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/1989612672159195696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/1989612672159195696'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2009/10/re-video-capture-library.html' title='Re: video capture library'/><author><name>deepcyan</name><uri>http://www.blogger.com/profile/11331047889127026173</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp3.blogger.com/_BN4xQDZ3Tik/R7bh0Pef2GI/AAAAAAAAAL8/lyS9E5icueY/S220/sudan_97~.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-5617628635928577818</id><published>2009-10-21T20:23:00.001+05:30</published><updated>2009-10-21T20:23:09.959+05:30</updated><title type='text'>video capture library</title><content type='html'>what say we use ffmpeg this time?&lt;br&gt;if so, find appropriate tutorials &lt;a href="http://www.inb.uni-luebeck.de/~boehme/using_libavcodec.html"&gt;http://www.inb.uni-luebeck.de/~boehme/using_libavcodec.html&lt;/a&gt; (outdated code) and &lt;a href="http://www.dranger.com/ffmpeg/tutorial01.html"&gt;http://www.dranger.com/ffmpeg/tutorial01.html&lt;/a&gt; (not checked yet)&lt;br&gt; &lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Oct 21, 2009 at 4:44 PM, Sayandeep Purkayasth &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:deepcyan@gmail.com"&gt;deepcyan@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"&gt; one promising one&lt;br&gt;&lt;ul&gt;&lt;li&gt;Simple, Thread-safe Approximate Nearest Neighbor (&lt;a href="http://sites.google.com/a/compgeom.com/stann/" target="_blank"&gt;STANN&lt;/a&gt;) C++ &lt;br&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br&gt; &lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-5617628635928577818?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/5617628635928577818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=5617628635928577818' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/5617628635928577818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/5617628635928577818'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2009/10/video-capture-library.html' title='video capture library'/><author><name>deepcyan</name><uri>http://www.blogger.com/profile/11331047889127026173</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp3.blogger.com/_BN4xQDZ3Tik/R7bh0Pef2GI/AAAAAAAAAL8/lyS9E5icueY/S220/sudan_97~.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-3601357414142735751</id><published>2009-10-21T16:44:00.001+05:30</published><updated>2009-10-21T16:44:30.332+05:30</updated><title type='text'>Re: the clustering search</title><content type='html'>one promising one&lt;br&gt;&lt;ul&gt;&lt;li&gt;Simple, Thread-safe Approximate Nearest Neighbor (&lt;a href="http://sites.google.com/a/compgeom.com/stann/"&gt;STANN&lt;/a&gt;) C++ &lt;br&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-3601357414142735751?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/3601357414142735751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=3601357414142735751' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/3601357414142735751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/3601357414142735751'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2009/10/re-clustering-search.html' title='Re: the clustering search'/><author><name>deepcyan</name><uri>http://www.blogger.com/profile/11331047889127026173</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp3.blogger.com/_BN4xQDZ3Tik/R7bh0Pef2GI/AAAAAAAAAL8/lyS9E5icueY/S220/sudan_97~.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-5772317861083341137</id><published>2009-10-21T16:40:00.001+05:30</published><updated>2009-10-21T16:40:14.518+05:30</updated><title type='text'>the clustering search</title><content type='html'>some libraries for clustering and (in general) for machine learning are listed below&lt;br&gt;&lt;ul&gt;&lt;li&gt;SGI MLC++ &lt;a href="http://www.sgi.com/tech/mlc/" rel="nofollow"&gt;http://www.sgi.com/tech/mlc/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;OpenCV MLL&lt;/li&gt;&lt;li&gt;&lt;a href="http://bonsai.ims.u-tokyo.ac.jp/%7Emdehoon/software/cluster/software.htm" rel="nofollow"&gt;The Open Source C Clustering Library&lt;/a&gt;&lt;/li&gt; &lt;li&gt; &lt;a href="http://wikipedia-clustering.speedblue.org/clustering.php" rel="nofollow"&gt;The Wikipedia-Clustering project&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.cs.umd.edu/%7Emount/Projects/KMeans/" rel="nofollow"&gt;a specialized K-means library from The University of Mariland&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;these and some others to be looked up.&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-5772317861083341137?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/5772317861083341137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=5772317861083341137' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/5772317861083341137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/5772317861083341137'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2009/10/clustering-search.html' title='the clustering search'/><author><name>deepcyan</name><uri>http://www.blogger.com/profile/11331047889127026173</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp3.blogger.com/_BN4xQDZ3Tik/R7bh0Pef2GI/AAAAAAAAAL8/lyS9E5icueY/S220/sudan_97~.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-3887127340867826846</id><published>2009-09-09T18:37:00.001+05:30</published><updated>2009-09-09T18:37:41.900+05:30</updated><title type='text'>MTP discussions</title><content type='html'>one optimization technique springs to mind:&lt;br&gt;&lt;div class="gmail_quote"&gt;&lt;div style="margin-left: 40px;"&gt;we can break up the initial 2d array into lots of small 2d arrays and optimise each each separately. then we can stitch them back. this can probably give better results.&lt;br&gt; &lt;/div&gt;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-3887127340867826846?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/3887127340867826846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=3887127340867826846' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/3887127340867826846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/3887127340867826846'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2009/09/mtp-discussions.html' title='MTP discussions'/><author><name>deepcyan</name><uri>http://www.blogger.com/profile/11331047889127026173</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp3.blogger.com/_BN4xQDZ3Tik/R7bh0Pef2GI/AAAAAAAAAL8/lyS9E5icueY/S220/sudan_97~.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-8880466522786244160</id><published>2009-09-09T18:36:00.002+05:30</published><updated>2009-09-09T18:39:09.604+05:30</updated><title type='text'>MTP discussions</title><content type='html'>in section 4.1 of the paper, the authors say they used a sparse variant of the levenberg marquardt algo. the levmar site (&lt;a href="http://www.ics.forth.gr/%7Elourakis/levmar/" target="_blank"&gt;http://www.ics.forth.gr/~lourakis/levmar/&lt;/a&gt;) you found earlier is exactly that. i don't think gsl wala has sparse matrix support. so will switch to levmar.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-8880466522786244160?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/8880466522786244160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=8880466522786244160' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/8880466522786244160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/8880466522786244160'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2009/09/fwd-mtp-discussions.html' title='MTP discussions'/><author><name>deepcyan</name><uri>http://www.blogger.com/profile/11331047889127026173</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp3.blogger.com/_BN4xQDZ3Tik/R7bh0Pef2GI/AAAAAAAAAL8/lyS9E5icueY/S220/sudan_97~.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-5409722937320355182</id><published>2008-11-04T19:27:00.007+05:30</published><updated>2008-11-04T20:03:09.112+05:30</updated><title type='text'>para3dhwt</title><content type='html'>Its been a snail's pace thanks to arbit errors and the debugging involved. We have adopted the modular approach making separate files for all the functions involved, keeping the related ones in the same file. What it has cost us at a speed of around 0.25x for just 3dhwt is a time of around 15 seconds for a 100 frame chunk. Thats at least better than the 38 minutes it once took! I seriously wish this gives a good compression over the usual stuff for all the time its taking... and this was just for order 1 wavelets! Well, we do have some optimizations already in mind; leaving apart the init 2 without X and gdm that we have come down to.&lt;br /&gt;&lt;br /&gt;We have a few major hurdles to overcome though - one is the time factor, this time meaning the deadline for the BTP after which it is as good as dead; a second staring us in the face is the disappearance of nodes from the cluster owing to the upgradation of the lab that's going on... No we still won't be given the new ThinkSmarts to work on and no we (=&gt;at least I) don't intend to appeal either for it'll mean wasting another weekend over installation of the components.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-5409722937320355182?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/5409722937320355182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=5409722937320355182' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/5409722937320355182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/5409722937320355182'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2008/11/para3dhwt.html' title='para3dhwt'/><author><name>hollow_man</name><uri>http://www.blogger.com/profile/07456535389975779296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://static.flickr.com/110/305414397_6274622a51_m.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-2263468042474294720</id><published>2008-10-31T18:32:00.004+05:30</published><updated>2008-10-31T22:42:21.770+05:30</updated><title type='text'>Installing OpenCV with ffmpeg</title><content type='html'>Making it work took some time and effort and repetition owing to the 4 nodes being individually separate entities. Here's what we and the ffmpeg and opencv tarballs had to go through&lt;br /&gt;&lt;ol&gt;&lt;li&gt;untar ffmpeg&lt;/li&gt;&lt;li&gt;./configure --enable-shared --enable-swscale --enable-gpl&lt;/li&gt;&lt;li&gt;make&lt;/li&gt;&lt;li&gt;sudo make install&lt;/li&gt;&lt;li&gt;untar opencv&lt;/li&gt;&lt;li&gt;sudo apt-get install patch ;if not already installed&lt;br /&gt;&lt;/li&gt;&lt;li&gt;patch otherlibs/highgui/cvcap_ffmpeg.cpp ../nfs/opencv-1.0.0-cvcapffmpegundefinedsymbols.patch&lt;/li&gt;&lt;li&gt;#4 from the page &lt;a href="http://http//www.rainsoft.de/projects/ffmpeg_opencv.html"&gt;http://www.rainsoft.de/projects/ffmpeg_opencv.html&lt;/a&gt;&lt;/li&gt;&lt;li&gt;su&lt;br /&gt;cd /usr/local/include/&lt;br /&gt;mkdir ffmpeg&lt;br /&gt;cp libavcodec/* ffmpeg/&lt;br /&gt;cp libavdevice/* ffmpeg/&lt;br /&gt;cp libavformat/* ffmpeg/&lt;br /&gt;cp libavutil/* ffmpeg/&lt;br /&gt;cp libswscale/* ffmpeg/&lt;br /&gt;exit&lt;/li&gt;&lt;li&gt;change FFMPEGLIBS="-lavcodec -lavformat" to FFMPEGLIBS="-lavcodec -lavformat -lswscale" in configure&lt;br /&gt;&lt;/li&gt;&lt;li&gt;./configure --enable-shared&lt;/li&gt;&lt;li&gt;make&lt;/li&gt;&lt;li&gt;sudo make install&lt;/li&gt;&lt;li&gt;sudo ldconfig&lt;/li&gt;&lt;/ol&gt;Sandy instead made a patch file for both step #8 and #10 so if anyone ever reads this and needs them, can contact him.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-2263468042474294720?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/2263468042474294720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=2263468042474294720' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/2263468042474294720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/2263468042474294720'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2008/10/installing-opencv-with-ffmpeg.html' title='Installing OpenCV with ffmpeg'/><author><name>hollow_man</name><uri>http://www.blogger.com/profile/07456535389975779296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://static.flickr.com/110/305414397_6274622a51_m.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-1463751218341151604</id><published>2008-06-04T12:22:00.005+05:30</published><updated>2008-06-04T18:19:47.137+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='MPI reference'/><title type='text'>From the Horse's mouth: a copy of the MPI reference manual</title><content type='html'>I'm diving head first into MPI and related PPing since:&lt;br /&gt;1. its fun and I always wanted to do it!&lt;br /&gt;2. I need to do it for my summer project at IISc which will otherwise take months on the single/dual processor machines.&lt;br /&gt;I was surprised when Hollow told me that you did not have the full &lt;a href="http://www.google.co.in/url?sa=t&amp;amp;ct=res&amp;amp;cd=3&amp;amp;url=http%3A%2F%2Fssl.serc.iisc.ernet.in%2F%7Ekarthikeyan%2Foth%2Fmpi_complete_reference.pdf&amp;amp;ei=TztGSPyQB4iy6gOQ5oT5Bw&amp;amp;usg=AFQjCNEeeu9BQgIBhLSqvXoK-j_l8XkOIA&amp;amp;sig2=XYecT-nZ3yooX6dvk1Kudw"&gt;manual for MPI (MIT press).&lt;/a&gt;&lt;br /&gt;I am a bit aware of some of the problems you ran into while setting up the Beowulf cluster. I will try to get solutions for these since there are people here who are proficient at this sort of stuff.&lt;br /&gt;In any case, I will be adding some notes which I feel are important from the reference manual under this tag. Also, I'll post some bioinformatics problems that can be done when the cluster is up and running on all its feet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-1463751218341151604?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/1463751218341151604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=1463751218341151604' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/1463751218341151604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/1463751218341151604'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2008/06/from-horses-mouth-copy-of-mpi-refernce.html' title='From the Horse&apos;s mouth: a copy of the MPI reference manual'/><author><name>the guy who typed this.</name><uri>http://www.blogger.com/profile/01398648706510956704</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_RqsIxmlUAXc/SPTeit637nI/AAAAAAAABI0/c1kUjnobTAQ/S220/vs_bw.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-7798008858233860063</id><published>2008-03-14T12:40:00.005+05:30</published><updated>2008-03-14T13:22:32.880+05:30</updated><title type='text'>the name's cluster, embarassed cluster</title><content type='html'>google! we finally got mpd running without any issues whatsoever on 2 comps.. !&lt;br /&gt;&lt;br /&gt;eperimentation continued till about 2 yesterday, when we confgured a new linux user (and group) on each node.. and (re)installed mpi on each.. also we configured nfs (network file sharing) so that we could code on one computer and simply execute them from a common folder&lt;br /&gt;&lt;br /&gt;the issues we sorted out yesterday were&lt;br /&gt;&lt;ol&gt;&lt;li&gt;the pwd problem: earlier when we used mpi with different usernames on each node, a &lt;span style="font-style: italic;"&gt;mpiexec -n 10 pwd&lt;/span&gt; returned the correct location only on the computer on which the command was executed and defaulted to '/' on other nodes. we figured that this was due to the absolute location being different on each node.. hence we added a linux user account with the same name and home directory location on each node (/home/cluster/) hence even all relative paths given in any mpiexec command mapped to the same absolute path on each node..&lt;br /&gt;&lt;/li&gt;&lt;li&gt;the nfs problem: after setting &lt;span style="font-style: italic;"&gt;/home/cluster/nfs&lt;/span&gt; to be shared from pv's computer (as server) and allowing other nodes access to this folder via &lt;span style="font-style: italic;"&gt;/etc/exports&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;/etc/hosts.allow&lt;/span&gt;, we tried mounting this drive on the other nodes (my comp only for the time being). however, read-write permissions seemed a bit elusive at the start. in fact on mounting, the owner and group of the mounted shared directory were assigned to &lt;span style="font-style: italic;"&gt;up&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;nobody&lt;/span&gt;. unfortunately this prevented recursive write permissions to the folder. after a bit of googling, we found that the user id (uid) and group id (gid) of the owner and group of the shared folder should be same on both the server and all nfs clients. to sort this out.. we deleted the user cluster and created (yes, again) cluster on each node with a uid=1042 and gid=1042 (yes, yes, we like 42 very much, thank you). then remounted the nfs folder.. and there!.. we had owner=cluster, and group=cluster. then we reinstallled mpi on the cluster @each node.. reset ssh-keygen, etc etc. and tried &lt;span style="font-style: italic;"&gt;mpiexec -l -n 10 mpich2-1.0.6p1/examples/cpi&lt;/span&gt;. all sorted thanks to 42 and a lot of simple brainwork&lt;/li&gt;&lt;/ol&gt;this should be very simply scalable to all new nodes.. (vinayakzark, vai.sinh, kk).. the ssh problem with kk's sshd still remains to be figured.. so we're keeping it out of the ring for the moment.. now its a simple matter of running some custom applications on the mpi platform.. maybe we could try AMBER9 or something that already uses MPI as a parallel computing framework. so i guess our immediate objectives are the following&lt;br /&gt;&lt;ol&gt;&lt;li&gt;get_new_nodes(void)&lt;/li&gt;&lt;li&gt;get_a_software_to_run_on_them(void)&lt;/li&gt;&lt;/ol&gt;foobar to pv: we are green to go. i repeat, we are green to go. do you copy?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-7798008858233860063?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/7798008858233860063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=7798008858233860063' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/7798008858233860063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/7798008858233860063'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2008/03/names-cluster-embarassed-cluster.html' title='the name&apos;s cluster, embarassed cluster'/><author><name>deepcyan</name><uri>http://www.blogger.com/profile/11331047889127026173</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp3.blogger.com/_BN4xQDZ3Tik/R7bh0Pef2GI/AAAAAAAAAL8/lyS9E5icueY/S220/sudan_97~.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-2414366563532208599</id><published>2008-03-07T12:02:00.010+05:30</published><updated>2008-03-07T14:49:25.115+05:30</updated><title type='text'>Third weak week</title><content type='html'>With the problems faced earlier we decided to start all over again. And this time we had 5 nodes (tgwtt's scribbler's &lt;span style="font-style: italic;"&gt;proliferous&lt;/span&gt; in the ring, :P). The problem persists with one of them and we blame it on the sshd on that comp. For the time being, it has been isolated from the ring.&lt;br /&gt;So, after setting up ssh for MPI the next very step - installing MPICH2 on the two nodes it wasn't already on; we successfully did it on &lt;span style="font-style: italic;"&gt;proliferous&lt;/span&gt; whereas we'll have to wait till the next day for &lt;span style="font-style: italic;"&gt;cluster&lt;/span&gt; to be ready with it.&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;failed to handshake with mpd on &lt;ip&gt; recvd output={}&lt;/ip&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Finally our focus shifted from the ssh-ing problem to a new one. The very first command &lt;span style="font-weight: bold;"&gt;mpdboot&lt;/span&gt; gave an error&lt;span style="font-family:monospace;"&gt;. &lt;/span&gt;We figured this out to be a hostname resolution problem and so we modified the /etc/hosts files on comps we had the su permissions of. And so we had to say goodbye to &lt;span style="font-style: italic;"&gt;proliferous&lt;/span&gt; too for the time being. With the sshd problem not resolved yet on &lt;span style="font-style: italic;"&gt;krishna &lt;/span&gt;and MPICH2 not installed yet on &lt;span style="font-style: italic;"&gt;cluster&lt;/span&gt;, we were now left with only two nodes.&lt;br /&gt;With this problem fixed we proceeded to the next command. All this looked pretty simple until we'd encountered the problems in every command we gave. It was a late realization that this was happening and we had to search exaustively to get the problems solved... hmm or are they solved!?&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;problem with execution of &lt;filename&gt; [Errno 2] No such file or directory&lt;/filename&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Next, with mpdboot working now, we proceeded to giving something to the ring to execute. &lt;span style="font-weight: bold;"&gt;mpiexec&lt;/span&gt; worked well when we executed files in /bin or any other path in $PATH of all the nodes. Where we met the next obstacle was in executing a file on some path not already in $PATH, for instance the home directory of the node user accounts! We tried to fix this as follows:&lt;br /&gt;copied the file onto every node's home dir-&gt; ran mpiexec, but... -&gt; got the same error. Obviously this thing wasn't looking for the file where we'd expected it would. Our doubts were confirmed on  giving &lt;tt&gt;mpiexec -n 2 pwd&lt;/tt&gt;. This displayed &lt;span style="font-style: italic;"&gt;/&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;/home/hollow,&lt;/span&gt; &lt;span style="font-style: italic;"&gt;hollow&lt;/span&gt; being my node indicating that on the other nodes, it looks for the file on / itself!&lt;br /&gt;To deal with this, we added &lt;span style="font-style: italic;"&gt;/home/deepcyan&lt;/span&gt; in $PATH of node &lt;span style="font-style: italic;"&gt;deepcyan&lt;/span&gt;. This still didn't work. We now can identify this problem as being one where we want to run two &lt;span style="font-style: italic;"&gt;different&lt;/span&gt; programs on two different nodes using the same mpiexec. We weren't even using ":" for our purpose.&lt;br /&gt;In searching for a solution we came across NFS and how it can be used for this purpose. That's when it struck us. We had to run the &lt;span style="font-style: italic;"&gt;same&lt;/span&gt; program on different nodes parallelly right! Thanks to the links &lt;a href="http://nfs.sourceforge.net/nfs-howto/ar01s03.html"&gt;[1]&lt;/a&gt; and &lt;a href="http://www.debianhelp.co.uk/nfs.htm"&gt;[2]&lt;/a&gt; we setup and configured an NFS server and a single client for the time being.&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;mpiexec: failed to obtain sock from manager&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Hmm this is what we are currently facing, some NFS configuration problem most probably. Its like a video game. You need to fight a monster to go on the next level to fight a bigger one. Right now the game's saved at this level. I do hope we complete all levels someday.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-2414366563532208599?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/2414366563532208599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=2414366563532208599' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/2414366563532208599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/2414366563532208599'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2008/03/third-weak-week.html' title='Third &lt;strike&gt;weak&lt;/strike&gt; week'/><author><name>hollow_man</name><uri>http://www.blogger.com/profile/07456535389975779296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://static.flickr.com/110/305414397_6274622a51_m.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-8048648430105782695</id><published>2008-02-20T18:33:00.003+05:30</published><updated>2008-02-20T21:23:26.933+05:30</updated><title type='text'>so we want to do a beowulf?</title><content type='html'>ya right.. considering the extremely boring notion of running a simulation for a week and then finding out that the simulation parameters were wrong in the first place.. and then having to re-run it again and again.. (we're iterative learners, but you know that right?). i've been through that before and dont intend to be that again..&lt;br /&gt;&lt;br /&gt;hence the beowulf.. now time for some terminology clarification..&lt;br /&gt;&lt;ul&gt;&lt;li&gt;beowulf, as you must have guessed is not beowulf, the movie. seriously.. no one can &lt;span style="font-weight: bold;"&gt;do&lt;/span&gt; a movie.. a group of linux/unix machines &lt;span style="font-weight: bold;"&gt;doing&lt;/span&gt; the same code is more like it.. something like a 400 core processor.. hah! we beat core2duo big time.. anyways.. most supercomputers are something like large beowulfs..&lt;/li&gt;&lt;li&gt;next comes dear &lt;span style="font-weight: bold;"&gt;MPI&lt;/span&gt;. message passing interface: this dude-ic C/C++ library allows such a these machines we talked about to communicate and do the codes we talked about without over- or under-doing it.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;SSH&lt;/span&gt;: the backbone.. MPI executes commands through &lt;span style="font-weight: bold;"&gt;secure&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;shell access&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;as for what we plan to do with this monster of a cluster, we haven't a final idea.. what i'd propose is some kind of dna simulation for a start, since i'm already familiar with the software and procedures.. other things that can be done would be doing the mersenne thing (http://www.mersenne.org/), as suggested by vinayakzark, who shall be generously contributing to the cluster soon. more ideas are awaited..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-8048648430105782695?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/8048648430105782695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=8048648430105782695' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/8048648430105782695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/8048648430105782695'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2008/02/so-we-want-to-do-beowulf.html' title='so we want to do a beowulf?'/><author><name>deepcyan</name><uri>http://www.blogger.com/profile/11331047889127026173</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp3.blogger.com/_BN4xQDZ3Tik/R7bh0Pef2GI/AAAAAAAAAL8/lyS9E5icueY/S220/sudan_97~.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6264031240779810626.post-1466030158640731821</id><published>2008-02-16T15:09:00.001+05:30</published><updated>2008-02-20T18:33:21.524+05:30</updated><title type='text'>Sharing our sharing experience</title><content type='html'>MPI was successfully installed on 3 comps today (Thanks to Krishna for giving his comp for this project). We wrote down same passwords in the .mpd.conf files on the 3 nodes (TMI I know). We changed the ssh too and our firewall settings. Running the client-server pairs on two computers worked successfully. However, we encountered problems trying to make a ring running mpdboot on ssh on the 2 other nodes from the same comp. Right now we attribute this problem to ssh sessions requiring passwords. After checking out the links &lt;a href="http://pages.cpsc.ucalgary.ca/%7Eparker/501/README.html#1.1"&gt;[1]&lt;/a&gt; and &lt;a href="http://www.mail-archive.com/debian-user@lists.debian.org/msg276187.html"&gt;[2]&lt;/a&gt; we hope to get the thing fixed tomorrow using silent logins.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6264031240779810626-1466030158640731821?l=betweencomps.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://betweencomps.blogspot.com/feeds/1466030158640731821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6264031240779810626&amp;postID=1466030158640731821' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/1466030158640731821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6264031240779810626/posts/default/1466030158640731821'/><link rel='alternate' type='text/html' href='http://betweencomps.blogspot.com/2008/02/sharing-our-sharing-experience.html' title='Sharing our sharing experience'/><author><name>hollow_man</name><uri>http://www.blogger.com/profile/07456535389975779296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://static.flickr.com/110/305414397_6274622a51_m.jpg'/></author><thr:total>0</thr:total></entry></feed>
