The xCellerator Project

Return to mPower reference


mPower Installation Instructions


  1. Install qhull.
    1. Linux: most distributions include qhull in their repositories. For example, in Ubuntu 8.04 you can type

      sudo apt-get install qhull-bin

      The expression

      $QHULL=""

      should be the first line of any notebook that uses mPower.

    2. Mac: install the binary using fink and set $QHULL="" in your notebooks.

    3. Other Operating systems , see http://www.qhull.org/download/ and follow the instructions for the version you download.

      If you did a binary installation and the command qhull works from a terminal window then you can set $QHULL="" as for Linux and Mac binary installations.

      If you built from source code the expression

      $QHULL="full-directory-string"

      should be the first line of any notebook that uses mPower, where full-directory-string is the name of the directory when where the "src" folder of the qhull installation is located.

    4. As a last resort, a copy of the source code distribution qhull-2003.1.src.tgz is included in the tarball. You can try to build it from this source. If you get a segmentation fault error when you try to execute qhull later the most likely problem is a compiler version incompatibility with your operating system. I've run into this problem particularly on Intel macs as the mac developers pack does not always install the correct version gcc.

    5. I don't do windows, but I know it can be made to work on Windows XP because I had a summer intern who made it work on her Windows laptop, but I did not get the full installation instructions. If anyone wants to share their experience with me, please do so.

  2. Download, compile and install regtet and pwrvtx from here and place the binaries in the Applications subdirectory of $UserBaseDirectory. (To determine the location of $UserBaseDirectory open Mathematica and type $UserBaseDirectory)

  3. Download the appropriate mPower archive from Sourceforge. For Mathematica 6.0 use version 1.0 or higher. For Mathematica 5.2. use 0.12.

  4. Unpack the archive.

  5. Copy the file mPower.m to wherever you normally place your mathematica pacakges, such as the Applications subdirectory of $UserBaseDirectory or your home directory.
  6. To use the package you must first execute the line

                    <<mPower.m
    	
    each time you start Mathematica. (Note that some operating systems such as linux are case-sensitive and others such as Mac OS are not). If you put mPower.m in some folder that is not included in your Mathematica path then you will have to include the full directory name. You can find out what your Mathematica path is by typing $Path in Mathematica.

Last updated 11 May 08

SourceForge.net Logo