Installation from Source Code

Follow these steps to install SCIRun from source code:

  1. Download and unpack SCIRun sources, packages, third party software, sample data sets, and documentation.

  2. Build internal third party software. Internal third party software is distributed with SCIRun.

  3. Install external third party software.

    External third party software is not distributed with SCIRun and must be obtained separately. Some external third party software is optional (e.g. BLAS/LAPACK) and if installed will provide SCIRun with additional capabilities.

    Other external third party software is required by some SCIRun packages. For example, ITK is required by the Insight package.

  4. Build SCIRun.

Proceed to “Downloading and Unpacking Sources”.

Downloading and Unpacking Sources

  1. Any number of SCIRun Problem Solving Environment (PSE) Packages may be built from source code. A PSE is built from a particular set of SCIRun packages, which can be downloaded from SCI's software archive web site. For example, to build the BioPSE PSE, download the following:

    SCIRun.1.24.2.tar.gz
    BioPSE.PKG.1.24.2.tar.gz
    MatlabInterface.PKG.1.24.2.tar.gz
    Teem.PKG.1.24.2.tar.gz

    To build the Insight PSE, download the following:

    SCIRun.1.24.2.tar.gz
    Teem.PKG.1.24.2.tar.gz
    Insight.PKG.1.24.2.tar.gz

    To build the Fusion PSE, download the following:

    SCIRun1.24.2.tar.gz
    Fusion.PKG.1.24.2.tar.gz
    Teem.PKG.1.24.2.tar.gz
    DataIO.PKG.1.24.2.tar.gz

    In all cases, the file Thirdparty_install.1.24.2.tar.gz must also be obtained.

    SCIRun's sample data, SCIRunData.1.24.2.tar.gz should also be downloaded.

    SCIRun documentation, SCIRunDocs.1.24.2.tar.gz, may also be downloaded.

  2. Unpack SCIRun sources:

    tar -x -z -f SCIRun.1.24.2.tar.gz
    	

    This creates a directory called SCIRun. Below, the term SCIRun refers to this directory.

  3. Unpack the compressed package sources into SCIRun/src/Packages. For example, to unpack the BioPSE package type:

    tar -x -z -f BioPSE.PKG.1.24.2.tar.gz -C SCIRun/src/Packages
    	

    Repeat for other packages.

  4. Unpack the sample dataset tarball(s). The following instructions install the datasets in directory SCIRunData inside of the download directory.

    • If unpacking SCIRunData.1.24.0b_to_1.24.1.tar.gz, first rename the existing SCIRunData/1.20.0b to SCIRunData/1.20.1:

      pushd SCIRunData
      mv 1.20.0b 1.20.1
      	      

      then:

      popd
      tar -x -z -f SCIRunData.1.24.0b_to_1.24.1.tar.gz
      	      

    • If installing SCIRunData.1.24.2.tar.gz type:

      tar -x -z -f SCIRunData.1.24.2.tar.gz
      	      

    • If installing FusionData.1.24.2.tar.gz type:

      tar -x -z -f FusionData.1.24.2.tar.gz
      	      

  5. Unpack third party sources.

    tar -x -z -f Thirdparty_install.1.24.2.tar.gz
    	

    This creates the directory Thirdparty_install.1.24.2.

  6. Unpack the documentation:

    tar -x -z -f SCIRunDocs.1.24.2.tar.gz
    	

    This creates the directory SCIRunDocs.1.24.2. Point a browser at SCIRunDocs.1.24.2/doc/index.html to access SCIRun's online documentation.

Note

Appendix C, Local SCIRun Source Code Control Using CVS discusses a method for putting the downloaded SCIRun sources under control of the CVS version control system. This is useful if the SCIRun distribution will be used for development. This is not a requirement for installing SCIRun.

Proceed to “Building Internal Third Party Software”