<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.na-mic.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mjolley</id>
	<title>NAMIC Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.na-mic.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mjolley"/>
	<link rel="alternate" type="text/html" href="https://www.na-mic.org/wiki/Special:Contributions/Mjolley"/>
	<updated>2026-05-22T18:24:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=36070</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=36070"/>
		<updated>2009-04-06T03:53:52Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: /* Building SCIRun on an SPL Machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are the current build instructions for the Fedora Core 5 and Fedora Core 7 SPL machines.&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk/SCIRun&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 cd to SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory.&lt;br /&gt;
&lt;br /&gt;
You may run into this problem repeatedly and should check prior to running SCIRun.  To check it, as per discussion above, you can do the following:&lt;br /&gt;
&lt;br /&gt;
For example SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)'''&lt;br /&gt;
&lt;br /&gt;
In contrast SCIRun gets pointed to the wrong, non-hardware accelleration drivers here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)'''&lt;br /&gt;
&lt;br /&gt;
Usually if the above script has been run you can get back to the correct drivers by:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
and then rechecking whether the correct drivers are being utilized.  It is a good idea to check this before starting SCIRun.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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].&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=NA-MIC_Childrens_Collaboration&amp;diff=33277</id>
		<title>NA-MIC Childrens Collaboration</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=NA-MIC_Childrens_Collaboration&amp;diff=33277"/>
		<updated>2008-12-11T04:22:12Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[NA-MIC_External_Collaborations]]&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|[[Image:smallkidcxr.png| 200px]]   [[Image:27y-leftabdcan-T6SQ-voltage-withheart4.png | 200px]] &lt;br /&gt;
|-&lt;br /&gt;
|[[Image:27y-leftabdcan-T6SQ-current4.png| 200px]]   [[Image:27y-leftabdcan-T6SQ-heart-cut3.png| 200px]] &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
Placement of  Implantable Cardiac Defibrillators(ICDs)is a unique and challenging problem for children due to the variety of shapes and sizes, ranging from neonate to adolescent.  As a result, a variety of novel implant techniques have been employed.  Although these have generally been successful inasmuch as they result in a clinically acceptable defibrillation threshold, nothing is known about the mechanisms by which this threshold is attained, the optimal geometries for defibrillation, and whether unsafe electric field strengths are a result of novel implant approaches.  Finite element modeling has been shown in adult torso models to correlate well with clinical results.  Our goal is to model defibrillation in child torso models to gain insight into this important problem.  We are also interested in developing new orientations in adults with the goal of lowering DFTs and providing options in patients with contraindications to standard techniques.&lt;br /&gt;
&lt;br /&gt;
= Participants =&lt;br /&gt;
===Stanford===&lt;br /&gt;
Matthew Jolley, Anne Dubin, Paul Wang&lt;br /&gt;
===Children's Hospital Boston===&lt;br /&gt;
John Triedman, Frank Cecchin&lt;br /&gt;
===Scientific Computing Institute, Utah===&lt;br /&gt;
Jeroen Stinstra, Rob Macleod&lt;br /&gt;
===SPL===&lt;br /&gt;
Steve Pieper, Kilian Pohl&lt;br /&gt;
===NorthEastern University===&lt;br /&gt;
Dana Brooks&lt;br /&gt;
&lt;br /&gt;
= Goals of Project =&lt;br /&gt;
&lt;br /&gt;
==Segmentation==&lt;br /&gt;
&lt;br /&gt;
Segmentation is currently done using tools within the open source tools 3D Slicer and Seg3D.  We are actively working with members of SCI and SPL on developing automated segmentation techniques for torso and cardiac modeling.  In the future we would like to integrate DT-MRI fiber structure into our cardiac models.&lt;br /&gt;
&lt;br /&gt;
==Modeling==&lt;br /&gt;
&lt;br /&gt;
We have worked with members of the SCI Institute in Utah to develop a modeling framework within their SCIRun package which allows rapid placement of realistic electrodes within finite element models of adult and child torsos.  All tools to do so are available open source to download from the SCI website.  We continue to improve this platform, integrating new technology and insight as we progress.&lt;br /&gt;
  &lt;br /&gt;
==Understanding Defibrillation==&lt;br /&gt;
Ultimately this project is part of a larger goal of understanding defibrillation as a therapy.  Members of the group are also working with members of John Hopkins to further this goal.&lt;br /&gt;
&lt;br /&gt;
= Building and Running SCIRun on SPL Machines =&lt;br /&gt;
[[SCRun on SPL Machines]]&lt;br /&gt;
&lt;br /&gt;
=== Citations ===&lt;br /&gt;
&lt;br /&gt;
1. Jolley M, Stinstra J, Weinstein D, et al. Open-Source Environment for Interactive Finite Element Modeling of Optimal ICD Electrode Placement Functional Imaging and Modeling of the Heart, Lecture Notes in Computer Science. Berlin/Heidelberg: Springer, 2007:373-382.  &lt;br /&gt;
&lt;br /&gt;
2. Jolley M, Stinstra J, Weinsten D, et al. Finite Element Modeling of Novel Defibrillation Approaches in Children and Adult Heart Rhythm Society. Denver, Colorado, 2007. &lt;br /&gt;
&lt;br /&gt;
3. Jolley M, Triedman J, Westin CF, et al. Image based modeling of defibrillation in children. Conf Proc IEEE Eng Med Biol Soc 2006;1:2564-7. &lt;br /&gt;
&lt;br /&gt;
4. Stinstra JG, Jolley M, Callahan M, et al. Evaluation of different meshing algorithms in the computation of defibrillator thresholds in children. Conf Proc IEEE Eng Med Biol Soc 2007;1:1422-5. &lt;br /&gt;
&lt;br /&gt;
5. Matthew Jolley, Jeroen Stinstra, Steve Pieper, Rob MacLeod, Dana H. Brooks, Frank Cecchin, John K. Triedman  A Computer Modeling Tool for Comparing Novel ICD Electrode Orientations in Children and Adults. Heart Rhythm. 2008 Apr;5(4):565-572.&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=21577</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=21577"/>
		<updated>2008-01-28T19:31:47Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: /* Building SCIRun on an SPL Machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Problems and Solutions on SPL Machine Blog]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are the current build instructions for the Fedora Core 5 and Fedora Core 7 SPL machines.&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk/SCIRun&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 cd to SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory.&lt;br /&gt;
&lt;br /&gt;
You may run into this problem repeatedly and should check prior to running SCIRun.  To check it, as per discussion above, you can do the following:&lt;br /&gt;
&lt;br /&gt;
For example SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)'''&lt;br /&gt;
&lt;br /&gt;
In contrast SCIRun gets pointed to the wrong, non-hardware accelleration drivers here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)'''&lt;br /&gt;
&lt;br /&gt;
Usually if the above script has been run you can get back to the correct drivers by:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
and then rechecking whether the correct drivers are being utilized.  It is a good idea to check this before starting SCIRun.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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].&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=21576</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=21576"/>
		<updated>2008-01-28T19:30:31Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: /* Building SCIRun on an SPL Machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Problems and Solutions on SPL Machine Blog]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are the current build instructions for the Fedora Core 5 and Fedora Core 7 SPL machines.&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk/SCIRun&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
  '''cd to SCIRun/bin:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory.&lt;br /&gt;
&lt;br /&gt;
You may run into this problem repeatedly and should check prior to running SCIRun.  To check it, as per discussion above, you can do the following:&lt;br /&gt;
&lt;br /&gt;
For example SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)'''&lt;br /&gt;
&lt;br /&gt;
In contrast SCIRun gets pointed to the wrong, non-hardware accelleration drivers here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)'''&lt;br /&gt;
&lt;br /&gt;
Usually if the above script has been run you can get back to the correct drivers by:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
and then rechecking whether the correct drivers are being utilized.  It is a good idea to check this before starting SCIRun.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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].&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=21575</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=21575"/>
		<updated>2008-01-28T19:29:05Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: /* Building SCIRun on an SPL Machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Problems and Solutions on SPL Machine Blog]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are the current build instructions for the Fedora Core 5 and Fedora Core 7 SPL machines.&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk/SCIRun&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 cd to SCIRun/bin:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory.&lt;br /&gt;
&lt;br /&gt;
You may run into this problem repeatedly and should check prior to running SCIRun.  To check it, as per discussion above, you can do the following:&lt;br /&gt;
&lt;br /&gt;
For example SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)'''&lt;br /&gt;
&lt;br /&gt;
In contrast SCIRun gets pointed to the wrong, non-hardware accelleration drivers here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)'''&lt;br /&gt;
&lt;br /&gt;
Usually if the above script has been run you can get back to the correct drivers by:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
and then rechecking whether the correct drivers are being utilized.  It is a good idea to check this before starting SCIRun.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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].&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=21574</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=21574"/>
		<updated>2008-01-28T19:26:35Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: /* Building SCIRun on an SPL Machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Problems and Solutions on SPL Machine Blog]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are the current build instructions for the Fedora Core 5 and Fedora Core 7 SPL machines.&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk/SCIRun&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory.&lt;br /&gt;
&lt;br /&gt;
You may run into this problem repeatedly and should check prior to running SCIRun.  To check it, as per discussion above, you can do the following:&lt;br /&gt;
&lt;br /&gt;
For example SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)'''&lt;br /&gt;
&lt;br /&gt;
In contrast SCIRun gets pointed to the wrong, non-hardware accelleration drivers here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)'''&lt;br /&gt;
&lt;br /&gt;
Usually if the above script has been run you can get back to the correct drivers by:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
and then rechecking whether the correct drivers are being utilized.  It is a good idea to check this before starting SCIRun.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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].&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=21573</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=21573"/>
		<updated>2008-01-28T19:21:40Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: /* Building SCIRun on an SPL Machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Problems and Solutions on SPL Machine Blog]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are the current build instructions for the Fedora Core 5 and Fedora Core 7 SPL machines.&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory.&lt;br /&gt;
&lt;br /&gt;
You may run into this problem repeatedly and should check prior to running SCIRun.  To check it, as per discussion above, you can do the following:&lt;br /&gt;
&lt;br /&gt;
For example SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)'''&lt;br /&gt;
&lt;br /&gt;
In contrast SCIRun gets pointed to the wrong, non-hardware accelleration drivers here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)'''&lt;br /&gt;
&lt;br /&gt;
Usually if the above script has been run you can get back to the correct drivers by:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
and then rechecking whether the correct drivers are being utilized.  It is a good idea to check this before starting SCIRun.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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].&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=21572</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=21572"/>
		<updated>2008-01-28T19:20:29Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: /* Building SCIRun on an SPL Machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Problems and Solutions on SPL Machine Blog]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are the current build instructions for the Fedora Core 5 and Fedora Core 7 SPL machines.&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory.&lt;br /&gt;
&lt;br /&gt;
You may run into this problem repeatedly and should check prior to running SCIRun.  To check it, as per discussion above, you can do the following:&lt;br /&gt;
&lt;br /&gt;
For example SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)'''&lt;br /&gt;
&lt;br /&gt;
In contrast SCIRun gets pointed to the correct drivers here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)'''&lt;br /&gt;
&lt;br /&gt;
Usually if the above script has been run you can get back to the correct drivers by:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
and then rechecking whether the correct drivers are being utilized.  It is a good idea to check this before starting SCIRun.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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].&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=21571</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=21571"/>
		<updated>2008-01-28T19:20:09Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: /* Building SCIRun on an SPL Machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Problems and Solutions on SPL Machine Blog:Current Threadsafety Issue]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are the current build instructions for the Fedora Core 5 and Fedora Core 7 SPL machines.&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory.&lt;br /&gt;
&lt;br /&gt;
You may run into this problem repeatedly and should check prior to running SCIRun.  To check it, as per discussion above, you can do the following:&lt;br /&gt;
&lt;br /&gt;
For example SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)'''&lt;br /&gt;
&lt;br /&gt;
In contrast SCIRun gets pointed to the correct drivers here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)'''&lt;br /&gt;
&lt;br /&gt;
Usually if the above script has been run you can get back to the correct drivers by:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
and then rechecking whether the correct drivers are being utilized.  It is a good idea to check this before starting SCIRun.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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].&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=21570</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=21570"/>
		<updated>2008-01-28T19:19:46Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: /* Building SCIRun on an SPL Machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Problems and Solutions on SPL Machine Blog]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are the current build instructions for the Fedora Core 5 and Fedora Core 7 SPL machines.&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory.&lt;br /&gt;
&lt;br /&gt;
You may run into this problem repeatedly and should check prior to running SCIRun.  To check it, as per discussion above, you can do the following:&lt;br /&gt;
&lt;br /&gt;
For example SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)'''&lt;br /&gt;
&lt;br /&gt;
In contrast SCIRun gets pointed to the correct drivers here:&lt;br /&gt;
&lt;br /&gt;
    '''spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)'''&lt;br /&gt;
&lt;br /&gt;
Usually if the above script has been run you can get back to the correct drivers by:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
and then rechecking whether the correct drivers are being utilized.  It is a good idea to check this before starting SCIRun.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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].&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=21569</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=21569"/>
		<updated>2008-01-28T19:14:08Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: /* Current Problems on Debugging for SCIRun on SPL Machines */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Jan 08:  There are currently no SPL specific problems with SCIRun on SPL machines.  There is a more general bug in SCIRun related to questionably threadsafe code, specifically DLOpen calls which are primarily in the dynamic compilation portion of SCIRun.  These show up often on the fat nodes.  Jeroen is working to eliminate dynamic compilation, and eliminate these bugs which manifest more frequently  and randomly with large networks and multicore machines which &amp;quot;stress&amp;quot; the thread safety of code.  If you are using SCIRun and running into these bugs please let him know.&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=NA-MIC_Childrens_Collaboration&amp;diff=21455</id>
		<title>NA-MIC Childrens Collaboration</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=NA-MIC_Childrens_Collaboration&amp;diff=21455"/>
		<updated>2008-01-23T09:21:11Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: /* Citations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[NA-MIC_External_Collaborations]]&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|[[Image:smallkidcxr.png| 200px]]   [[Image:27y-leftabdcan-T6SQ-voltage-withheart4.png | 200px]] &lt;br /&gt;
|-&lt;br /&gt;
|[[Image:27y-leftabdcan-T6SQ-current4.png| 200px]]   [[Image:27y-leftabdcan-T6SQ-heart-cut3.png| 200px]] &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
Placement of  Implantable Cardiac Defibrillators(ICDs)is a unique and challenging problem for children due to the variety of shapes and sizes, ranging from neonate to adolescent.  As a result, a variety of novel implant techniques have been employed.  Although these have generally been successful inasmuch as they result in a clinically acceptable defibrillation threshold, nothing is known about the mechanisms by which this threshold is attained, the optimal geometries for defibrillation, and whether unsafe electric field strengths are a result of novel implant approaches.  Finite element modeling has been shown in adult torso models to correlate well with clinical results.  Our goal is to model defibrillation in child torso models to gain insight into this important problem.  We are also interested in developing new orientations in adults with the goal of lowering DFTs and providing options in patients with contraindications to standard techniques.&lt;br /&gt;
&lt;br /&gt;
=== Goals of Project ===&lt;br /&gt;
&lt;br /&gt;
1.  Create 3D models of children based on CT and MRI datasets for modeling internal and external defibrillation in the SCIRun environment.  The processes required address the larger question of how to take any CT or MRI DICOM dataset, segment it into various label maps, combine those label maps in a hierarchical manner, then import and utilize them in the SCIRun/BioPSE environment.  This represents part of an expanding collaboration between [http://www.sci.utah.edu/ SCI] and [http://splweb.bwh.harvard.edu:8000/ SPL] to integrate open source tools to allow creation, visualization, and computational modeling of image based 3D models.  &lt;br /&gt;
&lt;br /&gt;
2.  Create modules which allow insertion of electrode shapes into finite element models in in the SCIRun environment.&lt;br /&gt;
&lt;br /&gt;
3.  Utilize the above innovations to model the placement of internal defibrillator electrodes to maximize efficacy, minimize potential cardiac damage, and gain further insight into optimizing defibrillation in children of various sizes as shown above.&lt;br /&gt;
&lt;br /&gt;
=== Slicer and SPL Tools in the Project ===&lt;br /&gt;
&lt;br /&gt;
[[Outline of Torso Segmentation Problem]]&lt;br /&gt;
&lt;br /&gt;
[[Segmentation Tools Currently Utilized]]&lt;br /&gt;
&lt;br /&gt;
[[Tools In Development and Wishlist]]&lt;br /&gt;
&lt;br /&gt;
=== Building and Running SCIRun on SPL Machines ===&lt;br /&gt;
[[SCRun on SPL Machines]]&lt;br /&gt;
&lt;br /&gt;
=== Citations ===&lt;br /&gt;
&lt;br /&gt;
1. Jolley M, Stinstra J, Weinstein D, et al. Open-Source Environment for Interactive Finite Element Modeling of Optimal ICD Electrode Placement Functional Imaging and Modeling of the Heart, Lecture Notes in Computer Science. Berlin/Heidelberg: Springer, 2007:373-382.  &lt;br /&gt;
&lt;br /&gt;
2. Jolley M, Stinstra J, Weinsten D, et al. Finite Element Modeling of Novel Defibrillation Approaches in Children and Adult Heart Rhythm Society. Denver, Colorado, 2007. &lt;br /&gt;
&lt;br /&gt;
3. Jolley M, Triedman J, Westin CF, et al. Image based modeling of defibrillation in children. Conf Proc IEEE Eng Med Biol Soc 2006;1:2564-7. &lt;br /&gt;
&lt;br /&gt;
4. Stinstra JG, Jolley M, Callahan M, et al. Evaluation of different meshing algorithms in the computation of defibrillation thresholds in children. Conf Proc IEEE Eng Med Biol Soc 2007;1:1422-5. &lt;br /&gt;
&lt;br /&gt;
5.  A Computer Modeling Tool for Comparing Novel ICD Electrode Orientations in Children and Adults. In Press Accepted Manuscript for Heart Rhythm, Available online 18 January 2008, http://www.heartrhythmjournal.com/inpress&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=NA-MIC_Childrens_Collaboration&amp;diff=21454</id>
		<title>NA-MIC Childrens Collaboration</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=NA-MIC_Childrens_Collaboration&amp;diff=21454"/>
		<updated>2008-01-23T09:20:06Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: /* Building and Running SCIRun on SPL Machines */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[NA-MIC_External_Collaborations]]&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|[[Image:smallkidcxr.png| 200px]]   [[Image:27y-leftabdcan-T6SQ-voltage-withheart4.png | 200px]] &lt;br /&gt;
