ITK/Release 4/Modularization/Status: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
 
(17 intermediate revisions by one other user not shown)
Line 1: Line 1:
Steps of running modular ITK (internal Kitware only)


Utility modules such as image IO modules (itk-jpeg, itk-meta, itk-png, itk-nrrd ...)
*Run the scripts of modularization:
are also put into the repo as they compile.


*Run the scripts of modularization to fill in the modularITK with source codes.
The scripts are located in the monolithic/current ITK repository:<ITK_SOURCE_DIR>/Modularization. The "Manifest.txt" in this directory contains
the list of the source codes that are moved from monolithic ITK to modularized ITK.


The scripts are located in the monolithic/current ITK repository:
Run the script customRun.sh with the input parameter of the output directory name of the modularized ITK:
  <ITK_SOURCE_DIR>/Modularization/
  cd <ITK_SOURCE_DIR>/Modularization
  ./customRun.sh  <HeadOfModuarITKTree>


First edit "./customRun.sh" to configure two directory paths: <HeadOfMonolithicITKTree>  and <HeadOfModuarITKTree>.
The script will first download the supporting modules and cmake packaging files from the [[modularITKSupport repository]] to <HeadOfModuarITKTree>, and then copy source files from the monolithic ITK to <HeadOfModuarITKTree> according to the manifest file (Manifest.txt). After running the scripts, <HeadOfModuarITKTree> contains the modularized ITK.
 
./customRun.sh  will first download supporting modules and cmake packaging files from modularITKSupport repository to <HeadOfModuarITKTree>, and then copy source files from <HeadOfMonolithicITKTree> to <HeadOfModuarITKTree> according to Manifest.txt (located in the same directory). After running the scripts, <HeadOfModuarITKTree> contains the modularized ITK.
 
 
The modularITKSupport repository is located at:
  git://www.kitware.com/itk/modularITKSupport.git




   
   
*Configure and build modular ITK.
*Configure and build modular ITK.
Go to the  bin directory:
  cd  <path to bin>/bin/modularITK
ccmake  (only itk-common module is turned on by default, other modules are off)
  ccmake  <HeadOfModuarITKTree>  (choose to build certain modules by turning their BUILD options ON)
make
  make
                                          
                                          
 
Altogether there are about 90 modules in total (not including examples and reviews).
Status table:
Currently itk-common's tests are up and running on the Dashboard on several different platforms:
 
    http://www.cdash.org/CDash/index.php?project=Insight#ITKv4_Modularization
{| border="1"
As we add more tests to modules we will turn those modules on for the dashboard.
|- bgcolor="#abcdef"
! Module !!  Built src (static) !!  Built test (static) !! Built src (shared) !! Build test(shared) !! Install
|-
| itk-base ||  X || --
|-
| itk-sys ||  X || --
|-
| itk-vnl ||  X || --
|-
| itk-vnl-install ||  X || --
|-
| itk-common ||  X ||
|-
| itk-zlib || X|| --
|-
| itk-jpeg || X|| --
|-
| itk-io-jpeg || X|| -
|-
| itk-meta || X|| --
|-
| itk-io-meta || X|| --
|-
| itk-nifti || X|| --
|-
| itk-io-nifti || X || --
|-
| itk-nrrd || X|| --
|-
| itk-io-nrrd || X|| --
|-
| itk-png || X|| --
|-
| itk-tiff || X|| --
|-
| itk-io-tiff ||X  ||
|-
| itk-io-analyze ||X  ||
|-
| itk-io-lsm ||X  ||
|-
| itk-io-stimulate ||X  ||
|-
| itk-io-biorad ||X  ||
|-
| itk-io-bmp ||X  ||
|-
| itk-io-ge ||X  ||
|-
| itk-io-ipl  ||X  ||
|-
| itk-io-gipl||X  ||
|-
| itk-io-vtk||X  ||
|-
| itk-transform||X  ||
|-
| itk-io-transform||X  ||
|-
| itk-spatial-objects||X  ||
|-
| itk-io-spatialobjects||X  ||
|-
| itk-xml||X  ||
|-
| itk-expat||X  ||
|-
| itk-gdcm||X  ||
|-
| itk-io-gdcm||X  ||
|-
| itk-io-interface||X  ||
|-
| itk-io-common ||  ||
|-
|}

Latest revision as of 16:00, 9 December 2011

  • Run the scripts of modularization:

The scripts are located in the monolithic/current ITK repository:<ITK_SOURCE_DIR>/Modularization. The "Manifest.txt" in this directory contains the list of the source codes that are moved from monolithic ITK to modularized ITK.

Run the script customRun.sh with the input parameter of the output directory name of the modularized ITK:

 cd  <ITK_SOURCE_DIR>/Modularization
 ./customRun.sh  <HeadOfModuarITKTree>

The script will first download the supporting modules and cmake packaging files from the modularITKSupport repository to <HeadOfModuarITKTree>, and then copy source files from the monolithic ITK to <HeadOfModuarITKTree> according to the manifest file (Manifest.txt). After running the scripts, <HeadOfModuarITKTree> contains the modularized ITK.


  • Configure and build modular ITK.
 cd   <path to bin>/bin/modularITK
 ccmake   <HeadOfModuarITKTree>  (choose to build certain modules by turning their BUILD options ON)
 make
                                        

Altogether there are about 90 modules in total (not including examples and reviews). Currently itk-common's tests are up and running on the Dashboard on several different platforms:

   http://www.cdash.org/CDash/index.php?project=Insight#ITKv4_Modularization

As we add more tests to modules we will turn those modules on for the dashboard.