[Insight-users] Linux Cluster Threading Problem

Christof Seiler christof.seiler at gmail.com
Fri May 1 07:59:28 EDT 2009


Hi all,

I am trying to run some ITK code on a linux cluster at my university and I
get the following exception:

terminate called after throwing an instance of 'itk::ExceptionObject'
  what():
/home/ubelix/artorg/cseiler/tmp/InsightToolkit-3.10.2/Code/Common/itkMultiThreader.cxx:475:
itk::ERROR: MultiThreader(0x12a1c50): Exception occurred during
SingleMethodExecute
/home/ubelix/artorg/cseiler/tmp/InsightToolkit-3.10.2/Code/Common/itkMultiThreader.cxx:901:
itk::ERROR: MultiThreader(0x12a1c50): Unable to join thread.
/var/spool/sge/anode16/job_scripts/9909286: line 23: 30063
Aborted                 (core dumped) ./cvsampler
../data/DVF/femur-l-Segmented/ ../data/reference/Reference-Classified-SLICES
2 3

I tried setting the number of threads to one:
itk::MultiThreader::SetGlobalDefaultNumberOfThreads(1);

But still get the same exception. The cluster runs on Sun Grid Engine (SGE).
Everything works fine when I start the program in a non-cluster environment.

Any ideas would be very much appreciated.

Regards,
Christof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090501/5f59ac06/attachment.htm>


More information about the Insight-users mailing list