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

From KitwarePublic
Jump to navigationJump to search
No edit summary
 
(23 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 ...)
Run the script customRun.sh with the input parameter of the output directory name of the modularized ITK:
are also put into the repo as they compile.
  cd  <ITK_SOURCE_DIR>/Modularization
  ./customRun.sh  <HeadOfModuarITKTree>


*2. Run the scripts of modularization to fill in the modularITK with source codes.
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.


The scripts are located in the monolithic/current ITK repository under dir "Modularization"
cd monolithic/ITK/Root/Modularization/
vim ./customRun.sh [edit two directory variables accordingly: HeadOfMonolithicITKTree  HeadOfModuarITKTree]
./customRun.sh  [will copy source files over to HeadOfModuarITKTree dir according to Manifest.txt]


*3. Configure and build modular ITK.
 
*Configure and build modular ITK.
Go to your modularITK bin dir and do:
  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 ||  || --
|-
| 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-vtk||X  ||
|-
| itk-io-transform||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.