AlexF Install Guide (not a guide to installing AlexF)

I'm creating this page to keep track of how to make my laptop dual boot and get Chaste running on it. I make no claim as to which all of these steps are necessary, sufficient (or neither). Comments welcome.

Installing Dual Boot

My laptop runs Windows XP Home edition, so the first step is to make it dual boot. One way to do this is as follows:

  • Back up data and the operating system before attempting a dual-boot install, in case anything goes wrong when partitioning the hard disk
  • Get a copy of Ubuntu by downloading the CD installer from here
  • Boot from the Ubuntu CD, and once Ubuntu has loaded, double-click on Install and follow the on-screen instructions - I found this screencast and this page useful

NOTE - The following instructions are all obseleted by the Ubuntu Package.

Installing Packages

I installed what Jonathan suggested in the InstallGuides/DebianEtch as well as a few other packages by opening a terminal and typing

sudo apt-get update
sudo apt-get install lapack3-dev atlas3-sse2 mpich-shmem-bin libmpich-shmem1.0-dev scons g++ valgrind subversion sun-java5-jdk sun-java5-bin 
sudo apt-get install libxerces27-dev libxerces27 libsvn-java eclipse libboost.*-dev libboost-doc libboost.*1.34.1 valgrind xsd tetgen
sudo apt-get install mplayer     # for animation
sudo apt-get install libstdc++5  # to avoid tetgen errors

I installed MPI and PETSc as described in InstallPetscAndMpi, and came across a PETSc issue which has been reported here. Following the workaround given, I removed all references to '-Wno-long-double' from `python/BuildSystem/config/ ` and this seemed to do the trick (although I did encounter the message

g++: unrecognised option '-PIC'

a lot when running make all).

I then installed the Eclipse plug-ins as described in InstallEclipsePlugins (could I have bypassed installing CDT by just installing eclipse-cdt instead of eclipse above?), hdf5 as described in InstallHdf5 and tetview as described in InstallTetgenAndTetview.

Getting a Default Build Working

  • Add the lines
    elif machine_fqdn.startswith('alex-laptop'):
        import alexf as conf
    at line 80 in pythonhostconfig/ (alex-laptop is the name of my machine) and create a new file pythonhostconfig/ (committed in r3966).
  • Modify the .bashrc file by adding the lines
    alias cdchaste="cd /home/alex/chaste/workspace/Chaste" # for ease!
    export PATH=$HOME/mpi/bin:$HOME/hdf5/bin:$HOME/bin:/sbin/:/usr/bin:/usr/sbin:/usr/local/sbin:$PATH

Current state of progress

Woohoo! Everything works.

Last modified 7 years ago Last modified on May 29, 2014, 2:59:01 PM