Tag: Ubuntu

I’ve updated a few outdated commands there myself so it shouldn’t be too hard to follow the instructions. The only thing I personally did differently was that I didn’t create a new user, but instead used my old account on all the machines (the important thing is that the username be the same everywhere).

In this post I’ll explain how to make a Python script to utilize this cluster using the MPI standard for parallel programming.

To prepare your Python interpreter for parallel programming, you first need some sort of an MPI interface. Several exist so it’s up to you to choose. I used mpi4py. This is part of the scipy module and it can be installed through Synaptic or with:

To get started with LaTex quickly I googled a bit and quickly found a cross-platform editor I am very happy with – TexMaker.

You can install it by issuing:

sudo apt-get install texmaker

The interface is very intuitive. Among the editor’s features are code completion, spell-checker (although I didn’t succed at configuring it), wizards with document templates… You can find the user manual and a decent LaTex reference under Help. You can see what it looks like in this screenshot:

Today I decided to automate the tedious process of syncronising my SD card and hard drive (for example to get files to an e-book reader faster and be able to read from it more often (which is way better than straining your eyes reading from a monitor)). The good thing is that you can later use the same technique to sync USBs, external hard drives, even remote machines via ssh or ftp – you just tweak the paths.

First I thought of Linux’ rsync command, but Unison is suggested as a bit more user-friendly and abstract program that achieves the deed. Here’s how you do it.