[Insight-users] Building ITK with multiple cores

Bill Lorensen bill.lorensen at gmail.com
Tue Oct 20 14:56:55 EDT 2009


It should work. CMake should handle it, although I have seen
intermittent problems with the intel compiler on linux.

For the time being you can do:

make -k -j3;make -k -j3;make -k -j3;make -k -j3;

You can file a bug report, but this is a pretty low priority item.

Bill

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'?
>
> Thanks,
>
> David
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list