← Back to team overview

yade-users team mailing list archive

Re: [Question #263553]: compilation of a new model

 

Question #263553 on Yade changed:
https://answers.launchpad.net/yade/+question/263553

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi,
1. Yes it is necessary. Depending on RAM and number of cores you can speedup compilation with 
cmake -DCHUNKSIZE=[N] #with N>1
and
make -jM  #with M>1
Yesterday I tried N=30 and M=24, it took not more than 5min

2. Not really, unfortunately (N>1 will actually make this one slower
eventually). Make sure you have binutils-gold installed, it makes link
edition faster. The compilation time is due to boost/python things. One
way to make everything faster is to write your code in plain c++ in a
file that does not include all the yade stuff, then link the object
code. Not very practical though.

Bruno

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.