[Insight-users] problem with threaded generate.
iamrndm b
arindam.osu.cse at gmail.com
Sun Sep 11 03:26:34 EDT 2011
hi all ,
i am trying to develop a multithreaded filter and keep getting the following
error
UpdateCTestConfiguration from
:/Users/arindambhattacharya/Research/code/git_itk/itk_bin/Modules/Nonunit/Review/test/DartConfiguration.tcl
UpdateCTestConfiguration from
:/Users/arindambhattacharya/Research/code/git_itk/itk_bin/Modules/Nonunit/Review/test/DartConfiguration.tcl
Test project
/Users/arindambhattacharya/Research/code/git_itk/itk_bin/Modules/Nonunit/Review/test
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
test 18
Start 18: itkDiceImageFilterTest01
18: Test command: Research/code/git_itk/itk_bin/bin/ITKReviewTestDriver
itkDiceImageFilterTest
Research/code/git_itk/ITK/Testing/Data/Input/itkDiceImageFilterInputA.jpg
Research/code/git_itk/ITK/Testing/Data/Input/itkDiceImageFilterInputB.jpg
18: Test timeout computed to be: 9.99988e+06
18: ITK test driver caught an ITK exception:
18:
18: itk::ExceptionObject (0x101ef4fd0)
18: Location: "void itk::MultiThreader::SingleMethodExecute()"
18: File:
Research/code/git_itk/ITK/Modules/Core/Common/src/itkMultiThreader.cxx
18: Line: 319
18: Description: itk::ERROR: MultiThreader(0x102039000): Exception occurred
during SingleMethodExecute
18:
Research/code/git_itk/ITK/Modules/Core/Common/include/itkImageSource.hxx:294:
18: itk::ERROR: itkDiceImageFilter(0x101ef48a0): Subclass should override
this method!!!
18: The signature of ThreadedGenerateData() has been changed in ITK v4 to
use the new ThreadIdType.
18: itkDiceImageFilter::ThreadedGenerateData() might need to be updated to
used it.
18:
1/1 Test #18: itkDiceImageFilterTest01 .........***Failed 0.08 sec
0% tests passed, 1 tests failed out of 1
Label Time Summary:
ITKReview = 0.08 sec
Total Test time (real) = 0.16 sec
The following tests FAILED:
18 - itkDiceImageFilterTest01 (Failed)
Errors while running CTest
I am not quite sure what i am doing wrong , i have added the .h and .hxx
files .
any ideas/help will be appreciated
thanks
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110911/888feb44/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkDiceImageFilter.h
Type: text/x-chdr
Size: 2623 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110911/888feb44/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkDiceImageFilter.hxx
Type: application/octet-stream
Size: 3608 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110911/888feb44/attachment.obj>
More information about the Insight-users
mailing list