tag:blogger.com,1999:blog-223731642024-03-14T05:35:52.301+02:00Guy Tel-Zur's BlogMainly dedicated to HPC, Parallel Processing and Cloud ComputingGuy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.comBlogger143125tag:blogger.com,1999:blog-22373164.post-37645499926322756112020-11-13T09:48:00.003+02:002020-11-13T09:50:52.287+02:00High-Performance Linpack<p><b> HPL Benchmark on my laptop</b><br /></p><p>It's the <a href="https://top500.org/" target="_blank">Top500</a> season time. I therefore tested <a href="http://www.netlib.org/benchmark/hpl/" target="_blank">HPL</a> on my laptop using Intel's latest <a href="https://software.intel.com/content/www/us/en/develop/tools/oneapi.html">OneAPI</a> version 2021.1.10.2261.</p><p>The laptop specifications are obtained from <span style="font-family: courier;">lscpu</span>:</p><p><span style="font-size: x-small;"><span style="font-family: courier;">$ lscpu<br />Architecture: x86_64<br />CPU op-mode(s): 32-bit, 64-bit<br />Byte Order: Little Endian<br />Address sizes: 39 bits physical, 48 bits virtual<br />CPU(s): 8<br />On-line CPU(s) list: 0-7<br />Thread(s) per core: 2<br />Core(s) per socket: 4<br />Socket(s): 1<br />NUMA node(s): 1<br />Vendor ID: GenuineIntel<br />CPU family: 6<br />Model: 158<br />Model name: <b>Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz</b><br />Stepping: 9<br />CPU MHz: 874.469<br />CPU max MHz: 3800.0000<br />CPU min MHz: 800.0000<br />BogoMIPS: 5599.85<br />Virtualization: VT-x<br />L1d cache: 128 KiB<br />L1i cache: 128 KiB<br />L2 cache: 1 MiB<br />L3 cache: 6 MiB</span></span><br /></p><p>I am using Linux Mint20 on Asus ROG.<br /></p><p>Here are the benchmark results:</p><p><span style="font-size: x-small;"><span style="font-family: courier;">$ ./runme_xeon64 <br />This is a SAMPLE run script for running a shared-memory version of<br />Intel(R) Distribution for LINPACK* Benchmark. Change it to reflect<br />the correct number of CPUs/threads, problem input files, etc..<br />*Other names and brands may be claimed as the property of others.<br />Fri 13 Nov 2020 08:29:57 IST<br />Sample data file lininput_xeon64.<br /><br />Current date/time: Fri Nov 13 08:29:57 2020<br /><br />CPU frequency: 3.391 GHz<br />Number of CPUs: 1<br />Number of cores: 4<br />Number of threads: 4<br /><br />Parameters are set to:<br /><br />Number of tests: 12<br />Number of equations to solve (problem size) : 1000 2000 5000 10000 15000 18000 20000 22000 25000 26000 27000 30000<br />Leading dimension of array : 1000 2000 5008 10000 15000 18008 20016 22008 25000 26000 27000 30000<br />Number of trials to run : 4 2 2 2 2 2 2 2 2 2 1 1 <br />Data alignment value (in Kbytes) : 4 4 4 4 4 4 4 4 4 4 4 1 <br /><br />Maximum memory requested that can be used=7200601024, at the size=30000<br /><br />=================== Timing linear equation system solver ===================<br /><br />Size LDA Align. Time(s) GFlops Residual Residual(norm) Check<br />1000 1000 4 0.007 96.3645 1.022959e-12 3.033181e-02 pass<br />1000 1000 4 0.006 103.2200 1.022959e-12 3.033181e-02 pass<br />1000 1000 4 0.006 104.5280 1.022959e-12 3.033181e-02 pass<br />1000 1000 4 0.007 96.2256 1.022959e-12 3.033181e-02 pass<br />2000 2000 4 0.054 99.1910 5.619838e-12 4.375464e-02 pass<br />2000 2000 4 0.053 99.9669 5.619838e-12 4.375464e-02 pass<br />5000 5008 4 0.634 131.5344 2.548040e-11 3.392018e-02 pass<br />5000 5008 4 0.636 131.2024 2.548040e-11 3.392018e-02 pass<br />10000 10000 4 4.641 143.6870 1.054555e-10 3.553909e-02 pass<br />10000 10000 4 4.506 147.9811 1.054555e-10 3.553909e-02 pass<br />15000 15000 4 14.650 153.6162 2.368669e-10 3.581348e-02 pass<br />15000 15000 4 15.110 148.9348 2.368669e-10 3.581348e-02 pass<br />18000 18008 4 26.769 145.2679 3.162348e-10 3.349350e-02 pass<br />18000 18008 4 27.580 140.9929 3.162348e-10 3.349350e-02 pass<br />20000 20016 4 38.582 138.2543 3.807211e-10 3.257923e-02 pass<br />20000 20016 4 40.702 131.0518 3.807211e-10 3.257923e-02 pass<br />22000 22008 4 52.958 134.0617 4.590843e-10 3.258820e-02 pass<br />22000 22008 4 53.794 131.9777 4.590843e-10 3.258820e-02 pass<br />25000 25000 4 79.499 131.0447 5.770316e-10 3.184866e-02 pass<br />25000 25000 4 80.791 128.9492 5.770316e-10 3.184866e-02 pass<br />26000 26000 4 91.586 127.9534 6.257559e-10 3.196386e-02 pass<br />26000 26000 4 92.436 126.7756 6.257559e-10 3.196386e-02 pass<br />27000 27000 4 104.169 125.9827 5.721172e-10 2.712944e-02 pass<br />30000 30000 1 143.041 125.8508 7.350489e-10 2.829664e-02 pass<br /><br />Performance Summary (GFlops)<br /><br />Size LDA Align. Average Maximal<br />1000 1000 4 100.0845 104.5280<br />2000 2000 4 99.5789 99.9669 <br />5000 5008 4 131.3684 131.5344<br />10000 10000 4 145.8340 147.9811<br />15000 15000 4 151.2755 153.6162<br />18000 18008 4 143.1304 145.2679<br />20000 20016 4 134.6530 138.2543<br />22000 22008 4 133.0197 134.0617<br />25000 25000 4 129.9969 131.0447<br />26000 26000 4 127.3645 127.9534<br />27000 27000 4 125.9827 125.9827<br />30000 30000 1 125.8508 125.8508<br /><br />Residual checks PASSED<br /><br />End of tests<br /></span></span><br /></p><p></p><p>Below are 3 screen captures showing the load on the computer during the test (these pictures were taken during a previous test): <span style="font-family: courier;">top</span> (top), <span style="font-family: courier;">netdata</span> (middle) and <span style="font-family: courier;">gkrellm</span> (bottom).<br /></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-3xGc_FmobMk/X64xl4uwZ6I/AAAAAAAAzc4/cAgW7mooNncB4l7FyqXMZVjQxUbP7FJnQCLcBGAsYHQ/s655/Screenshot%2Bat%2B2020-11-12%2B21-20-50.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="437" data-original-width="655" src="https://1.bp.blogspot.com/-3xGc_FmobMk/X64xl4uwZ6I/AAAAAAAAzc4/cAgW7mooNncB4l7FyqXMZVjQxUbP7FJnQCLcBGAsYHQ/s320/Screenshot%2Bat%2B2020-11-12%2B21-20-50.png" width="320" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-R-PgaPKwPOE/X64xlzhH8uI/AAAAAAAAzc0/XUwHOPKCsPk4FLp_SADVfSw2OAOsCzCpgCLcBGAsYHQ/s1698/Screenshot%2Bat%2B2020-11-12%2B21-24-04.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="853" data-original-width="1698" src="https://1.bp.blogspot.com/-R-PgaPKwPOE/X64xlzhH8uI/AAAAAAAAzc0/XUwHOPKCsPk4FLp_SADVfSw2OAOsCzCpgCLcBGAsYHQ/s320/Screenshot%2Bat%2B2020-11-12%2B21-24-04.png" width="320" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-ZqCnl_pkDXY/X64xl-abbjI/AAAAAAAAzcw/r18X_v4WIFg8ysYbZesudmTpvIgttN_xgCLcBGAsYHQ/s748/Screenshot%2Bat%2B2020-11-12%2B21-22-09.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="748" data-original-width="112" height="320" src="https://1.bp.blogspot.com/-ZqCnl_pkDXY/X64xl-abbjI/AAAAAAAAzcw/r18X_v4WIFg8ysYbZesudmTpvIgttN_xgCLcBGAsYHQ/s320/Screenshot%2Bat%2B2020-11-12%2B21-22-09.png" /></a></div><br /> <p></p><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-88321281964952288322020-07-15T09:57:00.001+03:002020-07-15T10:06:43.197+03:00NOPs in MIPS<span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;">The following no</span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;">t</span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;">e address</span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;">es</span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;"> </span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;">questions regarding the</span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;"> number of </span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;">required </span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;">NOPs in 5 stages MIPS pipelined processor. </span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;">In this example </span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: freemono, freemono_embeddedfont, freemono_msfontservice, sans-serif; font-size: 12pt; font-weight: bold; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SpellingErrorV2 SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; background-image: url("data:image/svg+xml; background-position: 0% 100%; background-repeat: repeat-x; border-bottom: 1px solid transparent; margin: 0px; padding: 0px; user-select: text;">lw</span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;"> is the first instruction </span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;">follow</span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;">ed</span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;"> by an</span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;"> </span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: freemono, freemono_embeddedfont, freemono_msfontservice, sans-serif; font-size: 12pt; font-weight: bold; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;">add</span></span><span class="TextRun SCXW241470132 BCX0" data-contrast="auto" lang="" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;"> (R-type) instruction with a RAW data dependency</span><span class="NormalTextRun SCXW241470132 BCX0" data-ccp-parastyle="Body Text" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;">.</span></span><span class="EOP SCXW241470132 BCX0" data-ccp-props="{"201341983":0,"335551550":1,"335551620":1,"335559738":0,"335559739":140,"335559740":276}" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px; text-align: justify;"> </span><span style="font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; text-align: justify;"> </span><br />
<div style="text-align: justify;">
<span style="font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt;"><br /></span></div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-Zn1lPn4AoG8/Xw6kTnJaP5I/AAAAAAAAyFw/NeJF7KpSCPQAsaATjF5o1UXFpXC93YndQCLcBGAsYHQ/s1600/t1.png" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"><img border="0" data-original-height="190" data-original-width="903" height="134" src="https://1.bp.blogspot.com/-Zn1lPn4AoG8/Xw6kTnJaP5I/AAAAAAAAyFw/NeJF7KpSCPQAsaATjF5o1UXFpXC93YndQCLcBGAsYHQ/s640/t1.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Table 1</td></tr>
</tbody></table>
<span class="TextRun SCXW93141888 BCX0" data-contrast="auto" lang="" style="font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW93141888 BCX0" data-contrast="auto" lang="" style="font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW93141888 BCX0" data-contrast="auto" lang="" style="font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW93141888 BCX0" data-contrast="auto" lang="" style="font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW93141888 BCX0" data-contrast="auto" lang="" style="font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW93141888 BCX0" data-contrast="auto" lang="" style="font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW93141888 BCX0" data-contrast="auto" lang="" style="font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW93141888 BCX0" data-contrast="auto" lang="" style="font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW93141888 BCX0" data-contrast="auto" lang="" style="font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW93141888 BCX0" data-contrast="auto" lang="" style="font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US">In Table 1 we have an old MIPS which requires 3 NOPs because only after updating the architectural state (cycle 5) the add instruction can proceed. </span><span class="TextRun SCXW93141888 BCX0" data-contrast="auto" lang="" style="font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW93141888 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;"> </span></span><span class="TextRun Highlight SCXW93141888 BCX0" data-contrast="auto" lang="" style="background-color: yellow; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; outline: transparent solid 1px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW93141888 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;">(D)</span></span><span class="TextRun SCXW93141888 BCX0" data-contrast="auto" lang="" style="font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW93141888 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;"> </span></span><span class="TextRun SCXW93141888 BCX0" data-contrast="auto" lang="" style="font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US">refers to NOP instead of Decode.</span><span class="EOP SCXW93141888 BCX0" data-ccp-props="{"335551550":6,"335551620":6}" style="font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;"> </span><br />
<br /><span class="EOP SCXW241470132 BCX0" data-ccp-props="{"201341983":0,"335551550":1,"335551620":1,"335559738":0,"335559739":140,"335559740":276}" style="background-color: white; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 21.85px; margin: 0px; padding: 0px;"></span>
<div class="OutlineElement Ltr BCX0 SCXW93141888" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "segoe ui", "segoe ui web", arial, verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;">
<div class="OutlineElement Ltr BCX0 SCXW60954515" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; clear: both; cursor: text; direction: ltr; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;">
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-KjbJDxHmLCQ/Xw6kJ_HJIrI/AAAAAAAAyFo/xM5tbbz0L0AFAHgKpspyvkSDtpTYFa3aQCLcBGAsYHQ/s1600/t2.png" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"><img border="0" data-original-height="191" data-original-width="907" height="132" src="https://1.bp.blogspot.com/-KjbJDxHmLCQ/Xw6kJ_HJIrI/AAAAAAAAyFo/xM5tbbz0L0AFAHgKpspyvkSDtpTYFa3aQCLcBGAsYHQ/s640/t2.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Table 2</td></tr>
</tbody></table>
<div class="Paragraph SCXW60954515 BCX0" paraeid="{82dbf52b-7440-4901-b17f-71bf67de69fd}{202}" paraid="323728426" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;">
<span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><br /></span>
<span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US">In Table 2 we assume that our</span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"> MIPS </span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US">can</span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"> write data in the first half of the clock cycle and read data in the second half </span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US">of the clock cycle </span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US">then the</span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"> number of NOPs </span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US">can be reduced </span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US">to 2.</span><span class="EOP SCXW60954515 BCX0" data-ccp-props="{"335551550":6,"335551620":6}" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;"> </span></div>
</div>
<div class="OutlineElement Ltr BCX0 SCXW60954515" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; clear: both; cursor: text; direction: ltr; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;">
<div class="Paragraph SCXW60954515 BCX0" paraeid="{4914f73a-39df-4d41-b29b-556084546c20}{192}" paraid="1156251036" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;">
<br /></div>
</div>
<div class="OutlineElement Ltr BCX0 SCXW60954515" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; clear: both; cursor: text; direction: ltr; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;">
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-6sHUYV_Jngc/Xw6j6z6GBJI/AAAAAAAAyFk/_hwk67tK7TUxxvDYOcmwv-ikwf4A33QhACLcBGAsYHQ/s1600/t3.png" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"><img border="0" data-original-height="192" data-original-width="901" height="134" src="https://1.bp.blogspot.com/-6sHUYV_Jngc/Xw6j6z6GBJI/AAAAAAAAyFk/_hwk67tK7TUxxvDYOcmwv-ikwf4A33QhACLcBGAsYHQ/s640/t3.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Table 3</td></tr>
</tbody></table>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-6sHUYV_Jngc/Xw6j6z6GBJI/AAAAAAAAyFk/_hwk67tK7TUxxvDYOcmwv-ikwf4A33QhACLcBGAsYHQ/s1600/t3.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a></div>
<div class="Paragraph SCXW60954515 BCX0" paraeid="{5540928d-a33f-4f4f-8d8f-1f3ee7250568}{71}" paraid="1268045221" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;">
<div style="text-align: left;">
<span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US">Finally in Table 3, like in the previous case, we assume the processor can</span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"> write data in the first half of the clock cycle and read data in the second half of the clock cycle </span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US">and in addition </span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US">it</span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"> also supports</span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"><span class="NormalTextRun SCXW60954515 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: inherit; margin: 0px; padding: 0px; user-select: text;"> </span></span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; font-weight: bold; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US">forwarding</span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US">. This time the second instruction </span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US">completes with just</span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US"> 1 NOP </span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US">delay</span><span class="TextRun SCXW60954515 BCX0" data-contrast="auto" lang="" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;" xml:lang="EN-US">.</span><span class="EOP SCXW60954515 BCX0" data-ccp-props="{"335551550":6,"335551620":6}" style="background-color: transparent; font-family: "liberation serif", "liberation serif_embeddedfont", "liberation serif_msfontservice", sans-serif; font-size: 12pt; line-height: 20.5042px; margin: 0px; padding: 0px; text-align: justify;"> </span></div>
</div>
</div>
</div>
<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-11186544485317645742019-12-06T11:48:00.000+02:002019-12-06T11:48:39.747+02:00Hybrid MPI + OpenMPNice profiling using <a href="https://www.cs.uoregon.edu/research/tau/home.php" target="_blank">TAU</a> from U. of Oregon<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-1714aj7A9PY/XeohUtXXGvI/AAAAAAAAvBU/-wtBAuAu5OoI9wvrYBdawMjC_EP1axs-ACLcBGAsYHQ/s1600/Hybrid_MPI_OMP.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="886" data-original-width="1553" height="364" src="https://1.bp.blogspot.com/-1714aj7A9PY/XeohUtXXGvI/AAAAAAAAvBU/-wtBAuAu5OoI9wvrYBdawMjC_EP1axs-ACLcBGAsYHQ/s640/Hybrid_MPI_OMP.png" width="640" /></a></div>
This tool together with many other useful Parallel Processing tools and packages are available as a single <a href="https://www.virtualbox.org/wiki/Downloads" target="_blank">VirtualBox</a> ova image <a href="http://www.cs.uoregon.edu/Research/tau/livedvd/latest64.ova" target="_blank">here</a> from <a href="https://www.vi-hps.org/" target="_blank">Vi-HPS</a>.<br />
You may also be interested to visit <a href="http://www.paratools.com/HPCLinux/" target="_blank">Paratools</a> (HPCLinux) website.<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-59937263677170349032017-01-29T21:48:00.001+02:002017-01-29T22:04:47.889+02:00Parallel Debugging with a Serial DebuggerParallel Debuggers are important tools when trying to eliminate bugs in parallel programs. Commercial parallel debuggers are expensive.<br />
In this blog post I will show you a free and open source alternative which is good enough for education purposes and for small codes.<br />
Suppose you want to debug the famous <a href="https://trac.mpich.org/projects/mpich/browser/examples/cpi.c">cpi.c</a> code which computes an approximation to pi by a parallel numerical integration. This demo uses the free <a href="https://www.gnu.org/software/ddd/" target="_blank">Data Display Debugger (ddd)</a> which is based on <a href="https://www.gnu.org/software/gdb/gdb.html" target="_blank">gdb</a> but has a nice GUI.<br />
<br />
<b><u>Step 1, compile:</u></b><br />
<span style="font-family: "courier new" , "courier" , monospace;">mpicc -g -o cpi ./cpi.c</span><br />
<br />
<b><u>Step 2, run (without a debugger):</u></b><br />
<span style="font-family: "courier new" , "courier" , monospace;">mpirun -np 2 ./cpi</span><br />
<br />
<b><u>Step 3, run with the free <a href="https://www.gnu.org/software/ddd/" target="_blank">Data Display Debugger (ddd)</a>:</u></b><br />
<span style="font-family: "courier new" , "courier" , monospace;">mpirun -np 2 ddd ./cpi</span><br />
<span style="font-family: "courier new" , "courier" , monospace;"><br /></span>
<span style="font-family: inherit;">The last command will open two MPI processes (instances) of ddd each running cpi,</span><br />
see screen capture:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-sHpeFl7hb-o/WI48Qpbl0DI/AAAAAAAAayI/hUu7Lxd8-Gcm507f-O97EaXLl56GxzS3gCLcB/s1600/Screenshot%2Bfrom%2B2017-01-29%2B13%253A36%253A31.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="484" src="https://1.bp.blogspot.com/-sHpeFl7hb-o/WI48Qpbl0DI/AAAAAAAAayI/hUu7Lxd8-Gcm507f-O97EaXLl56GxzS3gCLcB/s640/Screenshot%2Bfrom%2B2017-01-29%2B13%253A36%253A31.png" width="640" /></a></div>
<br />
Finally, I enclose here a short video which I hope is convincing:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='640' height='512' src='https://www.blogger.com/video.g?token=AD6v5dwH7BIf8e65kz4wdAeCfDm7jsB7O7do8WaKzDjquL0_y0q_dPu70Wv9bNV0b3_GFWZTsDH_PMkNxTo' class='b-hbp-video b-uploaded' frameborder='0'></iframe></div>
<br />
hi-res version: <a href="https://youtu.be/N_J4NKJkuMs">https://youtu.be/N_J4NKJkuMs</a><br />
<br />
Happy (Free) MPI debugging!<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-51214015700191387282016-09-03T18:23:00.000+03:002016-09-03T18:23:53.262+03:00OpenFOAM in a container<div style="margin-bottom: 32px;">
</div>
<h3>
<span style="color: rgba(0, 0, 0, 0.701961); font-family: Source Sans Pro, Helvetica, Arial, sans-serif; font-size: 18px; line-height: 32px;">OpenFOAM up and running in 5 minutes!</span></h3>
<span style="color: rgba(0, 0, 0, 0.701961); font-family: Source Sans Pro, Helvetica, Arial, sans-serif; font-size: 18px; line-height: 32px;">Get the instructions and the container from </span><a data-mce-href="http://openfoam.com/download/install-binary.php" href="http://openfoam.com/download/install-binary.php" style="color: #8c68cb; font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; font-size: 18px; line-height: 32px; text-decoration: none;">http://openfoam.com/download/install-binary.php</a><span style="color: rgba(0, 0, 0, 0.701961); font-family: Source Sans Pro, Helvetica, Arial, sans-serif; font-size: 18px; line-height: 32px;"> </span><br />
<br /><br />MYLAPTOP> ~/Downloads/startOpenFoam+ <br /><br />non-network local connections being added to access control list of_v1606_plus<br />/opt/OpenFOAM<br />bash-4.1$ echo 'now I am inside the container'<br /><br />now I am inside the container<br /><br /><i><skipping commands="" some=""></skipping></i><br />bash-4.1$ cd /home/telzur/OpenFOAM/telzur-v1606+/run/cavity/cavity<br />blockMesh<div style="margin-bottom: 32px;">
<span style="font-size: x-small;"><br /><a href="http://3.bp.blogspot.com/-AXdPgLwT7Is/V8rlBj_oKcI/AAAAAAAAWtA/Vjyy5wIZIFAGPnO514Z-uLMOoqJ49XP1QCK4B/s1600/Screenshot%2Bat%2B2016-09-03%2B17%253A57%253A01.png" imageanchor="1"><img border="0" height="308" src="https://3.bp.blogspot.com/-AXdPgLwT7Is/V8rlBj_oKcI/AAAAAAAAWtA/Vjyy5wIZIFAGPnO514Z-uLMOoqJ49XP1QCK4B/s640/Screenshot%2Bat%2B2016-09-03%2B17%253A57%253A01.png" width="640" /></a></span></div>
<div style="margin-bottom: 32px;">
icoFoam<br />paraFoam</div>
<div style="margin-bottom: 32px;">
<a href="http://4.bp.blogspot.com/-OZeH_WFkgSs/V8rnmGfbTHI/AAAAAAAAWtU/rYzaZbqdXuo-HVAMqD6oJoI-GM5bdzYPgCK4B/s1600/Screenshot%2Bat%2B2016-09-03%2B18%253A08%253A33.png" imageanchor="1"><img border="0" height="410" src="https://4.bp.blogspot.com/-OZeH_WFkgSs/V8rnmGfbTHI/AAAAAAAAWtU/rYzaZbqdXuo-HVAMqD6oJoI-GM5bdzYPgCK4B/s640/Screenshot%2Bat%2B2016-09-03%2B18%253A08%253A33.png" width="640" /></a></div>
<div style="margin-bottom: 32px;">
That's it!</div>
<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-73228768883737464432015-12-28T10:30:00.002+02:002015-12-28T10:54:13.590+02:00Subversion installation problem in Linux Mint 17.3<b><span style="font-family: "Courier New",Courier,monospace;">sudo apt-get install subversion<br />[sudo] password for telzur: <br />Reading package lists... Done<br />Building dependency tree <br />Reading state information... Done<br />Some packages could not be installed. This may mean that you have<br />requested an impossible situation or if you are using the unstable<br />distribution that some required packages have not yet been created<br />or been moved out of Incoming.<br />The following information may help to resolve the situation:<br /><br />The following packages have unmet dependencies:<br /> subversion : Depends: libsvn1 (= 1.8.8-1ubuntu3.2) but it is not going to be installed<br /> Depends: libapr1 (>= 1.4.8-2~) but it is not installable<br /> Depends: libaprutil1 (>= 1.2.7+dfsg) but it is not installable<br />E: Unable to correct problems, you have held broken packages.</span></b><br />
<br />
<br />
<b><span style="font-family: "Courier New",Courier,monospace;"><i><span style="font-family: Times,"Times New Roman",serif;">Any ideas...?</span></i> </span></b><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-10853995624222215982014-04-09T19:31:00.001+03:002014-04-09T19:31:21.498+03:00Scientific Python versus Matlab: Geographical differences in interest Scientific Python versus Matlab: Geographical differences in interest according to Google trends.<br />
<br />
<b>Scientific Python:
<br />
</b><script src="//www.google.com/trends/embed.js?hl=en-US&q=scientific+python,+matlab&cmpt=q&content=1&cid=GEO_MAP_0_0&export=5&w=500&h=530" type="text/javascript"></script><script src="//www.google.com/trends/embed.js?hl=en-US&q=scientific+python,+matlab&cmpt=q&content=1&cid=GEO_TABLE_0_0&export=5&w=500&h=330" type="text/javascript"></script>
<br />
<b>Matlab:
<br />
</b><script src="//www.google.com/trends/embed.js?hl=en-US&q=scientific+python,+matlab&cmpt=q&content=1&cid=GEO_MAP_1_0&export=5&w=500&h=530" type="text/javascript"></script><script src="//www.google.com/trends/embed.js?hl=en-US&q=scientific+python,+matlab&cmpt=q&content=1&cid=GEO_TABLE_1_0&export=5&w=500&h=330" type="text/javascript"></script>
<br />
<br />
<br />
<span style="font-size: large;"><i><b>Do you think what I think?</b></i></span><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-75600746184316405442013-09-07T19:11:00.000+03:002013-09-07T19:11:00.972+03:00Ubuntu / Mint software updates problemsIf you get error messages of the following kind:<br />
<br />
"<span style="font-family: "Courier New",Courier,monospace;">E: Encountered a section with no Package: header.</span>..."<br />
<br />
Do the following:<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">sudo rm /var/lib/apt/lists/* -vf<br />
sudo apt-get update</span><br />
<br />
<br />
<i>It worked for me!</i><br />
<br />
<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com2tag:blogger.com,1999:blog-22373164.post-45998861775998590252013-07-06T16:34:00.002+03:002013-07-06T16:34:34.052+03:00Gnome3 packagekit problemif you are in a situation where you want to install software using <i>packagekit</i> but nothing happens or you see a message that it is "waiting in queue" forever try the following which worked for me:<br />
<br />
Open terminal as root and type: <br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">pkcon refresh</span><br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">yum-complete-transaction</span><br />
<br />
this will let <i>yum</i> complete it's unfinished business and then <i>packagekit</i> will get back to life.<br />
<br />
Good luck <br />
<br />
<br /><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-37065014797688978972013-06-22T01:19:00.000+03:002013-06-22T01:19:27.683+03:00Supercomputing breakthroughs are correlated with the Sun activityIf you want to predict major breakthroughs in Supercomputing look at the sun.<div>
It is well accepted by now that every 11 years there is a 3 orders of magnitude mile stone in supercomputers. However, about 11 years is also the cycle of the Sun activity when counting for example the number of sunspots.</div>
<div>
Surprisingly enough whenever there is a deep in the sunspots count a major supercomputing milestone takes place.</div>
<div>
The chart below says it all</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-GUWhpHwHoUE/UcTPkYALbcI/AAAAAAAAHzM/rwJ13huuenY/s1600/sunspots_and_supercomputers.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="478" src="http://4.bp.blogspot.com/-GUWhpHwHoUE/UcTPkYALbcI/AAAAAAAAHzM/rwJ13huuenY/s640/sunspots_and_supercomputers.png" width="640" /></a></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div>
<i>The Wisdom behind Small Data Mining</i></div>
<div>
:-)</div>
<div>
Guy</div>
<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-60618599057832134472013-06-07T10:53:00.001+03:002013-06-07T10:53:43.914+03:00HTCondor version 8.0 Windows Installation<iframe allowfullscreen="" frameborder="0" height="356" marginheight="0" marginwidth="0" mozallowfullscreen="" scrolling="no" src="http://www.slideshare.net/slideshow/embed_code/22589604" style="border-width: 1px 1px 0; border: 1px solid #CCC; margin-bottom: 5px;" webkitallowfullscreen="" width="427"> </iframe> <br />
<div style="margin-bottom: 5px;">
<strong> <a href="http://www.slideshare.net/gtelzur/condor8-win-install" target="_blank" title="HTCondor version 8.0 Windows Installation">HTCondor version 8.0 Windows Installation</a> </strong> from <strong><a href="http://www.slideshare.net/gtelzur" target="_blank">gtelzur</a></strong> <br />
<a href="http://www.slideshare.net/gtelzur/condor8-win-install">http://www.slideshare.net/gtelzur/condor8-win-install</a></div>
<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-70229587145142834052013-06-03T07:53:00.001+03:002013-06-03T07:54:34.133+03:00My Cloud Computing group have reached 4000 membersYou are welcome to join!<br />
<a href="https://www.facebook.com/groups/8450870046/">https://www.facebook.com/groups/8450870046/</a><br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-kI-W9RePNK0/UawhF2Z0xhI/AAAAAAAAHx8/q7oKEAlIbwk/s1600/4000members.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="545" src="http://1.bp.blogspot.com/-kI-W9RePNK0/UawhF2Z0xhI/AAAAAAAAHx8/q7oKEAlIbwk/s640/4000members.png" width="640" /></a></div>
<br /><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-3345491015445528982013-01-18T11:56:00.000+02:002013-01-18T11:59:51.488+02:00How to choose a SupercomputerForget about LINPACK and FLOP/s. It is the skin that matters. The next big thing should be the "Top500 Skin" ranking. Here are my top five:<br />
<div class="separator" style="clear: both; text-align: left;">
<a href="http://1.bp.blogspot.com/-bQ3LAaJFTNs/UPkXzMQUoUI/AAAAAAAAGPk/RVJuRg29hO0/s1600/hopper.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="165" src="http://1.bp.blogspot.com/-bQ3LAaJFTNs/UPkXzMQUoUI/AAAAAAAAGPk/RVJuRg29hO0/s320/hopper.jpg" width="320" /></a></div>
<a href="http://3.bp.blogspot.com/-iDOWNbo5SEQ/UPkXze9_W-I/AAAAAAAAGPo/l8r-_Jj-9uU/s1600/mira.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="235" src="http://3.bp.blogspot.com/-iDOWNbo5SEQ/UPkXze9_W-I/AAAAAAAAGPo/l8r-_Jj-9uU/s320/mira.jpg" width="320" /></a><br />
<a href="http://4.bp.blogspot.com/-tglw1l5X23M/UPkXziaSO8I/AAAAAAAAGPs/RXD0JxJEv_Y/s1600/titan.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="179" src="http://4.bp.blogspot.com/-tglw1l5X23M/UPkXziaSO8I/AAAAAAAAGPs/RXD0JxJEv_Y/s320/titan.jpg" width="320" /></a><br />
<a href="http://2.bp.blogspot.com/-ounTEc-bD9U/UPkYGInhWsI/AAAAAAAAGQA/tsINOtYl2zo/s1600/jaguar.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="213" src="http://2.bp.blogspot.com/-ounTEc-bD9U/UPkYGInhWsI/AAAAAAAAGQA/tsINOtYl2zo/s320/jaguar.jpg" width="320" /></a><br />
<div class="separator" style="clear: both; text-align: left;">
<a href="http://4.bp.blogspot.com/-vtksLr6gbw8/UPkYGJQD2JI/AAAAAAAAGP8/7q9yikqQyH0/s1600/bull.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="212" src="http://4.bp.blogspot.com/-vtksLr6gbw8/UPkYGJQD2JI/AAAAAAAAGP8/7q9yikqQyH0/s320/bull.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
Corollaries:</div>
<div class="separator" style="clear: both; text-align: left;">
1. As can be seen the US maintains its dominance.</div>
<div class="separator" style="clear: both; text-align: left;">
2. All vendors can try harder. How about consulting Italian car designers?</div>
<div class="separator" style="clear: both; text-align: left;">
3. SC20 should take place at the Museum of Modern Art.</div>
<br /><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com1tag:blogger.com,1999:blog-22373164.post-15488155035797075742012-12-14T11:39:00.000+02:002012-12-14T11:40:25.955+02:00My RaspberryPi<a href="http://www.raspberrypi.org/">RaspberryPi</a>, a $35 toy or the next <a href="http://web.mit.edu/6.933/www/Fall2000/teradyne/clay.html">disruptive technology</a> and a possible building block for <a href="http://en.wikipedia.org/wiki/High-performance_computing">HPC</a>?<br />
This credit card sized board has a <a href="http://www.arm.com/products/processors/classic/arm11/index.php">ARM11</a> processor and 512MB RAM. The board is powered via a micro USB connector. It has two built-in USB sockets, Ethernet and HDMI video. A schematic drawing of model B which I have can be found <a href="http://www.raspberrypi.org/wp-content/uploads/2011/07/RaspiModelB-1024x902.png">here</a>. I installed <a href="http://www.raspbian.org/">Raspbian </a>Linux, an optimized Debian version for Raspberry, on a 4GB SD card. A cool gadget for triggering thoughts about the future of computing. Enclosed below a few pictures I took, enjoy!<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-oJEffyugZz0/UMrxxs1jmXI/AAAAAAAAF9w/_g9PMVPq_bY/s1600/IMG_6359+-+Copy.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://1.bp.blogspot.com/-oJEffyugZz0/UMrxxs1jmXI/AAAAAAAAF9w/_g9PMVPq_bY/s320/IMG_6359+-+Copy.JPG" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-pr_O6x99R-g/UMrx1Au1nzI/AAAAAAAAF94/v2SsgY6oevA/s1600/IMG_6374.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://1.bp.blogspot.com/-pr_O6x99R-g/UMrx1Au1nzI/AAAAAAAAF94/v2SsgY6oevA/s320/IMG_6374.JPG" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-AE6DLjKqQpc/UMrx5J5IlKI/AAAAAAAAF-A/fbkbGt8TcaE/s1600/IMG_6376+-+Copy.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://1.bp.blogspot.com/-AE6DLjKqQpc/UMrx5J5IlKI/AAAAAAAAF-A/fbkbGt8TcaE/s320/IMG_6376+-+Copy.JPG" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-j8sHQcnE_-M/UMrx8znPacI/AAAAAAAAF-I/7j8C-vJ9Ho0/s1600/IMG_6377+-+Copy.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://1.bp.blogspot.com/-j8sHQcnE_-M/UMrx8znPacI/AAAAAAAAF-I/7j8C-vJ9Ho0/s320/IMG_6377+-+Copy.JPG" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-VDKtMcD3-qg/UMryBij4aMI/AAAAAAAAF-Q/YfMwlAt2xS4/s1600/IMG_6378+-+Copy.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://4.bp.blogspot.com/-VDKtMcD3-qg/UMryBij4aMI/AAAAAAAAF-Q/YfMwlAt2xS4/s320/IMG_6378+-+Copy.JPG" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-FrIBJ8AYeiE/UMryD5UhH9I/AAAAAAAAF-Y/KKHhDowKw38/s1600/IMG_6382+-+Copy.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="141" src="http://2.bp.blogspot.com/-FrIBJ8AYeiE/UMryD5UhH9I/AAAAAAAAF-Y/KKHhDowKw38/s320/IMG_6382+-+Copy.JPG" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-sLvt_5m-6Pg/UMryGRsqIYI/AAAAAAAAF-g/0pL2LHrq3fk/s1600/IMG_6384.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://3.bp.blogspot.com/-sLvt_5m-6Pg/UMryGRsqIYI/AAAAAAAAF-g/0pL2LHrq3fk/s320/IMG_6384.JPG" width="320" /></a></div>
<br />
<br />
<br />
<br />
<br /><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-62737154130820882582012-07-13T09:06:00.000+03:002012-07-13T09:06:09.201+03:00Cyber CrimeThe Internet is becoming impossible ... Very sad<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-HxG9HR8Slr4/T_-6FEBwr-I/AAAAAAAAEZ8/b8lYSvg5R70/s1600/cybercrime.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="344" src="http://2.bp.blogspot.com/-HxG9HR8Slr4/T_-6FEBwr-I/AAAAAAAAEZ8/b8lYSvg5R70/s640/cybercrime.jpg" width="640" /></a></div>
<br /><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com1tag:blogger.com,1999:blog-22373164.post-20874976097858937822012-02-10T22:27:00.001+02:002012-02-10T22:27:43.287+02:00The Importance of High-Performance and High-Throughput Computing in Israel<div style="text-align: left;">
<span style="font-family: inherit;">The slides of my talk at the </span><span style="background-color: white; color: #136038; font-family: inherit;"><a href="http://www.hpcadvisorycouncil.com/events/2012/Israel-Workshop/index.php">HPC Advisory Council Israel Supercomputing Conference 2012</a> that took place on February 7th, 2012 at Tel-Aviv university are available from </span><a href="http://www.hpcadvisorycouncil.com/events/2012/Israel-Workshop/Presentations/3_NRCN.pdf" style="background-color: white; font-family: inherit;">here</a>.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<a href="http://www.hpcadvisorycouncil.com/events/2012/Israel-Workshop/Presentations/3_NRCN.pdf">The Importance of High-Performance and High-Throughput Computing in Israel</a></div><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0Tel Aviv, Israel32.066157 34.77782132.0123325 34.698857000000004 32.119981499999994 34.856785tag:blogger.com,1999:blog-22373164.post-88353742067982401672012-01-21T11:41:00.000+02:002012-01-21T11:43:10.136+02:00Virtual Cluster using VirtualBoxI tested the new<a href="http://www.hpc-europa.eu/"> HPC Europa</a> <a href="http://www.hpc-europa.eu/?q=node/142">Milestone 6 DVD</a> and created a virtual cluster using VirtualBox on my laptop. I created a head-node and two computing nodes connected via a VLAN. The head node has two network interfaces, NAT which enables the connection to the outside world and an internal virtual interface. The two computing nodes have only one network interface each for the VLAN.<br />
In picture number 1 the VirtualBox dashboard is shown with the 3 running computers<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-huokZAoT4b4/TxqEzozyL9I/AAAAAAAADs4/3P0u2MlS12Q/s1600/vcluster1.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="379" src="http://4.bp.blogspot.com/-huokZAoT4b4/TxqEzozyL9I/AAAAAAAADs4/3P0u2MlS12Q/s640/vcluster1.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
Picture number 1: The VirtualBox dashboard showing the 3 running computers of the virtual cluster<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-8QKF9nYx6F8/TxqExbn3VmI/AAAAAAAADsw/H7TEbufDhgI/s1600/vcluster2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="color: black;"><br /></span><img border="0" height="395" src="http://3.bp.blogspot.com/-8QKF9nYx6F8/TxqExbn3VmI/AAAAAAAADsw/H7TEbufDhgI/s640/vcluster2.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
Picture number 2: The desktop of the head node (left) and the two computing nodes (right)</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
In picture number two a PBS job executing a simple MPI task is demonstrated. The head node is on the left and the two computing nodes are on the right.</div>
<div class="separator" style="clear: both; text-align: left;">
My general impression is that this Virtual Cluster is an excellent tool for education where the teacher and later on the students can experience Parallel Processing using their own laptops fairly easily.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<br /><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-57514981479949260452011-12-29T11:15:00.001+02:002011-12-29T11:51:22.865+02:00Globus ProvisionI tested globus-provision which is an easy way to have a globus+condor cluster ready for number crunching on Amazon’s EC2 cloud.<br />
My front end was my laptop which runs Windows. Python on Windows does not behave exactly as on Linux when it comes to SIGINT and therefore os.fork() generated an error message. Thanks to the support of <a href="http://jira.globus.org/secure/ViewProfile.jspa?name=borja">Borja Sotomayor</a> the SIGINT issues has resolved and the solution was to by-pass the SIGINT so I could proceed with the test. You can read more about this issue from here: <a href="http://jira.globus.org/browse/GP-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel">http://jira.globus.org/browse/GP-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel</a><br />
I tried the example from: <a href="http://globus.org/provision/guide_compute_go.html#guide-compute-go">http://globus.org/provision/guide_compute_go.html#guide-compute-go</a><br />
I decided not to use globusonline for the eBooks transfer and I used <span style="font-family: 'Courier New', Courier, monospace;">wget </span>instead. <br />
Below are a few screen captures that show the test.<br />
<br />
My configuration file:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-jO5z4i7M0pg/TvwyWWhvUxI/AAAAAAAADrc/ZgMmFdWO6u8/s1600/gp01.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-jO5z4i7M0pg/TvwyWWhvUxI/AAAAAAAADrc/ZgMmFdWO6u8/s1600/gp01.jpg" /></a></div>
Preparing the instance:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-_HK5j132A-A/TvwyVmHrBXI/AAAAAAAADrU/7v2UI6kUYBo/s1600/gp02.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-_HK5j132A-A/TvwyVmHrBXI/AAAAAAAADrU/7v2UI6kUYBo/s1600/gp02.jpg" /></a></div>
<br />
after a minute or two:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-_4YL_grWrv8/TvwyVOyzgSI/AAAAAAAADrM/r3n9MvolKCg/s1600/gp03.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-_4YL_grWrv8/TvwyVOyzgSI/AAAAAAAADrM/r3n9MvolKCg/s1600/gp03.jpg" /></a></div>
<br />
checking the instance:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-jD7gSlClSOA/TvwyUqHItDI/AAAAAAAADrI/UUV31xJKZmE/s1600/gp04.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-jD7gSlClSOA/TvwyUqHItDI/AAAAAAAADrI/UUV31xJKZmE/s1600/gp04.jpg" /></a></div>
<br />
<div style="text-align: left;">
Watching my cluster at the AWS management console from my browser:</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-GLLnM8ZP3lc/TvwyTczyxvI/AAAAAAAADrA/I7dc32oInNY/s1600/gp05.jpg" imageanchor="1" style="display: inline !important; margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="400" src="http://1.bp.blogspot.com/-GLLnM8ZP3lc/TvwyTczyxvI/AAAAAAAADrA/I7dc32oInNY/s640/gp05.jpg" width="640" /></a></div>
Configuring Putty for SSH:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-CBaK00RBrjY/TvwySnrfQsI/AAAAAAAADq4/ebDVjZaVVrY/s1600/gp06.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="307" src="http://1.bp.blogspot.com/-CBaK00RBrjY/TvwySnrfQsI/AAAAAAAADq4/ebDVjZaVVrY/s320/gp06.jpg" width="320" /></a></div>
<br />
Connecting to one of the nodes:<br />
<div style="text-align: center;">
<a href="http://3.bp.blogspot.com/-dJN5aTJVdLE/TvwyRUxmjlI/AAAAAAAADqw/68YyA8uqCNs/s1600/gp07.jpg" imageanchor="1" style="clear: right; display: inline !important; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="http://3.bp.blogspot.com/-dJN5aTJVdLE/TvwyRUxmjlI/AAAAAAAADqw/68YyA8uqCNs/s1600/gp07.jpg" /></a></div>
Submitting a condor task (multiple jobs):<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-JzgzDOhdw60/TvwyQTKh7hI/AAAAAAAADqo/sSkflQmMOQQ/s1600/gp08.jpg" imageanchor="1" style="display: inline !important; margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" src="http://4.bp.blogspot.com/-JzgzDOhdw60/TvwyQTKh7hI/AAAAAAAADqo/sSkflQmMOQQ/s1600/gp08.jpg" /></a></div>
<br />
<br />
(unfortunately this specific test didn’t reached to the final destination due to an NFS failure of the /nfs/scratch/ mount point which I think is not directly related to this post…)<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-34028860511486277862011-12-19T23:16:00.000+02:002011-12-19T23:16:35.325+02:00"Big Data" - The New Big Kid in Town<div class="separator" style="clear: both; text-align: left;">
A year ago almost no one knew this term. With a doubling time of less than 6 months "Big Data" is becoming a hot hype, as can be seen below (by <a href="http://trends.google.com/trends?q=%22big+data%22&ctab=0&geo=all&date=all&sort=0">Google Trends</a>)</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
:<a href="http://1.bp.blogspot.com/-Pg8Vm2BpFC4/Tu-oQ2fTTLI/AAAAAAAADnI/QRkZDfajhhk/s1600/bigdata.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-Pg8Vm2BpFC4/Tu-oQ2fTTLI/AAAAAAAADnI/QRkZDfajhhk/s1600/bigdata.jpg" /></a></div>
<br />
<br /><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-90818277387947167682011-11-27T21:17:00.001+02:002011-11-27T21:54:50.971+02:00The End of Supercomputers As We Know Them TodayAbout four years ago I predicted in<a href="http://telzur.blogspot.com/2007/10/end-of-grid-computing.html"> this blog</a> the fall of Grid Computing and the rise of Cloud Computing ( <a href="http://telzur.blogspot.com/2007/10/end-of-grid-computing.html">http://telzur.blogspot.com/2007/10/end-of-grid-computing.html</a> )<br />
Now I want to claim that Supercomputers as we know them today will not be the kind we will see in the future.<br />
I think that within a couple of years:<br />
1. Most supercomputers will shift to the cloud (HPC Cloud).<br />
2. The governance of X86 is not guaranteed: We already see the rise of GPGPUs and we will see more families of technologies being involved, e.g. Tegra and ARM, Reconfigureable Computing (RC) i.e. FPGAs, etc'.<br />
3. Supercomputers won't be anymore General Purpose machines. They will be reconstructed as a Cloud Service (<i>Supercomputing as a Service</i>) from all the available technologies (see previous section) per single mission (program) in order to maximize the performance and minimize the consumed energy and cost. I decided to use the word <i>mission </i>because the word<i> task </i>is usually reserved for a thread inside a program. Also the network topology will be ad-hoc (fully non-blocking, partially blocking, hyper-cube,....) and the user will be able to select from a few options the interconnect kind (Infiniband, 10GigE, ...).<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-68134043577622561942011-11-06T22:38:00.002+02:002011-11-06T22:38:44.712+02:00Cloud Computing turns 15!Congratulations! Cloud Computing turns 15, don't believe? check <a href="http://www.technologyreview.com/files/74481/compaq_CST_1996.pdf">this </a>link. The original article is by <a href="http://www.technologyreview.com/">Technology Review</a>, check <a href="http://www.technologyreview.com/business/38987/?mod=chfeatured">here</a><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-13463926233590407562011-10-10T22:11:00.001+02:002011-10-10T22:11:06.996+02:00Computational Science and EngineeringYou are welcome to join my Meetup group about <a href="http://www.meetup.com/ComputationalScience/">Computational Science and Engineering</a> (we are the leftmost site but the exact location is not exactly as appears on the map :-( )<script src="http://www.meetup.com/embed/map/computational-science-and-engineering/" type="text/javascript">
</script><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0tag:blogger.com,1999:blog-22373164.post-44277110117347166072011-09-28T12:02:00.004+03:002011-09-28T12:05:48.754+03:00HPC DAY & LINKSCEEM USER MEETING<div style="text-align: center;">
<a href="http://www.cs.bgu.ac.il/~frankel/HPCDay/program.html">http://www.cs.bgu.ac.il/~frankel/HPCDay/program.html</a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.cs.bgu.ac.il/~frankel/HPCDay/program.html"><img border="0" src="http://4.bp.blogspot.com/-Yni0WqVprzc/ToLiVWd_ruI/AAAAAAAADTc/LmSvP0-rWT8/s1600/bgu_hpc_day.jpg" /></a></div>
<br /><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0Beersheba, Israel31.262512 34.80133531.248939 34.781594 31.276085000000002 34.821076000000005tag:blogger.com,1999:blog-22373164.post-45983692055574026362011-09-06T19:25:00.002+03:002011-09-06T19:25:26.795+03:00Gmail is becoming too smartI replied to someone's email who was supposed to send me attached files which were absent so I wrote back:<br />
<span class="Apple-style-span">"</span><span class="Apple-style-span" style="background-color: white; font-family: arial, sans-serif; font-size: 13px;">No files are attached</span><span class="Apple-style-span">". When I pressed the "send" button Gmail analyzed my text and immediately opened this pop up window:</span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-rmLgLZcCAZA/TmZH5IFU4iI/AAAAAAAADRU/AhS3i2WlM0U/s1600/too_smart.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="149" src="http://1.bp.blogspot.com/-rmLgLZcCAZA/TmZH5IFU4iI/AAAAAAAADRU/AhS3i2WlM0U/s320/too_smart.jpg" width="320" /></a></div>The Big Brother at its best.<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com2tag:blogger.com,1999:blog-22373164.post-5497263674124356472011-07-08T10:16:00.000+03:002011-07-08T10:16:41.686+03:00A first trial with DotCloud<a href="https://www.dotcloud.com/">DotCloud </a>claims to be <b>One Platform - Any Stack </b>Cloud solution<br />
I decided to test it myself, read below.<br />
<br />
1. <b>Registration</b><br />
Very easy and quick!<br />
<br />
2. <b>Setup</b><br />
I used a Linux desktop (dream linux). I needed to install first Python´s ¨easy-install¨ which was missing. <br />
<br />
2.1 <b>Installing <i>easy_install</i></b><br />
<div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">sudo apt-get update</span></div><span style="font-family: "Courier New",Courier,monospace; font-size: x-small;">sudo apt-get install python-setuptools</span><br />
<br />
<br />
2.2 <b>Dotcloud API installation</b><br />
t<span style="font-family: "Courier New",Courier,monospace; font-size: x-small;">elzur@dream:~/Downloads/dotcloud$ sudo easy_install pip && sudo pip install dotcloud<br />
Searching for pip<br />
Reading http://pypi.python.org/simple/pip/<br />
Reading http://www.pip-installer.org<br />
Reading http://pip.openplans.org<br />
Best match: pip 1.0.1<br />
Downloading http://pypi.python.org/packages/source/p/pip/pip-1.0.1.tar.gz#md5=28dcc70225e5bf925532abc5b087a94b<br />
Processing pip-1.0.1.tar.gz<br />
Running pip-1.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-XXryzJ/pip-1.0.1/egg-dist-tmp-f2uO_w<br />
warning: no files found matching '*.html' under directory 'docs'<br />
warning: no previously-included files matching '*.txt' found under directory 'docs/_build'<br />
no previously-included directories found matching 'docs/_build/_sources'<br />
Adding pip 1.0.1 to easy-install.pth file<br />
Installing pip script to /usr/local/bin<br />
Installing pip-2.6 script to /usr/local/bin<br />
<br />
Installed /usr/local/lib/python2.6/dist-packages/pip-1.0.1-py2.6.egg<br />
Processing dependencies for pip<br />
Finished processing dependencies for pip<br />
Downloading/unpacking dotcloud<br />
Downloading dotcloud-0.4.1.tar.gz<br />
Running setup.py egg_info for package dotcloud<br />
Downloading/unpacking dotcloud.cli==0.4.1 (from dotcloud)<br />
Downloading dotcloud.cli-0.4.1.tar.gz<br />
Running setup.py egg_info for package dotcloud.cli<br />
Installing collected packages: dotcloud, dotcloud.cli<br />
Running setup.py install for dotcloud<br />
Running setup.py install for dotcloud.cli<br />
changing mode of build/scripts-2.6/dotcloud from 644 to 755<br />
changing mode of build/scripts-2.6/__dotcloud_git_ssh from 644 to 755<br />
changing mode of /usr/local/bin/__dotcloud_git_ssh to 755<br />
changing mode of /usr/local/bin/dotcloud to 755<br />
Successfully installed dotcloud dotcloud.cli<br />
Cleaning up...<br />
telzur@dream:~/Downloads/dotcloud$ </span><br />
<br />
3. <b>Enter API key:</b><br />
t<span style="font-family: "Courier New",Courier,monospace; font-size: x-small;">elzur@dream:~/Downloads/dotcloud$ dotcloud setup<br />
Enter your api key (You can find it at http://www.dotcloud.com/account/settings): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</span><br />
<br />
4. <b>Test</b><br />
I tried the easy example from dotcloud <a href="http://docs.dotcloud.com/#quickstart.html">website</a><br />
about deploying a basic WWW server.<br />
I will not repeat here the code insertion since it is described in detail at the website therefore I will only enclose below the output so you will be able to verify the process:<br />
<div style="font-family: "Courier New",Courier,monospace;"><br />
</div><span style="font-family: "Courier New",Courier,monospace; font-size: x-small;">telzur@dream:~/Downloads/dotcloud$ mkdir simpleapp <br />
telzur@dream:~/Downloads/dotcloud$ cd simpleapp/<br />
telzur@dream:~/Downloads/dotcloud/simpleapp$ vi index.html<br />
telzur@dream:~/Downloads/dotcloud/simpleapp$ dotcloud create helloworldapp<br />
Created repos "helloworldapp"<br />
telzur@dream:~/Downloads/dotcloud/simpleapp$ vi dotcloud.yml<br />
telzur@dream:~/Downloads/dotcloud/simpleapp$ dotcloud push helloworldapp<br />
# upload /home/telzur/Downloads/dotcloud/simpleapp ssh://dotcloud@uploader.dotcloud.com:21122/helloworldapp<br />
# rsync<br />
Pseudo-terminal will not be allocated because stdin is not a terminal.<br />
Warning: Permanently added '[uploader.dotcloud.com]:21122,[184.73.14.49]:21122' (RSA) to the list of known hosts.<br />
building file list ... done<br />
./<br />
dotcloud.yml<br />
index.html<br />
<br />
sent 265 bytes received 53 bytes 57.82 bytes/sec<br />
total size is 122 speedup is 0.38<br />
Deployment for "helloworldapp" triggered. Will be available in a few seconds.<br />
2011-07-07 18:41:50 [api] Waiting for the build. (It may take a few minutes)<br />
2011-07-07 18:41:50 [www.0] Deploying...<br />
2011-07-07 18:42:04 [www.0] Service booted<br />
2011-07-07 18:42:04 [www.0] The build started<br />
2011-07-07 18:42:05 [www.0] Fetched code revision rsync-1310064109.13<br />
2011-07-07 18:42:08 [www.0] Reloading nginx configuration: nginx.<br />
2011-07-07 18:42:08 [www.0] The build finished successfully<br />
2011-07-07 18:42:08 [api] Deploy finished<br />
<br />
Deployment finished. Your application is available at the following URLs<br />
www: http://5b1e1e3b.dotcloud.com/</span><br />
<br />
5. <b>Verification</b><br />
I opened the URL and got, as expected, the ¨Hello World!¨ from the cloud virtual web server. If you own a domain name you can forward it to point to this URL and you are done.<br />
<br />
6. <b>Conclusions</b><br />
6.1 Very cool and a nice game for the afternoon to experience the power of the cloud.<br />
6.2 I confirmed how easy it is to deploy a webserver as dotcloud had promised <br />
6.3 There are still many open questions about how mature is this solution for real heavy, scalable and secured web services.<br />
6.4 It will be interesting to follow dotcloud and see how they evolve.<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-6300768066874165";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Guy Tel-Zurhttp://www.blogger.com/profile/03787177923438665735noreply@blogger.com0