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

From KitwarePublic
Jump to navigationJump to search
No edit summary
 
(28 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:  
*Run the scripts of modularization:
git clone git@kwsource.kiwarein.com:itk/modularITK.git


This repo contains all the cmake packing files of each module as they pass the build.
The scripts are located in the monolithic/current ITK repository:<ITK_SOURCE_DIR>/Modularization. The "Manifest.txt" in this directory contains
The actual source codes of the modules are going to be copied from monolithic ITK during the
the list of the source codes that are moved from monolithic ITK to modularized ITK.
following step 2. Utility modules 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.
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 scripts are located in the monolithic/current ITK repository under dir "Modularization"
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.
cd monolithic/ITK/Root/Modularization/
vim ./customRun.sh  to  modify two directory variables:  HeadOfMonolithicITKTree  HeadOfModuarITKTree
./customRun.sh


3. Configure and build modular ITK.


Go to the bin dir and do:
ccmake  (only itk-common module is turned on by default, other modules are off)
*Configure and build modular ITK.
make
  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).
                                      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 ||  || --
|-
| 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.