<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://hcl.ucd.ie/wiki/index.php?feed=atom&amp;namespace=0&amp;title=Special%3ANewPages</id>
		<title>HCL - New pages [en]</title>
		<link rel="self" type="application/atom+xml" href="https://hcl.ucd.ie/wiki/index.php?feed=atom&amp;namespace=0&amp;title=Special%3ANewPages"/>
		<link rel="alternate" type="text/html" href="https://hcl.ucd.ie/wiki/index.php/Special:NewPages"/>
		<updated>2026-04-10T00:32:07Z</updated>
		<subtitle>From HCL</subtitle>
		<generator>MediaWiki 1.27.1</generator>

	<entry>
		<id>https://hcl.ucd.ie/wiki/index.php/Virtual_memory_overcommit</id>
		<title>Virtual memory overcommit</title>
		<link rel="alternate" type="text/html" href="https://hcl.ucd.ie/wiki/index.php/Virtual_memory_overcommit"/>
				<updated>2013-09-09T13:29:46Z</updated>
		
		<summary type="html">&lt;p&gt;Davepc: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Paging and the OOM-Killer  ==&lt;br /&gt;
&lt;br /&gt;
Due to the nature of experiments our group runs, we often induce heavy paging and complete exhaustion of available memory on certain nodes. Linux has a pair of strategies to deal with heavy memory use. First, is overcommitting. This is where a process is allowed allocate or fork even when there is no more memory available. You can seem some interesting numbers here:[http://opsmonkey.blogspot.com/2007/01/linux-memory-overcommit.html]. The assumption is that processes may not use all memory that they allocate and failing on allocation is worse than failing at a later date when the memory use is actually required. More processes may be supported by allowing them to allocate memory (provided they do not use it all). The second part of the strategy is the Out-of-Memory killer (OOM Killer). When memory has been exhausted and a process tries to use some 'overcommitted' part of memory, the OOM killer is invoked. It's job is to rank all processes in terms of their memory use, priority, privilege and some other parameters, and then select a process to kill based on the ranks. &lt;br /&gt;
&lt;br /&gt;
The argument for using overcommital+OOM Killer is that rather than failing to allocate memory for some random unlucky process, which as a result would probably terminate, the kernel can instead allow the unlucky process to continue executing and then make a some-what-informed decision on which process to kill. Unfortunately, the behaviour of the OOM-killer sometimes causes problems which grind the machine to a complete halt, particularly when it decides to kill system processes. There is a good discussion on the OOM-killer here: [http://lwn.net/Articles/104179/] &lt;br /&gt;
&lt;br /&gt;
For this reason overcommit has been disabled on the HCL cluster. &lt;br /&gt;
&lt;br /&gt;
 cat /proc/sys/vm/overcommit_memory &lt;br /&gt;
 2&lt;br /&gt;
 cat /proc/sys/vm/overcommit_ratio &lt;br /&gt;
 100&lt;br /&gt;
&lt;br /&gt;
To restore to default overcommit &lt;br /&gt;
&lt;br /&gt;
 # echo 0 &amp;amp;gt; /proc/sys/vm/overcommit_memory&lt;br /&gt;
 # echo 50 &amp;amp;gt; /proc/sys/vm/overcommit_ratio&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Run the following two programmes from here: [http://www.win.tue.nl/~aeb/linux/lk/lk-9.html www.win.tue.nl/~aeb/linux/lk/lk-9.html] to test results. &lt;br /&gt;
&lt;br /&gt;
Demo program 1: allocate memory without using it. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;&amp;quot;&amp;gt;#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;stdlib.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main (void) {&lt;br /&gt;
        int n = 0;&lt;br /&gt;
&lt;br /&gt;
        while (1) {&lt;br /&gt;
                if (malloc(1&amp;lt;&amp;lt;20) == NULL) {&lt;br /&gt;
                        printf(&amp;quot;malloc failure after %d MiB\n&amp;quot;, n);&lt;br /&gt;
                        return 0;&lt;br /&gt;
                }&lt;br /&gt;
                printf (&amp;quot;got %d MiB\n&amp;quot;, ++n);&lt;br /&gt;
        }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Demo program 2: allocate memory and actually touch it all. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;&amp;quot;&amp;gt;#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;string.h&amp;gt;&lt;br /&gt;
#include &amp;lt;stdlib.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main (void) {&lt;br /&gt;
        int n = 0;&lt;br /&gt;
        char *p;&lt;br /&gt;
&lt;br /&gt;
        while (1) {&lt;br /&gt;
                if ((p = malloc(1&amp;lt;&amp;lt;20)) == NULL) {&lt;br /&gt;
                        printf(&amp;quot;malloc failure after %d MiB\n&amp;quot;, n);&lt;br /&gt;
                        return 0;&lt;br /&gt;
                }&lt;br /&gt;
                memset (p, 0, (1&amp;lt;&amp;lt;20));&lt;br /&gt;
                printf (&amp;quot;got %d MiB\n&amp;quot;, ++n);&lt;br /&gt;
        }&lt;br /&gt;
}&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Manually Limit the Memory on the OS level  ==&lt;br /&gt;
&lt;br /&gt;
as root edit /etc/default/grub &lt;br /&gt;
&lt;br /&gt;
 GRUB_CMDLINE_LINUX_DEFAULT=&amp;quot;quiet mem=128M&amp;quot;&lt;br /&gt;
&lt;br /&gt;
then run the command &lt;br /&gt;
&lt;br /&gt;
 update-grub&lt;br /&gt;
 reboot&lt;/div&gt;</summary>
		<author><name>Davepc</name></author>	</entry>

	<entry>
		<id>https://hcl.ucd.ie/wiki/index.php/BlueGene/P</id>
		<title>BlueGene/P</title>
		<link rel="alternate" type="text/html" href="https://hcl.ucd.ie/wiki/index.php/BlueGene/P"/>
				<updated>2013-03-19T15:00:15Z</updated>
		
		<summary type="html">&lt;p&gt;Xalid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Some members of HCL have access to Shaheen BlueGene/P at King Abdullah University of Science and Technology ([http://www2.hpc.kaust.edu.sa/documentation/shaheen/]) . In addition, some members has access to BleGene/P at West University of Timisoara, Romania ([http://hpc.uvt.ro/infrastructure/bluegenep/]). &lt;br /&gt;
&lt;br /&gt;
===== Fupermod on Shaheen BlueGene/P  =====&lt;br /&gt;
&lt;br /&gt;
In order to compile fupermod on the BG/P the following commands should be run to load some libraries: &lt;br /&gt;
&lt;br /&gt;
#module load bluegene &lt;br /&gt;
#module load essl &lt;br /&gt;
#module load gsl&lt;br /&gt;
&lt;br /&gt;
Then, configure command can be executed as follows: &lt;br /&gt;
&lt;br /&gt;
/fupermod/configure --with-gsl-dir=/opt/share/math_libraries/gsl/ppc64/IBM --with-blas=essl CFLAGS=&amp;quot;-O3 -qarch=450 -qtune=450&amp;quot; --with-essl-dir=/opt/share/ibmmath/essl/4.4/&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Xalid</name></author>	</entry>

	<entry>
		<id>https://hcl.ucd.ie/wiki/index.php/Desktop_Backup</id>
		<title>Desktop Backup</title>
		<link rel="alternate" type="text/html" href="https://hcl.ucd.ie/wiki/index.php/Desktop_Backup"/>
				<updated>2012-12-06T18:30:32Z</updated>
		
		<summary type="html">&lt;p&gt;Davepc: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Members of the HCL group may backup their desktops to heterogeneous server in the following directory:&lt;br /&gt;
&lt;br /&gt;
  heterogeneous:/home/desktops/&amp;amp;lt;user&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
This can easly be done with rsync as follows:&lt;br /&gt;
&lt;br /&gt;
  rsync -axv /home/&amp;amp;lt;your_desktop_username&amp;amp;gt;/ &amp;amp;lt;user&amp;amp;gt;@heterogeneous:/home/desktops/&amp;amp;lt;user&amp;amp;gt;/ --exclude-from=.bkup_excludes&lt;br /&gt;
&lt;br /&gt;
and make the file .backup_excludes with files and directorys you would like to exclude, for example your download folder, internet cache, etc. An example of Daves excludes file: &lt;br /&gt;
&lt;br /&gt;
  .Skype/&lt;br /&gt;
  .Trash-1000/&lt;br /&gt;
  .adobe/&lt;br /&gt;
  .cache/&lt;br /&gt;
  .config/chromium&lt;br /&gt;
  .dropbox/&lt;br /&gt;
  .mozilla/&lt;br /&gt;
  .ssh/&lt;br /&gt;
  .svn/&lt;br /&gt;
  .thumbnails/&lt;br /&gt;
  .thunderbird/&lt;br /&gt;
  Downloads/&lt;br /&gt;
  Dropbox/&lt;br /&gt;
  backups/&lt;/div&gt;</summary>
		<author><name>Davepc</name></author>	</entry>

	<entry>
		<id>https://hcl.ucd.ie/wiki/index.php/CUDA_SDK</id>
		<title>CUDA SDK</title>
		<link rel="alternate" type="text/html" href="https://hcl.ucd.ie/wiki/index.php/CUDA_SDK"/>
				<updated>2012-07-12T11:04:57Z</updated>
		
		<summary type="html">&lt;p&gt;Zhongziming: Created page with &amp;quot;http://developer.nvidia.com/gpu-computing-sdk&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;http://developer.nvidia.com/gpu-computing-sdk&lt;/div&gt;</summary>
		<author><name>Zhongziming</name></author>	</entry>

	<entry>
		<id>https://hcl.ucd.ie/wiki/index.php/Bash_Scripts</id>
		<title>Bash Scripts</title>
		<link rel="alternate" type="text/html" href="https://hcl.ucd.ie/wiki/index.php/Bash_Scripts"/>
				<updated>2012-05-28T09:54:13Z</updated>
		
		<summary type="html">&lt;p&gt;Davepc: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A collection of useful bash scripts here.&lt;br /&gt;
&lt;br /&gt;
Open in vi all .c files containing a string&lt;br /&gt;
 vim -p `grep STRING *.[c]| cut -f1 -d &amp;quot;:&amp;quot;| uniq`&lt;/div&gt;</summary>
		<author><name>Davepc</name></author>	</entry>

	<entry>
		<id>https://hcl.ucd.ie/wiki/index.php/Pgfplot</id>
		<title>Pgfplot</title>
		<link rel="alternate" type="text/html" href="https://hcl.ucd.ie/wiki/index.php/Pgfplot"/>
				<updated>2012-05-09T11:43:11Z</updated>
		
		<summary type="html">&lt;p&gt;Quintin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;PgfPlot is a package which let you do the same things as gnuplot but directly inside your latex file.&lt;br /&gt;
And this has a lot of advantages:&lt;br /&gt;
 - no additional file&lt;br /&gt;
 - no conversion from eps or ps or png to the pdf&lt;br /&gt;
 - the quality is really improved&lt;br /&gt;
 - the picture text has the same font as the rest of the document&lt;br /&gt;
&lt;br /&gt;
=Preambule=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;latex&amp;quot;&amp;gt;&lt;br /&gt;
\usepackage{tikz}&lt;br /&gt;
\usepackage{pgfplots}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=example=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;latex&amp;quot;&amp;gt;&lt;br /&gt;
\begin{tikzpicture}[transform shape,scale=0.9]&lt;br /&gt;
\begin{axis}[ &lt;br /&gt;
                   ylabel style={yshift=-15pt}, % place of the ylabel&lt;br /&gt;
                  width=\textwidth,height=7.4cm, %size of the picture&lt;br /&gt;
                  xlabel=Number of processors, &lt;br /&gt;
                  ylabel=Execution time ($10^3$ s),&lt;br /&gt;
                  legend style={at={(.9,.9)}}, % place of the legend&lt;br /&gt;
                  ymin=0,   ymax=8.8, % range for the y axe&lt;br /&gt;
                  mark size=1.5 % size of the points&lt;br /&gt;
                  ]&lt;br /&gt;
\addplot+[] table[header=false,x index=0,y expr=\thisrowno{2}/1000]{data};&lt;br /&gt;
\addplot+[] table[header=false,x index=0,y expr=\thisrowno{2}/1000]{data};&lt;br /&gt;
\addplot+[] table[header=false,x index=0,y expr=\thisrowno{2}/1000]{data};&lt;br /&gt;
&lt;br /&gt;
\legend{WSCOM$_{\text{pf}}$,WSCOM,list\_min};&lt;br /&gt;
&lt;br /&gt;
\end{axis}\end{tikzpicture}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
a part of the file &amp;quot;data&amp;quot; is shown just after:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
1  list_min 8241.04532500001 0.592721444672621 400&lt;br /&gt;
2  list_min 4276.264 0.541485563775196 400&lt;br /&gt;
3  list_min 2840.83145 0.240012784271948 400&lt;br /&gt;
4  list_min 2171.53825 0.204766932333766 400&lt;br /&gt;
5  list_min 1771.9397 0.187049380812677 400&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Quintin</name></author>	</entry>

	<entry>
		<id>https://hcl.ucd.ie/wiki/index.php/Matplotlib</id>
		<title>Matplotlib</title>
		<link rel="alternate" type="text/html" href="https://hcl.ucd.ie/wiki/index.php/Matplotlib"/>
				<updated>2012-01-30T17:28:02Z</updated>
		
		<summary type="html">&lt;p&gt;Jun.zhu: Created page with &amp;quot;http://matplotlib.sourceforge.net/&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;http://matplotlib.sourceforge.net/&lt;/div&gt;</summary>
		<author><name>Jun.zhu</name></author>	</entry>

	<entry>
		<id>https://hcl.ucd.ie/wiki/index.php/PGF/Tikz</id>
		<title>PGF/Tikz</title>
		<link rel="alternate" type="text/html" href="https://hcl.ucd.ie/wiki/index.php/PGF/Tikz"/>
				<updated>2012-01-30T17:26:54Z</updated>
		
		<summary type="html">&lt;p&gt;Davepc: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [http://en.wikipedia.org/wiki/PGF/TikZ Tikz on Wikipedia]&lt;br /&gt;
* [http://www.ctan.org/tex-archive/graphics/pgf/base/doc/generic/pgf/pgfmanual.pdf PGF manual]&lt;br /&gt;
* [http://www.texample.net/tikz/examples/ Examples]&lt;br /&gt;
&lt;br /&gt;
= Write a figure =&lt;br /&gt;
&lt;br /&gt;
The preamble of the latex file must contain: &amp;lt;source lang=&amp;quot;latex&amp;quot;&amp;gt;\usepackage{tikz}&amp;lt;/source&amp;gt; Some optional libraries could be add like this: &amp;lt;source lang=&amp;quot;latex&amp;quot;&amp;gt;\usetikzlibrary{calc}&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
To start a figure, the code must be inside the tikzpicture environment like this: &amp;lt;source lang=&amp;quot;latex&amp;quot;&amp;gt;\begin{tikzpicture} ... TikZ code here...  \end{tikzpicture}&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
= Exemple =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;latex&amp;quot;&amp;gt;&lt;br /&gt;
% Author: Quintin Jean-Noël&lt;br /&gt;
% &amp;lt;http://moais.imag.fr/membres/jean-noel.quintin/&amp;gt;&lt;br /&gt;
\documentclass{article}&lt;br /&gt;
\usepackage{tikz}&lt;br /&gt;
\usetikzlibrary[topaths]&lt;br /&gt;
% A counter, since TikZ is not clever enough (yet) to handle&lt;br /&gt;
% arbitrary angle systems.&lt;br /&gt;
\newcount\mycount&lt;br /&gt;
\begin{document}&lt;br /&gt;
\begin{tikzpicture}[transform shape]&lt;br /&gt;
%the multiplication with floats is not possible. Thus I split the loop&lt;br /&gt;
%in two.&lt;br /&gt;
\foreach \number in {1,...,8}{&lt;br /&gt;
  % Computer angle:&lt;br /&gt;
    \mycount=\number&lt;br /&gt;
    \advance\mycount by -1&lt;br /&gt;
    \multiply\mycount by 45&lt;br /&gt;
    \advance\mycount by 0 &lt;br /&gt;
    \node[draw,circle,inner sep=0.125cm] (N-\number) at (\the\mycount:5.4cm) {};&lt;br /&gt;
} &lt;br /&gt;
\foreach \number in {9,...,16}{&lt;br /&gt;
  % Computer angle:&lt;br /&gt;
    \mycount=\number&lt;br /&gt;
    \advance\mycount by -1&lt;br /&gt;
    \multiply\mycount by 45&lt;br /&gt;
    \advance\mycount by 22.5&lt;br /&gt;
    \node[draw,circle,inner sep=0.125cm] (N-\number) at (\the\mycount:5.4cm) {};&lt;br /&gt;
} &lt;br /&gt;
\foreach \number in {1,...,15}{&lt;br /&gt;
  \mycount=\number&lt;br /&gt;
    \advance\mycount by 1 &lt;br /&gt;
    \foreach \numbera in {\the\mycount,...,16}{&lt;br /&gt;
      \path (N-\number) edge[-&amp;gt;,bend right=3] (N-\numbera)  edge[&amp;lt;-,bend&lt;br /&gt;
        left=3] (N-\numbera);&lt;br /&gt;
    }     &lt;br /&gt;
}&lt;br /&gt;
\end{tikzpicture}&lt;br /&gt;
\end{document}&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
= Voir aussi =&lt;br /&gt;
&lt;br /&gt;
*[[Pfgplot]]&lt;/div&gt;</summary>
		<author><name>Quintin</name></author>	</entry>

	<entry>
		<id>https://hcl.ucd.ie/wiki/index.php/Beamer</id>
		<title>Beamer</title>
		<link rel="alternate" type="text/html" href="https://hcl.ucd.ie/wiki/index.php/Beamer"/>
				<updated>2012-01-30T17:23:53Z</updated>
		
		<summary type="html">&lt;p&gt;Root: Created page with &amp;quot;[http://en.wikipedia.org/wiki/Beamer_(LaTeX) Beamer] - a package for presentation slides&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://en.wikipedia.org/wiki/Beamer_(LaTeX) Beamer] - a package for presentation slides&lt;/div&gt;</summary>
		<author><name>Root</name></author>	</entry>

	<entry>
		<id>https://hcl.ucd.ie/wiki/index.php/BibTeX</id>
		<title>BibTeX</title>
		<link rel="alternate" type="text/html" href="https://hcl.ucd.ie/wiki/index.php/BibTeX"/>
				<updated>2012-01-30T17:23:33Z</updated>
		
		<summary type="html">&lt;p&gt;Root: Created page with &amp;quot;[http://en.wikipedia.org/wiki/BibTeX BibTeX] - a reference management software&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://en.wikipedia.org/wiki/BibTeX BibTeX] - a reference management software&lt;/div&gt;</summary>
		<author><name>Root</name></author>	</entry>

	<entry>
		<id>https://hcl.ucd.ie/wiki/index.php/FORTRAN</id>
		<title>FORTRAN</title>
		<link rel="alternate" type="text/html" href="https://hcl.ucd.ie/wiki/index.php/FORTRAN"/>
				<updated>2012-01-30T16:55:05Z</updated>
		
		<summary type="html">&lt;p&gt;Root: Created page with &amp;quot;[http://www.yolinux.com/TUTORIALS/LinuxTutorialMixingFortranAndC.html Tutorial on mixing FORTRAN and C/C++ code]&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://www.yolinux.com/TUTORIALS/LinuxTutorialMixingFortranAndC.html Tutorial on mixing FORTRAN and C/C++ code]&lt;/div&gt;</summary>
		<author><name>Root</name></author>	</entry>

	<entry>
		<id>https://hcl.ucd.ie/wiki/index.php/GDB</id>
		<title>GDB</title>
		<link rel="alternate" type="text/html" href="https://hcl.ucd.ie/wiki/index.php/GDB"/>
				<updated>2012-01-30T16:54:29Z</updated>
		
		<summary type="html">&lt;p&gt;Davepc: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Debugging with GDB&lt;br /&gt;
&lt;br /&gt;
compile programme with -g -o0 (or ./configure --enable-debug)&lt;br /&gt;
&lt;br /&gt;
For serial programme (or MPI running with 1 process)&lt;br /&gt;
 gdb ./programme_name&lt;br /&gt;
&lt;br /&gt;
To debug MPI application in parallel&lt;br /&gt;
add this line to somewhere in the code:&lt;br /&gt;
 if (!rank) getc(stdin); MPI_Barrier(MPI_COMM_WORLD);&lt;br /&gt;
&lt;br /&gt;
Then run the code and it will hang on that line.&lt;br /&gt;
&lt;br /&gt;
If you get the gdb error:&lt;br /&gt;
 fupermod_....c: No such file or directory.&lt;br /&gt;
&lt;br /&gt;
Run the following command to add to gdb's source directories to be searched:&lt;br /&gt;
 directory ~/fupermod/&lt;/div&gt;</summary>
		<author><name>Davepc</name></author>	</entry>

	<entry>
		<id>https://hcl.ucd.ie/wiki/index.php/BitTorrent_(B._Cohen%27s_version)</id>
		<title>BitTorrent (B. Cohen's version)</title>
		<link rel="alternate" type="text/html" href="https://hcl.ucd.ie/wiki/index.php/BitTorrent_(B._Cohen%27s_version)"/>
				<updated>2011-12-13T11:42:45Z</updated>
		
		<summary type="html">&lt;p&gt;Kiril: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The modified bittorrent tarball is currently under the MPIBlib repository:&lt;br /&gt;
&lt;br /&gt;
svn co https://hcl.ucd.ie/repos/CPM/trunk/MPIBlib/tests/bittorrent/bittorrent.tar.gz&lt;br /&gt;
&lt;br /&gt;
* Extract this under your home directory&lt;br /&gt;
** You might need&lt;br /&gt;
  mv $HOME/lib/python $HOME/lib/python2.6&lt;br /&gt;
&lt;br /&gt;
* export following variables to tweak the way Python paths are searched:&lt;br /&gt;
  export PYTHONPATH=/usr/lib/python2.6/:&amp;lt;local-installation-path-of-Python-libs&amp;gt;&lt;br /&gt;
* Modify logfile path in /home/kdichev/lib/python2.6/BitTorrent/StorageWrapper.py and create according directory structure&lt;br /&gt;
* Create a file of any size consisting of &amp;quot;s&amp;quot; characters only.&lt;br /&gt;
* Create torrent file: &lt;br /&gt;
  btmakemetafile myfile.ext http://&amp;lt;frontend on G5K&amp;gt;:6969/announce&lt;br /&gt;
* Stick the torrent file into $HOME/public at the frontend.&lt;br /&gt;
** It is then available from within G5K under http://public.lille.grid5000.fr/~kdichev/{torrent file}&lt;br /&gt;
* Start the tracker on the frontend:&lt;br /&gt;
  bttrack --port 6969 --dfile dstate&lt;br /&gt;
* Book nodes interactively:&lt;br /&gt;
  qsub -I -lnodes=...&lt;br /&gt;
* Start one client that has the full copy&lt;br /&gt;
  ssh &amp;lt;one-node&amp;gt; btdownloadheadless --url http://public.lille.grid5000.fr/~kdichev/{torrent file} &amp;amp;&lt;br /&gt;
&lt;br /&gt;
* On all other nodes, launch the client at the same time:&lt;br /&gt;
script-per-process.sh&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  cd /tmp ;  btdownloadheadless --display_interval 100 --url http://public.lille.grid5000.fr/~kdichev/{torrent file}&lt;br /&gt;
run.sh&lt;br /&gt;
  mpirun -n 14 --machinefile hostfile  $PWD/script-per-process.sh&lt;/div&gt;</summary>
		<author><name>Kiril</name></author>	</entry>

	<entry>
		<id>https://hcl.ucd.ie/wiki/index.php/NLOPT</id>
		<title>NLOPT</title>
		<link rel="alternate" type="text/html" href="https://hcl.ucd.ie/wiki/index.php/NLOPT"/>
				<updated>2011-09-29T18:54:39Z</updated>
		
		<summary type="html">&lt;p&gt;Davepc: Created page with &amp;quot;[http://ab-initio.mit.edu/wiki/index.php/NLopt Download nlopt from here] Unpack and configure with:  ./configure --with-cxx --enable-shared  make  make install&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://ab-initio.mit.edu/wiki/index.php/NLopt Download nlopt from here]&lt;br /&gt;
Unpack and configure with:&lt;br /&gt;
 ./configure --with-cxx --enable-shared&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;/div&gt;</summary>
		<author><name>Davepc</name></author>	</entry>

	</feed>