Scirun Installation


Pre-Requisites
1)Operating System :-
Flavors of Linux (including Ubuntu, RHE, and Suse), and Mac OSX (both PPC and Intel, however please note that SCIRun only works with 
versions 10.4.1 and later)


Graphics Card and Driver:
NVIDIA FX series graphics card or an ATI Fire series gaphics card

OpenGL Driver for Linux :
NVIDIA or ATI drivers should be correctly installed on your system. Example: Type:- glxgears  ,
Output :- if rapidly rotating gears appears  then it is likely that your graphics card is
working properly

Compiler :
 Any version of g++ past 3.2

CMake : 
Version 2.2.3 or greater)


Installation :
1) Quick Unix Build Instructions
2) Detailed Unix Build Instructions


1) Using the Build Script to Build SCIRun
a) tar xvfz SCIRun.3.0.0.tar.gz  :- creates a SCIRun directory directory structure
SCIRun/src = SCIRun source code
SCIRun/thirdparty.src = SCIRun Thirdparty installation source code                                     
SCIRun/bin = empty directory for building SCIRun
SCIRun/thirdparty.bin = empty directory to build SCIRun Thirdparty
b) cd thirdparty.src
c)  ./install.sh /afs/.enea.it/software/scirun/SCIRun/thirdparty.bin
d) cd ../bin
e) cmake ../src
f) make

2) Detailed Unix Build Instructions
a) tar xvfz SCIRun.3.0.0.tar.gz  :- creates a SCIRun directory directory structure
SCIRun/src = SCIRun source code
SCIRun/thirdparty.src = SCIRun Thirdparty installation source code                                     
SCIRun/bin = empty directory for building SCIRun
SCIRun/thirdparty.bin = empty directory to build SCIRun Thirdparty
b) cd thirdparty.src
b) cd thirdparty.src
c)./install.sh /afs/.enea.it/software/scirun/SCIRun/thirdparty.bin -j 2
d) cmake ../src -DSCIRUN_THIRDPARTY_DIR=/afs/.enea.it/software/scirun/SCIRun/thirdparty.bin/3.0.0/Linux/gcc-3.3.3-32bit

3)Running Scirun
export SCIRUN_DATSET=sphere
type scirun -e ../src/nets/isocontour.srn
                       
Checks :
1) Do not move or copy Scirun from one directory to another. Install  scirun only at the place from where it is to be accessed.
2) check for availability of tcl,tk package and both of same version.
3) cmake should be present.

Incorporating Fusion:-
1) First install Scirun as above
2) cd to Scirun directory
3) change current "src" directory to "src_old" and then untar the snap shot
present at http://www.sci.utah.edu/~allen/Fusion/SCIRun.tar.gz
4) change "bin" directory. Rename it to "bin_old" and create a new bin dir
5) mkdir bin
6) cd bin
7) cmake ../src
8) make

Error Resolving:
for our 32 vs 64 bit machine problem
edit the file Timer.cc and change line 172 from
static double cps = (double) sysconf(_SC_CLK_TCK);
to:
static double cps = (double) 1000;