Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too much Resources for Compilation #166

Open
defencedog opened this issue Mar 7, 2025 · 1 comment
Open

Too much Resources for Compilation #166

defencedog opened this issue Mar 7, 2025 · 1 comment

Comments

@defencedog
Copy link

I am compiling on aarch64 with 8GB RAM & x8 core CPU ...it's pretty solid machine.

If you go through make logs compilation may be spawns too many child processes that machine halts & breaks compilation

[ 56%] Building CXX object CMakeFiles/teqpcpp.dir/interface /CPP/model_factory_GERG.cpp.o

I used both gcc-11 & gcc-13 ... clang-19 throws error!

Secondly is it possible to skip catch2 compilation altogether as I already have this in system any -DCmake flag? It will save a great deal of time utilized in generating

[ 54%] Linking CXX static library libCatch2.a [ 54%] Built target Catch2

ukhan_config.txt
ukhan_make.txt

@ibell
Copy link
Collaborator

ibell commented Mar 7, 2025

8 GB of RAM is not close to enough for teqp. You need at min 16 GB, 32 GB is better. At minimum, you need to ensure that only one core is used for the build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants