Hi Andrąs
It's the easiest but not the best way to do it, as you would be loading the bedpostx samples multiple times instead of sharing memory between processes.
The harder (but still not so hard) way is to use some sort of shared-memory multiprocessing (such as OpenMP), but you would need to do a bit of c++ programing...
Note that we are aiming to do exactly this in the not so distant future :)
Saad.
On 31 Jan 2012, at 08:36, Andrįs Jakab MD wrote:
> Dear FSL experts,
>
> Multi-core (8-12) systems are extremely cheap and widespread. I created a script that performs probtrackx in parallel, with the -P (--nsamples) divided by the number of cores, i.e. 5000/8 and then summing the resulting fdt_paths or seed_to_target images. Is this the correct way to perform this optimization?
>
> Thank you.
> Andrįs
--
Saad Jbabdi
University of Oxford, FMRIB Centre
JR Hospital, Headington, OX3 9DU, UK
(+44)1865-222466 (fax 717)
www.fmrib.ox.ac.uk/~saad
|