Following installation of openmpi, and numpy (both required), pypar:
download:
mkdir ~/downloads/pypar
cd ~/downloads/pypar
wget http://surfnet.dl.sourceforge.net/sourceforge/pypar/pypar-2.1.0_53.tgz
gunzip < pypar-2.1.0_53.tgz | tar xvf -
sudo python setup.py install
failed.
python setup.py install
failed, complaining about a lack of write ability.
sudo python setup.py install
again, then worked! import pypar works, too! Odd.
On reflection, I think I needed to:
python setup.py config
python setup.py build
sudo python setup.py install
Yes. From clean, that worked. Mostly. Actually, there was a complaint about '-fPIC' and '-m64' being files that couldn't be found. odd.
Then, later, I found
sudo apt-get install python-dev
was required, to remove errors re: python.h not being found. This needed an update, upgrade and dist-upgrade to work and I'm now getting error on update. hmmmm.
----
later, on another machine I did:
sudo apt-get install subversion; svn checkout http://pypar.googlecode.com/svn pypar-read-only;
cd pypar-read-only/source/;
sudo python setup.py install;
exit
log back in and python, import pypar shows it works.
Friday, 6 February 2009
OpenMPI
sudo apt-get install openmpi-common
Didn't install mpicc or mpirun or mpiexec
sudo apt-get install openmpi-bin
mpiexec now works, but pypar complained that mpicc was missing.
sudo apt-get install libopenmpi-dev
Didn't install mpicc or mpirun or mpiexec
sudo apt-get install openmpi-bin
mpiexec now works, but pypar complained that mpicc was missing.
sudo apt-get install libopenmpi-dev
! I can't find file `ecrm1000'.
and many others. Try
sudo apt-get install tetex-extra
This took a while.
sudo apt-get install tetex-extra
This took a while.
Thursday, 5 February 2009
Skype on ubuntu 64
$ wget http://download.skype.com/linux/skype_ubuntu-2.0.0.72-1_amd64.deb
$ sudo dpkg -i skype_ubuntu-2.0.0.72-1_amd64.deb
$ sudo apt-get lib32stdc++6
$ sudo apt-get install lib32stdc++6
$ sudo apt-get -f install
I think only lines, 1, 2, 5 are required. Line 5 (I think) fixes the missing packages, reported from line 2.
$ sudo dpkg -i skype_ubuntu-2.0.0.72-1_amd64.deb
$ sudo apt-get lib32stdc++6
$ sudo apt-get install lib32stdc++6
$ sudo apt-get -f install
I think only lines, 1, 2, 5 are required. Line 5 (I think) fixes the missing packages, reported from line 2.
Ubuntu shortcut key modification.
$ gconf-editor
/apps/metacity/global_keybindings Edit 'run_command_1' etc, to the key-stroke. e.g. z to set left win button + z. Watch that there's no space there.
/apps/metacity/keybinding_commands Edit 'command_1' etc, to the command to run, e.g. gnome-terminal
..... didn't work. I found that pressing 'z' without the win button launched the terminal.
Try xbindkeys:
Tested. It worked.
/apps/metacity/global_keybindings Edit 'run_command_1' etc, to the key-stroke. e.g.
/apps/metacity/keybinding_commands Edit 'command_1' etc, to the command to run, e.g. gnome-terminal
..... didn't work. I found that pressing 'z' without the win button launched the terminal.
Try xbindkeys:
sudo apt-get install xbindkeys
sudo apt-get install xbindkeys-config
xbindkeys
xbindkeys-config
Tested. It worked.
Wednesday, 4 February 2009
.gz, .tar, .bz2, rar
$ gunzip filename.gz # to unzip
$ tar cvzf foo.tgz *.cc *.h # to create. works for directories, too.
$ tar xzf foo.tgz # to extract
$ bunzip xine.bz2
and rar / multipart rar:
unrar x 1strarfilename.rar
--------------------- groups of files
ls *.rar | xargs -i unrar x {}
Wow. That CUNT Gavin is reading over my shoulder. I blame the parents.
.tar.gz
(He's still whittering on, with everyone in the room ignoring him. What a cunt, honestly)
.tar.gz: to extract,
$ tar xvf filename.tar.gz
$ tar cvzf foo.tgz *.cc *.h # to create. works for directories, too.
$ tar xzf foo.tgz # to extract
$ gunzip < file.tar.gz | tar xvf - # to extract. $ bunzip2 filename.bz2 # extract $ tar -xvf filename.tar # extract $ tar jxvf filename.tar.bz2 $ unzip filename.zip
$ bunzip xine.bz2
and rar / multipart rar:
unrar x 1strarfilename.rar
--------------------- groups of files
ls *.rar | xargs -i unrar x {}
Wow. That CUNT Gavin is reading over my shoulder. I blame the parents.
.tar.gz
(He's still whittering on, with everyone in the room ignoring him. What a cunt, honestly)
.tar.gz: to extract,
$ tar xvf filename.tar.gz
Subscribe to:
Posts (Atom)