Difference between revisions of "Building on Fedora Core 7-Current"

From NAMIC Wiki
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
WORK IN PROGRESS,CURRENTLY BUILDS, BUT DOES NOT FIND CORRECT OPENGL DRIVERS
+
WORK IN PROGRESS,CURRENTLY BUILDS, BUT DOES NOT FIND CORRECT OPENGL DRIVERS.  The error I get when I try to open a OPENGL dependent net on the [[FedoraCore7_SCIRUN_ERRORS]] page.
  
 
These are the current build instructions for the Fedora Core 7 SPL machines, as of August 2007.  Follow these links for more on the [http://www.sci.utah.edu/cibc/ CIBC] and the [http://www.sci.utah.edu/ Scientific Computing Institute in Utah].
 
These are the current build instructions for the Fedora Core 7 SPL machines, as of August 2007.  Follow these links for more on the [http://www.sci.utah.edu/cibc/ CIBC] and the [http://www.sci.utah.edu/ Scientific Computing Institute in Utah].
Line 12: Line 12:
  
 
For more general 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:
Line 17: Line 18:
 
  '''./build.sh -jx'''
 
  '''./build.sh -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.
+
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.
  
  

Latest revision as of 16:19, 16 August 2007

Home < Building on Fedora Core 7-Current

WORK IN PROGRESS,CURRENTLY BUILDS, BUT DOES NOT FIND CORRECT OPENGL DRIVERS. The error I get when I try to open a OPENGL dependent net on the FedoraCore7_SCIRUN_ERRORS page.

These are the current build instructions for the Fedora Core 7 SPL machines, as of August 2007. Follow these links for more on the CIBC and the Scientific Computing Institute in Utah.

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 -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.


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 use ccmake to turn it on. cd to the trunk/SCIRun/bin directory and 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 on the SPL machine build of Fedora as per this discussion for Fedora 5. We are currently working on a workaround for Fedora 7 with Livna NVIDIA drivers. If you are on another OS/machine it might already be setup correctly and you will not need this step.