Comments (5)
Ninja is a) parallel by default, so you should not specify -j and b) quite a bit faster for incremental builds. There is no big difference when you build from scratch.
Finally, CI with 2 cores is not a situation where I would expect a big difference.
So, I don't think using ninja is very helpful to be used in candi. That said, it shouldn't be slower. :-)
from candi.
Thanks for your experience. Unfortunately I was only able to test it with the GitHub runners, which have only two cores.
When I think on an installation in parallel it might be a little bit dangerous to build the big packages trilinos/dealii with an unspecified number of cores on a laptop with usual amount of RAM? (My first laptop overheated using 4 cores + 16GB RAM).
from candi.
@bangerth Interesting, only heard about ninja but never used it. I tried a quick and dirty solution to build dealii with ninja for a wall time comparison. However, the make version was a bit faster, see https://github.com/gfcas/candi/actions/runs/1182195219. May it depend on the number of available CPUs building the project?
from candi.
Part of the high RAM requirements is trilinos and our current configuration, but yes, I understand your point.
One more reason not to use ninja then.
from candi.
Fair enough -- let's close it then. I think all of us with bigger machines use ninja primarily because it automatically figures out how many processes to use, and because it is much faster when only a few files have to be compiled. But you're right that neither of this is relevant here.
from candi.
Related Issues (20)
- M1 parmetis is broken HOT 3
- Intel Compiler and p4est
- SLEPc link failure HOT 2
- muelu compilation HOT 1
- cmake on a broken mirror HOT 3
- Want to turn into C99 model in building p4est HOT 2
- p4est on Apple Silicon HOT 1
- Linker issue on Xcode 15 and PETSc v 3.19 on macOS Sonoma(intel) HOT 1
- deal.II installation faliure on RHEL8
- Trilinos: Symbol(s) not found for architecture arm64 during Linking CXX shared library libteko.dylib HOT 2
- SVE(Scaler Vector Extension) HOT 1
- Intel compiler icpx 2024 takes a long time to compile deal.II with -O3 HOT 2
- Ubuntu 23.10 issues? HOT 1
- Error during installation of ASPECT using dealii 9.5.2 both in ARM64 and x86x64 HOT 1
- deal.ii version control HOT 1
- Mac Xcode installation instructions
- CANDI installation STRUCK HOT 1
- dealii build fails on Mac arm due to use of "unary_function" HOT 2
- Issue with Deactivated Packages in deal.II Build Process HOT 1
- Problems with Trilinos TPetra instantiations when using Intel MKL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from candi.