Difference between revisions of "SCRun on SPL Machines"
Line 1: | Line 1: | ||
− | |||
== Building SCIRun on an SPL Machine == | == Building SCIRun on an SPL Machine == | ||
Line 24: | Line 23: | ||
''' make -jx''' | ''' make -jx''' | ||
− | When this is completed you currently have to direct SCIRun to the the correct drivers as per this [[discussion]]. From the bin directory type: | + | 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''' | '''find . -name build.make | xargs ~dav/bin/updatefile ~dav/changeit''' | ||
− | When this is completed you need to run make again: | + | When this is completed you need to run make again in the /trunk/SCIRun/bin directory: |
''' make''' | ''' make''' | ||
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory | You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory |
Revision as of 21:35, 1 August 2007
Home < SCRun on SPL MachinesBuilding SCIRun on an SPL Machine
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
To build:
cd to trunk/SCIRun
./build.sh --get-cmake -jx
where x is the number of cores you have. The get cmake flag is necessary to build as SCIRun currently required cmake 2.4.x and the default on SPL is the previous version.
Once built you need to enable ModelCreation. From the /trunk/SCIRun/bin directory type:
../cmake/local/bin/ccmake ../src
Once in ccmake add ModelCreation to the list of packages, type c to configure and g to generate. 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