Wednesday, April 30, 2008

VirtualBox -> Ubuntu 8.04 -> LINPACK Benchmark

After watching this video, I have an urge to run the LINPACK benchmark on my new notebook with Ubuntu as guest OS in VirtualBox.

To run LINPACK benchmark, you need to install MPICH (A Portable Implementation of MPI, Message Passing Interface). Installation of MPICH is really easy in Ubuntu and you do not need to go through the compilation phase. Simply launch the Synaptic Package Manager (located at System->Administration) and select "mpich 1.2.7-8 , MPI parallel computing system implementation" package to install. It is dead simple.

LINPACK benchmark does not come with binary and therefore you need to compile it on your target system. You will need to download these dependencies - BLAS (Basic Linear Algebra Subprogram), ATLAS (Automatically Tuned Linear Algebra Software). Configure LINPACK to point to the BLAS (Basic Linear Algebra Subprogram) and ATLAS (Automatically Tuned Linear Algebra Software) library by setting the "MPdir", "MPinc", "MPlib", "LAdir", "LAinc" and "LAlib" variables in the Make file specific to your architecture.

To run the benchmark, run mpirun -np 1 xhpl. Remember to configure the HPL.dat to fit your environment. I am running off 1 CPU because I get VirtualBox to allocate 1 CPU worth of compute power (I only have 2 cores). I did not finish the entire run because the heat generated on my laptop is "too hot for me to handle". Anyway, this is the screenshot.

This is the video that I watched
An Overview of High Performance Computing and Challenges for the Future

Labels: ,

Friday, April 25, 2008

Ubuntu on my old notebook

Downloaded the latest Ubuntu 8.04 this morning and installed on my old Toshiba notebook. Now my notebook has Windows XP, Fedora Core 8 and Ubuntu 8.04. Actually I wanted to reserve a partition to install Solaris, but it just refused to recognise my keyboard. How can one install an operating system without a keyboard.

Labels: ,

Thursday, July 19, 2007

OpenSolaris in a 4GB Thumb Drive, then Ubuntu

I brought a 4GB thumb drive a month ago to try loading OpenSolaris Belenix 0.6 LiveCD. In the web site, it says:
Usbdump integrated into the LiveCD. You can now boot from the CD pop in a USB stick and execute usbdump in a terminal to get BeleniX on USB.
Although it works, the /usr partition is mounted as read only and therefore I cannot do any package installation.

Anyway, the 4GB thumb moves on to Ubuntu 6.10. Why not the latest 7.04 'cos most of the people complained about having problem with this version. This article from Pendrivelinux.com has a very detailed step-by-step guide.

I partitioned 2GB FAT16 for the OS, and 2GB ext2 for my /opt. It is possible to do "apt-get install" to install packages.

What's next for my 4GB? I have no idea.

Labels: , , ,