|-&lt;br /&gt;
|[[Image:27y-leftabdcan-T6SQ-current4.png| 200px]]   [[Image:27y-leftabdcan-T6SQ-heart-cut3.png| 200px]] &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
Placement of  Implantable Cardiac Defibrillators(ICDs)is a unique and challenging problem for children due to the variety of shapes and sizes, ranging from neonate to adolescent.  As a result, a variety of novel implant techniques have been employed.  Although these have generally been successful inasmuch as they result in a clinically acceptable defibrillation threshold, nothing is known about the mechanisms by which this threshold is attained, the optimal geometries for defibrillation, and whether unsafe electric field strengths are a result of novel implant approaches.  Finite element modeling has been shown in adult torso models to correlate well with clinical results.  Our goal is to model defibrillation in child torso models to gain insight into this important problem.  We are also interested in developing new orientations in adults with the goal of lowering DFTs and providing options in patients with contraindications to standard techniques.&lt;br /&gt;
&lt;br /&gt;
=== Goals of Project ===&lt;br /&gt;
&lt;br /&gt;
1.  Create 3D models of children based on CT and MRI datasets for modeling internal and external defibrillation in the SCIRun environment.  The processes required address the larger question of how to take any CT or MRI DICOM dataset, segment it into various label maps, combine those label maps in a hierarchical manner, then import and utilize them in the SCIRun/BioPSE environment.  This represents part of an expanding collaboration between [http://www.sci.utah.edu/ SCI] and [http://splweb.bwh.harvard.edu:8000/ SPL] to integrate open source tools to allow creation, visualization, and computational modeling of image based 3D models.  &lt;br /&gt;
&lt;br /&gt;
2.  Create modules which allow insertion of electrode shapes into finite element models in in the SCIRun environment.&lt;br /&gt;
&lt;br /&gt;
3.  Utilize the above innovations to model the placement of internal defibrillator electrodes to maximize efficacy, minimize potential cardiac damage, and gain further insight into optimizing defibrillation in children of various sizes as shown above.&lt;br /&gt;
&lt;br /&gt;
=== Slicer and SPL Tools in the Project ===&lt;br /&gt;
&lt;br /&gt;
[[Outline of Torso Segmentation Problem]]&lt;br /&gt;
&lt;br /&gt;
[[Segmentation Tools Currently Utilized]]&lt;br /&gt;
&lt;br /&gt;
[[Tools In Development and Wishlist]]&lt;br /&gt;
&lt;br /&gt;
=== Building and Running SCIRun on SPL Machines ===&lt;br /&gt;
[[SCRun on SPL Machines]]&lt;br /&gt;
&lt;br /&gt;
=== Citations ===&lt;br /&gt;
&lt;br /&gt;
1. Jolley M, Stinstra J, Weinstein D, et al. Open-Source Environment for Interactive Finite Element Modeling of Optimal ICD Electrode Placement Functional Imaging and Modeling of the Heart, Lecture Notes in Computer Science. Berlin/Heidelberg: Springer, 2007:373-382.  (Paper)&lt;br /&gt;
2. Jolley M, Stinstra J, Weinsten D, et al. Finite Element Modeling of Novel Defibrillation Approaches in Children and Adult Heart Rhythm Society. Denver, Colorado, 2007. (Abstract Oral Presentation)&lt;br /&gt;
3. Jolley M, Triedman J, Westin CF, et al. Image based modeling of defibrillation in children. Conf Proc IEEE Eng Med Biol Soc 2006;1:2564-7. (Paper and Presentation)&lt;br /&gt;
4. Stinstra JG, Jolley M, Callahan M, et al. Evaluation of different meshing algorithms in the computation of defibrillation thresholds in children. Conf Proc IEEE Eng Med Biol Soc 2007;1:1422-5. (Paper and Presentation)&lt;br /&gt;
5.  A Computer Modeling Tool for Comparing Novel ICD Electrode Orientations in Children and Adults. In Press Accepted Manuscript for Heart Rhythm, Available online 18 January 2008,&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=15568</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=15568"/>
		<updated>2007-09-17T21:47:36Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: /* Building SCIRun on an SPL Machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Problems and Solutions on SPL Machine Blog]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are the current build instructions for the Fedora Core 5 and Fedora Core 7 SPL machines.&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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].&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14758</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14758"/>
		<updated>2007-08-22T00:32:04Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
To summarize:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;correct GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
run script&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;wrong GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
This still didn't seem to do it so we put in the following line in the script:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;/tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;unset LD_LIBRARY_PATH&amp;quot; &amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;&amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
And the above behavior with it switching back to the MESA drivers appears to have stopped, but the script still always hangs at JoinField within the first three bundles run in the net by the script.  I went back and confirmed this set of .bdl files run without errors on my ubuntu machine and in the manual nets on the SPL machine.  So it must be an environmental variable.  It typically hangs in the first, second, or third run in Scripts on the SPL machines always at the same position.  I am not sure what is up as there is not a good error message:&lt;br /&gt;
&lt;br /&gt;
[[Image:VNCscreenshot.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the output in the command line script window:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley% bash&lt;br /&gt;
bash-3.2$ export PATH=$PATH:/workspace/mjolley/Modeling/trunk/SCIRun/bin&lt;br /&gt;
bash-3.2$ ./SCIRun_Scripts/run_all.sh /projects/cardio/Clinical-HClean/ /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
ldd: ./scirun: No such file or directory&lt;br /&gt;
Parsed .scirunrc... /home/mjolley/.scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: Compiling: ArrayObjectFieldDataScalarAlgoTMergeFieldsAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;lt;&amp;gt;&lt;br /&gt;
GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,NoDataBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526061_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525968_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526092_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525999_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then SCIRun hangs...&lt;br /&gt;
&lt;br /&gt;
I checked and all the bundles in GetFieldsFromBundle are defined, it just won't run the JoinField.  We tried changing with .bdl file it started with and then it would run the second one which it would not run before (now first), but not the third one (previously second).  So the environment changes in between runs and it is not a problem with the bundles.  The same bundles run fine on a ubuntu machine.  We set up the script to report what OpenGL drivers it is using and it is using the correct ones after we set things up.   There is some environmental variable that changes between the first and the second run that prevents the script from running correctly.  All the manual nets run the bundles without difficulty on the SPL machines.&lt;br /&gt;
&lt;br /&gt;
[[Image:VNC2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Mjolley|Mjolley]] 11:51, 21 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14754</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14754"/>
		<updated>2007-08-21T19:14:05Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: /* Current Problems on Debugging for SCIRun on SPL Machines */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
To summarize:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;correct GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
run script&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;wrong GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
This still didn't seem to do it so we put in the following line in the script:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;/tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;unset LD_LIBRARY_PATH&amp;quot; &amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;&amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
And the above behavior with it switching back to the MESA drivers appears to have stopped, but the script still always hangs at JoinField within the first three bundles run in the net by the script.  I went back and confirmed this set of .bdl files run without errors on my ubuntu machine and in the manual nets on the SPL machine.  So it must be an environmental variable.  It typically hangs in the first, second, or third run in Scripts on the SPL machines always at the same position.  I am not sure what is up as there is not a good error message:&lt;br /&gt;
&lt;br /&gt;
[[Image:VNCscreenshot.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the output in the command line script window:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley% bash&lt;br /&gt;
bash-3.2$ export PATH=$PATH:/workspace/mjolley/Modeling/trunk/SCIRun/bin&lt;br /&gt;
bash-3.2$ ./SCIRun_Scripts/run_all.sh /projects/cardio/Clinical-HClean/ /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
ldd: ./scirun: No such file or directory&lt;br /&gt;
Parsed .scirunrc... /home/mjolley/.scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: Compiling: ArrayObjectFieldDataScalarAlgoTMergeFieldsAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;lt;&amp;gt;&lt;br /&gt;
GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,NoDataBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526061_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525968_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526092_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525999_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then SCIRun hangs...&lt;br /&gt;
&lt;br /&gt;
In comparison on my ubuntu machine it is not nearly as verbose regarding compilation etc running the same script...&lt;br /&gt;
&lt;br /&gt;
mj@mj-quad-desktop:~$ SCIRun_Scripts/run_all.sh Clinical-HClean/ Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
Parsed .scirunrc... .scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = /home/mj/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
Creating /home/mj/Results/Clinical/mj-21-Aug/&lt;br /&gt;
Creating /home/mj/Results/Clinical/mj-21-Aug/&lt;br /&gt;
Creating /home/mj/Results/Clinical/mj-21-Aug/&lt;br /&gt;
saving file: /home/mj/Results/Clinical/mj-21-Aug/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix-10y-Left-abd-can+10cm-right-parasternal-T4-top-P1-500-0.txt&lt;br /&gt;
Parsed .scirunrc... .scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = /home/mj/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
scirun&amp;gt; loading file: Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T6-top.bdl&lt;br /&gt;
loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
saving file: /home/mj/Results/Clinical/mj-21-Aug/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix-10y-Left-abd-can+10cm-right-parasternal-T6-top-P1-500-0.txt&lt;br /&gt;
saving file: /home/mj/Results/Clinical/mj-21-Aug/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix-10y-Left-abd-can+10cm-right-parasternal-T6-top-P1-500-0.db.txt&lt;br /&gt;
saving file: /home/mj/Results/Clinical/mj-21-Aug/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix-10y-Left-abd-can+10cm-right-parasternal-T6-top-P1-500-0.bdl&lt;br /&gt;
Parsed .scirunrc... .scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = /home/mj/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And everything runs fine...&lt;br /&gt;
&lt;br /&gt;
I checked and all the bundles in GetFieldsFromBundle are Defined, it just won't run the JoinField.  Is there some environmental variable that is not set and does not allow this to run?  &lt;br /&gt;
&lt;br /&gt;
[[Image:VNC2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Mjolley|Mjolley]] 11:51, 21 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=File:VNC2.png&amp;diff=14753</id>
		<title>File:VNC2.png</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=File:VNC2.png&amp;diff=14753"/>
		<updated>2007-08-21T19:13:17Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14752</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14752"/>
		<updated>2007-08-21T19:12:20Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
To summarize:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;correct GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
run script&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;wrong GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
This still didn't seem to do it so we put in the following line in the script:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;/tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;unset LD_LIBRARY_PATH&amp;quot; &amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;&amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
And the above behavior with it switching back to the MESA drivers appears to have stopped, but the script still always hangs at JoinField within the first three bundles run in the net by the script.  I went back and confirmed this set of .bdl files run without errors on my ubuntu machine and in the manual nets on the SPL machine.  So it must be an environmental variable.  It typically hangs in the first, second, or third run in Scripts on the SPL machines always at the same position.  I am not sure what is up as there is not a good error message:&lt;br /&gt;
&lt;br /&gt;
[[Image:VNCscreenshot.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the output in the command line script window:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley% bash&lt;br /&gt;
bash-3.2$ export PATH=$PATH:/workspace/mjolley/Modeling/trunk/SCIRun/bin&lt;br /&gt;
bash-3.2$ ./SCIRun_Scripts/run_all.sh /projects/cardio/Clinical-HClean/ /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
ldd: ./scirun: No such file or directory&lt;br /&gt;
Parsed .scirunrc... /home/mjolley/.scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: Compiling: ArrayObjectFieldDataScalarAlgoTMergeFieldsAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;lt;&amp;gt;&lt;br /&gt;
GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,NoDataBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526061_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525968_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526092_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525999_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then SCIRun hangs...&lt;br /&gt;
&lt;br /&gt;
In comparison on my ubuntu machine it is not nearly as verbose regarding compilation etc running the same script...&lt;br /&gt;
&lt;br /&gt;
mj@mj-quad-desktop:~$ SCIRun_Scripts/run_all.sh Clinical-HClean/ Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
Parsed .scirunrc... .scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = /home/mj/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
Creating /home/mj/Results/Clinical/mj-21-Aug/&lt;br /&gt;
Creating /home/mj/Results/Clinical/mj-21-Aug/&lt;br /&gt;
Creating /home/mj/Results/Clinical/mj-21-Aug/&lt;br /&gt;
saving file: /home/mj/Results/Clinical/mj-21-Aug/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix-10y-Left-abd-can+10cm-right-parasternal-T4-top-P1-500-0.txt&lt;br /&gt;
Parsed .scirunrc... .scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = /home/mj/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
scirun&amp;gt; loading file: Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T6-top.bdl&lt;br /&gt;
loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
saving file: /home/mj/Results/Clinical/mj-21-Aug/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix-10y-Left-abd-can+10cm-right-parasternal-T6-top-P1-500-0.txt&lt;br /&gt;
saving file: /home/mj/Results/Clinical/mj-21-Aug/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix-10y-Left-abd-can+10cm-right-parasternal-T6-top-P1-500-0.db.txt&lt;br /&gt;
saving file: /home/mj/Results/Clinical/mj-21-Aug/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix-10y-Left-abd-can+10cm-right-parasternal-T6-top-P1-500-0.bdl&lt;br /&gt;
Parsed .scirunrc... .scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = /home/mj/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And everything runs fine...&lt;br /&gt;
&lt;br /&gt;
I checked and all the bundles in GetFieldsFromBundle are Defined, it just won't run the JoinField.  Is there some environmental variable that is not set and does not allow this to run?  &lt;br /&gt;
[[Image:VNC2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Mjolley|Mjolley]] 11:51, 21 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14750</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14750"/>
		<updated>2007-08-21T19:00:16Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: /* Current Problems on Debugging for SCIRun on SPL Machines */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
To summarize:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;correct GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
run script&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;wrong GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
This still didn't seem to do it so we put in the following line in the script:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;/tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;unset LD_LIBRARY_PATH&amp;quot; &amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;&amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
And the above behavior with it switching back to the MESA drivers appears to have stopped, but the script still always hangs at JoinField within the first three bundles run in the net by the script.  I went back and confirmed this set of .bdl files run without errors on my ubuntu machine and in the manual nets on the SPL machine.  So it must be an environmental variable.  It typically hangs in the first, second, or third run in Scripts on the SPL machines always at the same position.  I am not sure what is up as there is not a good error message:&lt;br /&gt;
&lt;br /&gt;
[[Image:VNCscreenshot.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the output in the command line script window:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley% bash&lt;br /&gt;
bash-3.2$ export PATH=$PATH:/workspace/mjolley/Modeling/trunk/SCIRun/bin&lt;br /&gt;
bash-3.2$ ./SCIRun_Scripts/run_all.sh /projects/cardio/Clinical-HClean/ /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
ldd: ./scirun: No such file or directory&lt;br /&gt;
Parsed .scirunrc... /home/mjolley/.scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: Compiling: ArrayObjectFieldDataScalarAlgoTMergeFieldsAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;lt;&amp;gt;&lt;br /&gt;
GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,NoDataBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526061_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525968_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526092_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525999_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then SCIRun hangs...&lt;br /&gt;
&lt;br /&gt;
In comparison on my ubuntu machine it is not nearly as verbose regarding compilation etc running the same script...&lt;br /&gt;
&lt;br /&gt;
mj@mj-quad-desktop:~$ SCIRun_Scripts/run_all.sh Clinical-HClean/ Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
Parsed .scirunrc... .scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = /home/mj/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
Creating /home/mj/Results/Clinical/mj-21-Aug/&lt;br /&gt;
Creating /home/mj/Results/Clinical/mj-21-Aug/&lt;br /&gt;
Creating /home/mj/Results/Clinical/mj-21-Aug/&lt;br /&gt;
saving file: /home/mj/Results/Clinical/mj-21-Aug/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix-10y-Left-abd-can+10cm-right-parasternal-T4-top-P1-500-0.txt&lt;br /&gt;
Parsed .scirunrc... .scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = /home/mj/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
scirun&amp;gt; loading file: Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T6-top.bdl&lt;br /&gt;
loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
saving file: /home/mj/Results/Clinical/mj-21-Aug/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix-10y-Left-abd-can+10cm-right-parasternal-T6-top-P1-500-0.txt&lt;br /&gt;
saving file: /home/mj/Results/Clinical/mj-21-Aug/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix-10y-Left-abd-can+10cm-right-parasternal-T6-top-P1-500-0.db.txt&lt;br /&gt;
saving file: /home/mj/Results/Clinical/mj-21-Aug/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix-10y-Left-abd-can+10cm-right-parasternal-T6-top-P1-500-0.bdl&lt;br /&gt;
Parsed .scirunrc... .scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = /home/mj/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And everything runs fine...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Mjolley|Mjolley]] 11:51, 21 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14748</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14748"/>
		<updated>2007-08-21T18:53:23Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: /* Current Problems on Debugging for SCIRun on SPL Machines */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
To summarize:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;correct GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
run script&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;wrong GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
This still didn't seem to do it so we put in the following line in the script:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;/tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;unset LD_LIBRARY_PATH&amp;quot; &amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;&amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
And the above behavior with it switching back to the MESA drivers appears to have stopped, but the script still always hangs at JoinField within the first three bundles run in the net by the script.  I went back and confirmed this set of .bdl files run without errors on my ubuntu machine and in the manual nets on the SPL machine.  So it must be an environmental variable.  It typically hangs in the first, second, or third run in Scripts on the SPL machines always at the same position.  I am not sure what is up as there is not a good error message:&lt;br /&gt;
&lt;br /&gt;
[[Image:VNCscreenshot.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the output in the command line script window:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley% bash&lt;br /&gt;
bash-3.2$ export PATH=$PATH:/workspace/mjolley/Modeling/trunk/SCIRun/bin&lt;br /&gt;
bash-3.2$ ./SCIRun_Scripts/run_all.sh /projects/cardio/Clinical-HClean/ /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
ldd: ./scirun: No such file or directory&lt;br /&gt;
Parsed .scirunrc... /home/mjolley/.scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: Compiling: ArrayObjectFieldDataScalarAlgoTMergeFieldsAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;lt;&amp;gt;&lt;br /&gt;
GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,NoDataBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526061_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525968_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526092_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525999_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then SCIRun hangs...&lt;br /&gt;
&lt;br /&gt;
In comparison on my ubuntu machine it is not nearly as verbose regarding compilation etc running the same script...&lt;br /&gt;
&lt;br /&gt;
mj@mj-quad-desktop:~$ SCIRun_Scripts/run_all.sh Clinical-HClean/ Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
Parsed .scirunrc... .scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
NETFILE = /home/mj/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+25cm-sc-left-T10back.bdl&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
filename=SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And everything runs fine...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Mjolley|Mjolley]] 11:51, 21 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14633</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14633"/>
		<updated>2007-08-21T15:55:05Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
To summarize:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;correct GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
run script&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;wrong GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
This still didn't seem to do it so we put in the following line in the script:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;/tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;unset LD_LIBRARY_PATH&amp;quot; &amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;&amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
And the above behavior with it switching back to the MESA drivers appears to have stopped, but the script still always hangs at JoinField within the first three bundles run in the net by the script.  I went back and confirmed this set of .bdl files run without errors on my ubuntu machine and in the manual nets on the SPL machine.  So it must be an environmental variable.  It typically hangs in the first, second, or third run in Scripts on the SPL machines always at the same position.  I am not sure what is up as there is not a good error message:&lt;br /&gt;
&lt;br /&gt;
[[Image:VNCscreenshot.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the output in the command line script window:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley% bash&lt;br /&gt;
bash-3.2$ export PATH=$PATH:/workspace/mjolley/Modeling/trunk/SCIRun/bin&lt;br /&gt;
bash-3.2$ ./SCIRun_Scripts/run_all.sh /projects/cardio/Clinical-HClean/ /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
ldd: ./scirun: No such file or directory&lt;br /&gt;
Parsed .scirunrc... /home/mjolley/.scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: Compiling: ArrayObjectFieldDataScalarAlgoTMergeFieldsAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;lt;&amp;gt;&lt;br /&gt;
GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,NoDataBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526061_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525968_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526092_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525999_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then SCIRun hangs...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Mjolley|Mjolley]] 11:51, 21 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14631</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14631"/>
		<updated>2007-08-21T15:51:15Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
To summarize:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;correct GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
run script&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;wrong GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
This still didn't seem to do it so we put in the following line in the script:&lt;br /&gt;
&lt;br /&gt;
create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;/tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;unset LD_LIBRARY_PATH&amp;quot; &amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;&amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
And the above behavior with it switching back to the MESA drivers appears to have stopped, but the script still always hangs at JoinField within the first three bundles run in the net by the script.  I went back and confirmed this set of .bdl files run without errors on my ubuntu machine and in the manual nets on the SPL machine.  So it must be an environmental variable.  It typically hangs in the first, second, or third run in Scripts on the SPL machines always at the same position.  I am not sure what is up as there is not a good error message:&lt;br /&gt;
&lt;br /&gt;
[[Image:VNCscreenshot.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the output in the command line script window:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley% bash&lt;br /&gt;
bash-3.2$ export PATH=$PATH:/workspace/mjolley/Modeling/trunk/SCIRun/bin&lt;br /&gt;
bash-3.2$ ./SCIRun_Scripts/run_all.sh /projects/cardio/Clinical-HClean/ /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
ldd: ./scirun: No such file or directory&lt;br /&gt;
Parsed .scirunrc... /home/mjolley/.scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: Compiling: ArrayObjectFieldDataScalarAlgoTMergeFieldsAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;lt;&amp;gt;&lt;br /&gt;
GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,NoDataBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526061_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525968_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526092_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525999_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then SCIRun hangs...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Mjolley|Mjolley]] 11:51, 21 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14610</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14610"/>
		<updated>2007-08-21T07:34:01Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
To summarize:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;correct GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
run script&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;wrong GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
This still didn't seem to do it so we put in the following line in the script:&lt;br /&gt;
&lt;br /&gt;
create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;/tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;unset LD_LIBRARY_PATH&amp;quot; &amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;&amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
And the above behavior with it switching back to the MESA drivers appears to have stopped, but the script still always hangs at JoinField in when the third net is run.  I went back and confirming this set of .bdl files runs on my ubuntu machine and in the manual nets on the SPL machine.  It typically hangs in the first, second, or third run in Scripts on the SPL machines always at the same position.  I am not sure what is up as there is not a good error message:&lt;br /&gt;
&lt;br /&gt;
[[Image:VNCscreenshot.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the output in the command line script window:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley% bash&lt;br /&gt;
bash-3.2$ export PATH=$PATH:/workspace/mjolley/Modeling/trunk/SCIRun/bin&lt;br /&gt;
bash-3.2$ ./SCIRun_Scripts/run_all.sh /projects/cardio/Clinical-HClean/ /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
ldd: ./scirun: No such file or directory&lt;br /&gt;
Parsed .scirunrc... /home/mjolley/.scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: Compiling: ArrayObjectFieldDataScalarAlgoTMergeFieldsAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;lt;&amp;gt;&lt;br /&gt;
GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,NoDataBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526061_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525968_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526092_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525999_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.--[[User:Mjolley|Mjolley]] 13:38, 20 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14609</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14609"/>
		<updated>2007-08-21T07:32:14Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
To summarize:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;correct GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
run script&lt;br /&gt;
&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;wrong GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
This still didn't seem to do it so we put in the following line in the script:&lt;br /&gt;
&lt;br /&gt;
create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;/tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;unset LD_LIBRARY_PATH&amp;quot; &amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;&amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
And the above behavior with it switching back to the MESA drivers appears to have stopped, but the script still always hangs at JoinField in when the third net is run:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That said it still will not run past the third net.  I am going back an confirming this set of .bdl files runs on my ubuntu machine and in the manual nets on the SPL machine.  It typically hangs in the first, second, or third run always at the same position:&lt;br /&gt;
&lt;br /&gt;
[[Image:VNCscreenshot.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the output in the command line script window:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley% bash&lt;br /&gt;
bash-3.2$ export PATH=$PATH:/workspace/mjolley/Modeling/trunk/SCIRun/bin&lt;br /&gt;
bash-3.2$ ./SCIRun_Scripts/run_all.sh /projects/cardio/Clinical-HClean/ /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
ldd: ./scirun: No such file or directory&lt;br /&gt;
Parsed .scirunrc... /home/mjolley/.scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: Compiling: ArrayObjectFieldDataScalarAlgoTMergeFieldsAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;lt;&amp;gt;&lt;br /&gt;
GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,NoDataBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526061_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525968_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526092_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525999_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.--[[User:Mjolley|Mjolley]] 13:38, 20 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=File:VNCscreenshot.png&amp;diff=14608</id>
		<title>File:VNCscreenshot.png</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=File:VNCscreenshot.png&amp;diff=14608"/>
		<updated>2007-08-21T07:28:24Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14607</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14607"/>
		<updated>2007-08-21T07:28:09Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
To summarize:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&amp;lt;correct GL is reported&amp;gt;&lt;br /&gt;
run script&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&amp;lt;wrong GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
This still didn't seem to do it so we put in the following line in the script:&lt;br /&gt;
&lt;br /&gt;
create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;/tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;unset LD_LIBRARY_PATH&amp;quot; &amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;&amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
And the above behavior with it switching back to the MESA drivers appears to have stopped, but the script still always hangs at JoinField in when the third net is run:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That said it still will not run past the third net.  I am going back an confirming this set of .bdl files runs on my ubuntu machine and in the manual nets on the SPL machine.  It typically hangs in the first, second, or third run always at the same position:&lt;br /&gt;
&lt;br /&gt;
[[Image:VNCscreenshot.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the output in the command line script window:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley% bash&lt;br /&gt;
bash-3.2$ export PATH=$PATH:/workspace/mjolley/Modeling/trunk/SCIRun/bin&lt;br /&gt;
bash-3.2$ ./SCIRun_Scripts/run_all.sh /projects/cardio/Clinical-HClean/ /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
ldd: ./scirun: No such file or directory&lt;br /&gt;
Parsed .scirunrc... /home/mjolley/.scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: Compiling: ArrayObjectFieldDataScalarAlgoTMergeFieldsAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;lt;&amp;gt;&lt;br /&gt;
GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,NoDataBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526061_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525968_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526092_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525999_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.--[[User:Mjolley|Mjolley]] 13:38, 20 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14606</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14606"/>
		<updated>2007-08-21T07:27:31Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
To summarize:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&amp;lt;correct GL is reported&amp;gt;&lt;br /&gt;
run script&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&amp;lt;wrong GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
This still didn't seem to do it so we put in the following line in the script:&lt;br /&gt;
&lt;br /&gt;
create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;/tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;unset LD_LIBRARY_PATH&amp;quot; &amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;&amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
And the above behavior with it switching back to the MESA drivers appears to have stopped, but the script still always hangs at JoinField in when the third net is run:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That said it still will not run past the third net.  I am going back an confirming this set of .bdl files runs on my ubuntu machine and in the manual nets on the SPL machine.  It typically hangs in the first, second, or third run always at the same position:&lt;br /&gt;
&lt;br /&gt;
[[Image:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the output in the command line script window:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley% bash&lt;br /&gt;
bash-3.2$ export PATH=$PATH:/workspace/mjolley/Modeling/trunk/SCIRun/bin&lt;br /&gt;
bash-3.2$ ./SCIRun_Scripts/run_all.sh /projects/cardio/Clinical-HClean/ /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
ldd: ./scirun: No such file or directory&lt;br /&gt;
Parsed .scirunrc... /home/mjolley/.scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: Compiling: ArrayObjectFieldDataScalarAlgoTMergeFieldsAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;lt;&amp;gt;&lt;br /&gt;
GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,NoDataBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526061_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525968_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526092_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525999_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.--[[User:Mjolley|Mjolley]] 13:38, 20 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14605</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14605"/>
		<updated>2007-08-21T07:27:07Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
To summarize:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&amp;lt;correct GL is reported&amp;gt;&lt;br /&gt;
run script&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&amp;lt;wrong GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
This still didn't seem to do it so we put in the following line in the script:&lt;br /&gt;
&lt;br /&gt;
create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;/tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;unset LD_LIBRARY_PATH&amp;quot; &amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;&amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
And the above behavior with it switching back to the MESA drivers appears to have stopped, but the script still always hangs at JoinField in when the third net is run:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That said it still will not run past the third net.  I am going back an confirming this set of .bdl files runs on my ubuntu machine and in the manual nets on the SPL machine.  It typically hangs in the first, second, or third run always at the same position:&lt;br /&gt;
&lt;br /&gt;
[Image:Screenshot-VNC:X11.png]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the output in the command line script window:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley% bash&lt;br /&gt;
bash-3.2$ export PATH=$PATH:/workspace/mjolley/Modeling/trunk/SCIRun/bin&lt;br /&gt;
bash-3.2$ ./SCIRun_Scripts/run_all.sh /projects/cardio/Clinical-HClean/ /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
ldd: ./scirun: No such file or directory&lt;br /&gt;
Parsed .scirunrc... /home/mjolley/.scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: Compiling: ArrayObjectFieldDataScalarAlgoTMergeFieldsAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;lt;&amp;gt;&lt;br /&gt;
GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,NoDataBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526061_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525968_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526092_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525999_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.--[[User:Mjolley|Mjolley]] 13:38, 20 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=File:Screenshot-VNC-X11.png&amp;diff=14604</id>
		<title>File:Screenshot-VNC-X11.png</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=File:Screenshot-VNC-X11.png&amp;diff=14604"/>
		<updated>2007-08-21T07:25:23Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14603</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14603"/>
		<updated>2007-08-21T07:24:43Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
To summarize:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&amp;lt;correct GL is reported&amp;gt;&lt;br /&gt;
run script&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&amp;lt;wrong GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
This still didn't seem to do it so we put in the following line in the script:&lt;br /&gt;
&lt;br /&gt;
create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;/tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;unset LD_LIBRARY_PATH&amp;quot; &amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;&amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
And the above behavior with it switching back to the MESA drivers appears to have stopped, but the script still always hangs at JoinField in when the third net is run:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That said it still will not run past the third net.  I am going back an confirming this set of .bdl files runs on my ubuntu machine and in the manual nets on the SPL machine.  It typically hangs in the first, second, or third run always at the same position:&lt;br /&gt;
&lt;br /&gt;
[[Image:Screenshot-VNC:X11.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the output in the command line script window:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley% bash&lt;br /&gt;
bash-3.2$ export PATH=$PATH:/workspace/mjolley/Modeling/trunk/SCIRun/bin&lt;br /&gt;
bash-3.2$ ./SCIRun_Scripts/run_all.sh /projects/cardio/Clinical-HClean/ /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn Results/Clinical&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/2ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
cat: /tmp/idx1: No such file or directory&lt;br /&gt;
cat: /tmp/idx2: No such file or directory&lt;br /&gt;
cat: /tmp/idx3: No such file or directory&lt;br /&gt;
cat: /tmp/idx4: No such file or directory&lt;br /&gt;
ls: cannot access /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//Four/*.bdl: No such file or directory&lt;br /&gt;
ldd: ./scirun: No such file or directory&lt;br /&gt;
Parsed .scirunrc... /home/mjolley/.scirunrc&lt;br /&gt;
Loading Tcl,Tk,tk, Itcl,Itk,Blt,Widgets&lt;br /&gt;
loading scirun network file: /projects/cardio/Clinical-HClean/SCIRun_Nets/Script2_FEM/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix.srn&lt;br /&gt;
scirun&amp;gt; loading file: SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
loading file: /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldCreateAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double &amp;gt;,vector&amp;lt;double &amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: Compiling: ArrayObjectFieldDataScalarAlgoTMergeFieldsAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;lt;&amp;gt;&lt;br /&gt;
GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,NoDataBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldDataScalarAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldLocationElemAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; &amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ArrayObjectFieldElemVolumeAlgoT&amp;lt;GenericField&amp;lt;TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ,ConstantBasis&amp;lt;double&amp;gt; ,vector&amp;lt;double&amp;gt; &amp;gt; ,TetVolMesh&amp;lt;TetLinearLgn&amp;lt;Point&amp;gt; &amp;gt; ::Cell&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526061_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525968_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586526092_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
Compiling: ALGOArrayEngine_1586525999_LCELID_FS&amp;lt;double&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.--[[User:Mjolley|Mjolley]] 13:38, 20 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14602</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14602"/>
		<updated>2007-08-21T07:18:11Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
To summarize:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&amp;lt;correct GL is reported&amp;gt;&lt;br /&gt;
run script&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&amp;lt;wrong GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
This still didn't seem to do it so we put in the following line in the script:&lt;br /&gt;
&lt;br /&gt;
create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;/tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;unset LD_LIBRARY_PATH&amp;quot; &amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;&amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
And the above behavior with it switching back to the MESA drivers appears to have stopped, but the script still always hangs at JoinField in when the third net is run:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That said it still will not run past the third net.  I am going back an confirming this set of .bdl files runs on my ubuntu machine and in the manual nets on the SPL machine.  Looking at ALL.log this is what it typically does, hangs on the first JoinField after loading the second or third .bdl, never on on the first:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SCIRUN: CREATED NEW NETWORK&lt;br /&gt;
SCHEDULER: START SCHEDULING&lt;br /&gt;
SCHEDULER: START SCHEDULING&lt;br /&gt;
REMARK(SCIRun_DataIO_ReadBundle_0): loading file /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T4-top.bdl&lt;br /&gt;
REMARK(SCIRun_DataIO_ReadMatrix_0): loading file SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
REMARK(SCIRun_Math_SolveLinearSystem_0): Done in 98.1578 seconds.&lt;br /&gt;
REMARK(SCIRun_Math_SolveLinearSystem_0): Conjugate Gradient done in 98.1578 seconds.&lt;br /&gt;
REMARK(SCIRun_DataIO_WriteString_0): saving file /workspace/mjolley/Results/Clinical/mjolley-21-Aug/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix-10y-Left-abd-can+10cm-right-parasternal-T4-top-P1-500-0.txt&lt;br /&gt;
REMARK(SCIRun_DataIO_WriteString_1): saving file /workspace/mjolley/Results/Clinical/mjolley-21-Aug/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix-10y-Left-abd-can+10cm-right-parasternal-T4-top-P1-500-0.db.txt&lt;br /&gt;
REMARK(SCIRun_DataIO_WriteBundle_0): saving file /workspace/mjolley/Results/Clinical/mjolley-21-Aug/Script2-FE-refine-elec-dilate-5-100x100x150-all-cases-permut-matrix-10y-Left-abd-can+10cm-right-parasternal-T4-top-P1-500-0.bdl&lt;br /&gt;
SCIRUN: CREATED NEW NETWORK&lt;br /&gt;
SCHEDULER: START SCHEDULING&lt;br /&gt;
SCHEDULER: START SCHEDULING&lt;br /&gt;
REMARK(SCIRun_DataIO_ReadMatrix_0): loading file SCIRun_Scripts/Permutations/P1-500-0.mat&lt;br /&gt;
REMARK(SCIRun_DataIO_ReadBundle_0): loading file /projects/cardio/Clinical-HClean//Electrodes_Plus_Torso/10ybdls//One/10y-Left-abd-can+10cm-right-parasternal-T6-top.bdl&lt;br /&gt;
&lt;br /&gt;
It always hangs that this same position in the net with no error message or red box in the Module:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.--[[User:Mjolley|Mjolley]] 13:38, 20 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14601</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14601"/>
		<updated>2007-08-21T07:16:20Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
To summarize:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&amp;lt;correct GL is reported&amp;gt;&lt;br /&gt;
run script&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&amp;lt;wrong GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
This still didn't seem to do it so we put in the following line in the script:&lt;br /&gt;
&lt;br /&gt;
create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;/tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;unset LD_LIBRARY_PATH&amp;quot; &amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;&amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
And the above behavior with it switching back to the MESA drivers appears to have stopped, but the script still always hangs at JoinField in when the third net is run:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That said it still will not run past the third net.  I am going back an confirming this set of .bdl files runs on my ubuntu machine and in the manual nets on the SPL machine.  Looking at ALL.log this is what it typically does, hangs on the first JoinField after loading the second or third .bdl, never on on the first:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.--[[User:Mjolley|Mjolley]] 13:38, 20 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14600</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14600"/>
		<updated>2007-08-21T07:14:54Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
To summarize:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&amp;lt;correct GL is reported&amp;gt;&lt;br /&gt;
run script&lt;br /&gt;
ldd scirun | grep GL&lt;br /&gt;
&amp;lt;wrong GL is reported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
This still didn't seem to do it so we put in the following line in the script:&lt;br /&gt;
&lt;br /&gt;
create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;/tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 TO:&lt;br /&gt;
&lt;br /&gt;
 create_scirun_script() {&lt;br /&gt;
    echo &amp;quot;unset LD_LIBRARY_PATH&amp;quot; &amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    echo &amp;quot;scirun -E ${NETWORK} --logfile ALL.log&amp;quot; &amp;gt;&amp;gt; /tmp/script-fe.sh&lt;br /&gt;
    chmod 0770 /tmp/script-fe.sh&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
And the above behavior with it switching back to the MESA drivers appears to have stopped, but the script still always hangs at JoinField in when the third net is run:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That said it still will not run past the third net.  I am going back an confirming this set of .bdl files runs on my ubuntu machine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.--[[User:Mjolley|Mjolley]] 13:38, 20 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14500</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14500"/>
		<updated>2007-08-20T19:31:28Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I put:&lt;br /&gt;
&lt;br /&gt;
unset LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
into the first line of the script(run in bash) and into my .bashrc and I still have the same behavior where it switches back from the good OpenGL setup to the mesa drivers after initially being pointed to the correct ones.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.--[[User:Mjolley|Mjolley]] 13:38, 20 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14498</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14498"/>
		<updated>2007-08-20T17:38:55Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This did not occur previously with the Fedora 5, and it is unclear why it is doing so now.  Any ideas?  A new version of SCIRun is opened every time a new bundle is run in our script so it prohibits the use of scripts on SPL machines.  Is this a consequence of dynamic compilation, for example you have to run the script after everytime you do a new cmake and build, and it is building everytime it runs as well?  Does the dynamic compilation essentially reset things every time by rebuilding components of SCIRun?  Clearly this is over my head and input is appreciated.--[[User:Mjolley|Mjolley]] 13:38, 20 August 2007 (EDT)&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14497</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14497"/>
		<updated>2007-08-20T16:55:55Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This did not occur previously with the Fedora 5, and it is unclear why it is doing so now.  Any ideas?  A new version of SCIRun is opened every time a new bundle is run in our script so it prohibits the use of scripts on SPL machines.  Is this a consequence of dynamic compilation, for example you have to run the script after everytime you do a new cmake and build.  Does the dynamica compilation essentiall reset things every time by rebuilding components of SCIRun?&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14496</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14496"/>
		<updated>2007-08-20T16:53:17Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This did not occur previously with the Fedora 5, and it is unclear why it is doing so now.  Any ideas?  A new version of SCIRun is opened every time a run a script so it prohibits the use of scripts on SPL machines.&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14495</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14495"/>
		<updated>2007-08-20T16:49:16Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin%&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This did not occur previously with the Fedora 5, and it is unclear why it is doing so now.  Any ideas?  A new version of SCIRun is opened every time a run a script so it prohibits the use of scripts on SPL machines.&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14494</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14494"/>
		<updated>2007-08-20T16:49:02Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin%&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun runs as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin%&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This did not occur previously with the Fedora 5, and it is unclear why it is doing so now.  Any ideas?  A new version of SCIRun is opened every time a run a script so it prohibits the use of scripts on SPL machines.&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14493</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14493"/>
		<updated>2007-08-20T16:46:29Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin%&lt;br /&gt;
&lt;br /&gt;
When these drivers are recognized SCIRun rus as expected.  However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
After this, any OpenGL dependent modules crash upon opening.  If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin%&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This did not occur previously with the Fedora 5, and it is unclear why it is doing so now.  Any ideas?  A new version of SCIRun is opened every time a run a script so it prohibits the use of scripts on SPL machines.&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=14492</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=14492"/>
		<updated>2007-08-20T16:45:24Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Problems and Solutions on SPL Machine Blog]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are the current build instructions for the Fedora Core 5 and Fedora Core 7 SPL machines, as of August 2007.  Currently we are still having some problems with the recognition of the correct open GL drivers as discussed above.  &lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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].&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=14491</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=14491"/>
		<updated>2007-08-20T16:45:04Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Problems and Solutions on SPL Machine Blog]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are the current build instructions for the Fedora Core 5 and Fedora Core 7 SPL machines, as of August 2007.  Currently we are still having some problems with the recognition of the correct open GL drivers as discussed above.  &lt;br /&gt;
&lt;br /&gt;
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].&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14490</id>
		<title>Problems and Solutions on SPL Machine Blog</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Problems_and_Solutions_on_SPL_Machine_Blog&amp;diff=14490"/>
		<updated>2007-08-20T16:42:54Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Problems on Debugging for SCIRun on SPL Machines ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
With the install of Fedora 7 we have been having some problems, namely with the OpenGL driver recognition by SCIRun.&lt;br /&gt;
&lt;br /&gt;
For example when we utilize the tools on the previous page SCIRun gets pointed at the correct drivers as shown here:&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin%&lt;br /&gt;
&lt;br /&gt;
However, each time SCIRun is run it reverts back to the wrong drivers as evidenced here.&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/libGL.so.1 (0x0000003f84800000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
&lt;br /&gt;
If you repeat the steps &amp;quot;unsetenv&amp;quot; and run Dav's script again you get back to:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin% ldd scirun | grep GL&lt;br /&gt;
        libGL.so.1 =&amp;gt; /usr/lib64/nvidia/libGL.so.1 (0x0000003f8e200000)&lt;br /&gt;
        libGLU.so.1 =&amp;gt; /usr/lib64/libGLU.so.1 (0x000000360c200000)&lt;br /&gt;
        libGLcore.so.1 =&amp;gt; /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f80e00000)&lt;br /&gt;
spl_tm64_1:/workspace/mjolley/Modeling/trunk/SCIRun/bin%&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This did not occur previously with the Fedora 5, and it is unclear why it is doing so now.  Any ideas?  A new version of SCIRun is opened every time a run a script so it prohibits the use of scripts on SPL machines.&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=14489</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=14489"/>
		<updated>2007-08-20T16:37:45Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Problems and Solutions on SPL Machine Blog]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are the current build instructions for the Fedora Core 5 and 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].&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=14467</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=14467"/>
		<updated>2007-08-18T07:22:09Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
These are the current build instructions for the Fedora Core 5 and 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].&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=14466</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=14466"/>
		<updated>2007-08-18T07:21:16Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
These are the current build instructions for the Fedora Core 5 and 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].&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''unsetenv LD_LIBRARY_PATH&amp;quot; and your systems LD_LIBRARY_PATH'''&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=14463</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=14463"/>
		<updated>2007-08-17T06:31:35Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
These are the current build instructions for the Fedora Core 5 and 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].&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=14462</id>
		<title>SCRun on SPL Machines</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=SCRun_on_SPL_Machines&amp;diff=14462"/>
		<updated>2007-08-17T06:30:53Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building SCIRun on an SPL Machine ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
hese are the current build instructions for the Fedora Core 5 and 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].&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh -jx'''&lt;br /&gt;
&lt;br /&gt;
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 not 2.4.x then you can add --get-cmake and create a local version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using 2.4.x cmake/ccmake version on the SPL machines current you can type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using the version of ccmake created for SCIRun by build.sh with the --get-cmake option then from the /trunk/SCIRun/bin directory type the following:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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 this we utilize a script written in ksh so you need ksh installed on the system, which all SPL machines should have.  If you are on another OS/machine SCIRun might already be setup correctly with regards to OpenGL drivers and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Building_on_Fedora_Core_5-OLD&amp;diff=14461</id>
		<title>Building on Fedora Core 5-OLD</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Building_on_Fedora_Core_5-OLD&amp;diff=14461"/>
		<updated>2007-08-17T06:24:22Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are the current build instructions for the Fedora Core 5 and 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].&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh --get-cmake -jx'''&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using a local cmake/ccmake version you can instead type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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]].  If you are on another OS/machine it might already be setup correctly and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Building_on_Fedora_Core_5-OLD&amp;diff=14460</id>
		<title>Building on Fedora Core 5-OLD</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Building_on_Fedora_Core_5-OLD&amp;diff=14460"/>
		<updated>2007-08-17T06:22:23Z</updated>

		<summary type="html">&lt;p&gt;Mjolley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are the current build instructions for the Fedora Core 5 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].&lt;br /&gt;
&lt;br /&gt;
To obtain the working branch utilized in the collaboration you need subversion.  To obtain it:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/trunk&lt;br /&gt;
&lt;br /&gt;
If instead you want a standard release build you can check out one of the repositories listed [https://code.sci.utah.edu/svn/SCIRun/ here] such as:&lt;br /&gt;
&lt;br /&gt;
  svn co https://code.sci.utah.edu/svn/SCIRun/cibc/branches/3.0.x/SCIRun&lt;br /&gt;
&lt;br /&gt;
For more general information on SCIRun building visit the [http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:Installation SCIRun Installation Wiki]&lt;br /&gt;
&lt;br /&gt;
To build cd to trunk/SCIRun and run the build script:&lt;br /&gt;
&lt;br /&gt;
 '''./build.sh --get-cmake -jx'''&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
  '''../cmake/local/bin/ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
If you are using a local cmake/ccmake version you can instead type:&lt;br /&gt;
&lt;br /&gt;
  '''ccmake  ../src'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ccmakeforSCIRun.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this has occured it will put you back into the shell in /trunk/SCIRun/bin, then just make:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
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]].  If you are on another OS/machine it might already be setup correctly and you will not need this step.  For the SPL Fedora machines cd to the /trunk/SCIRun/bin directory type:&lt;br /&gt;
&lt;br /&gt;
  '''find . -name build.make | xargs ~dav/bin/updatefile.orig ~dav/changeit'''&lt;br /&gt;
&lt;br /&gt;
When this is completed you need to run make again in the /trunk/SCIRun/bin directory:&lt;br /&gt;
&lt;br /&gt;
 ''' make -jx'''&lt;br /&gt;
&lt;br /&gt;
You should now have a working version of SCIRun in your /trunk/SCIRun/bin directory&lt;/div&gt;</summary>
		<author><name>Mjolley</name></author>
		
	</entry>
</feed>