[Insight-users] Building ITK with multiple cores
John Drescher
drescherjm at gmail.com
Tue Oct 20 14:48:45 EDT 2009
On Tue, Oct 20, 2009 at 2:45 PM, David Doria <daviddoria+itk at gmail.com> wrote:
> Typically I build big projects with
> make -j3
>
> to utilize my dual core machine for the build process.
>
> I tried building ITK today and I got this error:
>
> Linking CXX static library ../../../../bin/libitkvnl.a
> [ 32%] Built target itkvnl
> make: *** [all] Error 2
>
> where 'make' in a single thread worked just fine. I'm sure it is a
> problem with something like "B depends on A so A must be built first"
> - is there a way to specify these dependencies in the cmake file? Or
> what (if anything) is typically done to allow these multi-thread
> builds? Or do you guys just recommend not doing this and simply using
> 'make'?
>
I have successfully built itk using 8 cores, 4 local and 4 icecream
guest cores. Although that was with 3.12 I believe.
John
More information about the Insight-users
mailing list