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

From KitwarePublic
Jump to navigationJump to search
No edit summary
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Steps of running modular ITK (internal Kitware only)


1. Download the supporting modularITK repo: git@kwsource.kiwarein.com:itk/modularITK.git.
*Run the scripts of modularization:
This repo contains cmake packing files of each module as they pass the build.
Utility modules (including their source codes) such as image IO modules (itk-jpeg, itk-meta, itk-png, itk-nrrd ...)
are also put into the repo as they compile.


2. 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 scripts are located in the monolithic/current ITK repository under dir "Modularization"
the list of the source codes that are moved from monolithic ITK to modularized ITK.


3. Configure and build modular ITK.
Run the script customRun.sh with the input parameter of the output directory name of the modularized ITK:
Go to the bin dir and do:
  cd  <ITK_SOURCE_DIR>/Modularization
  ccmake  (only itk-common module is turned on by default, other modules are off)
  ./customRun.sh  <HeadOfModuarITKTree>
  make
 
                                       
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.


                                      Status table:


{| border="1"
|- bgcolor="#abcdef"
*Configure and build modular ITK.
! Module !!  Built src (static) !! Built test (static) !! Built src (shared) !! Build test(shared) !! Install
  cd  <path to bin>/bin/modularITK
|-
  ccmake  <HeadOfModuarITKTree> (choose to build certain modules by turning their BUILD options ON)
| itk-base ||  X || --
  make
|-
                                       
| itk-sys ||  X || --
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:
| itk-vnl ||  X || --
    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.
| 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 ||  || --
|-
| 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-biorad ||X  ||
|-
| itk-io-bmp ||X  ||
|-
| itk-io-ge ||X  ||
|-
| itk-io-ipl  ||X  ||
|-
| itk-io-gipl
  ||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.