[Insight-users] parallelization

Bill Lorensen bill.lorensen at gmail.com
Fri Sep 4 15:46:57 EDT 2009


I just ran  MultiResImageRegistration1Test, changing:
metric->SetNumberOfSpatialSamples( 500000 );

to get a longer run time.

My system has 2 processors.

One processor time:
real	4m25.092s
user	4m23.396s
sys	0m0.276s

Two processor time:
real	3m11.220s
user	6m1.952s
sys	0m4.948s

Bill

On Fri, Sep 4, 2009 at 3:35 PM, Kevin H. Hobbs<hobbsk at ohiou.edu> wrote:
> On Sat, 2009-09-05 at 03:10 +1000, Mauro Maiorca wrote:
>> On Sat, Sep 5, 2009 at 1:58 AM, Bill Lorensen<bill.lorensen at gmail.com> wrote:
>> > Are you sure your HPC facility allows you to get more than one
>> > processor?
>>
>> 100% sure: I got a notification by mail, with the execution time + the
>> name of the processor/s who accomplished the task.
>>
>
> Are you sure you are getting one node with many processors and not many
> nodes with one processor?
>
>> > Have you tried a small example on a local machine with
>> > multiple processors?
>
> Did you tell the metric to use many threads?
>
> metric->RunMultiThreaded();
>
> http://www.insight-journal.org/browse/publication/172 page 6.
>
> Is this still required?
>
>


More information about the Insight-users mailing list