Difference between revisions of "SCRun on SPL Machines"

From NAMIC Wiki
Jump to: navigation, search
Line 12: Line 12:
 
   svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun
 
   svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun
  
For more generate information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]
+
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]
  
 
To build cd to trunk/SCIRun and run the build script:
 
To build cd to trunk/SCIRun and run the build script:

Revision as of 10:01, 2 August 2007

Home < SCRun on SPL Machines

Building SCIRun on an SPL Machine


These are the current build instructions for the Fedora Core 5 SPL machines, as of August 2007

To obtain the working branch utilized in the collaboration you need subversion. To obtain it:

 svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk

If instead you want a standard release build you can check out one of the repositories listed here such as:

 svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun

For more general information on SCIRun building visit the SCIRun Installation Wiki

To build cd to trunk/SCIRun and run the build script:

./build.sh --get-cmake -jx

where x is the number of cores you have. The get cmake option may be necessary to build as SCIRun currently requires cmake 2.4.x. If your cmake is 2.4.x then you can omit --get-cmake and utilize your local version.


For our current project we utilize the extra package ModelCreation. If you do not use this package you can skip this step. To enable ModelCreation by using the version of ccmake created for SCIRun by build.sh. From the /trunk/SCIRun/bin directory type the following if you needed to utilize the --get-cmake option:

 ../cmake/local/bin/ccmake  ../src

If you are using a local cmake/ccmake version you can instead type:

 ccmake  ../src


Once in ccmake add ModelCreation to the list of LOAD_PACKAGE. Arrow down to LOAD_PACKAGE and hit return to allow you to edit the listed packages. Once you have done this type c to configure and g to generate.


CcmakeforSCIRun.png


Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:

 make -jx

When this is completed you currently have to direct SCIRun to the the correct drivers as per this discussion. From the /trunk/SCIRun/bin directory type:

 find . -name build.make | xargs ~dav/bin/updatefile ~dav/changeit

When this is completed you need to run make again in the /trunk/SCIRun/bin directory:

 make

You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory