First time here? Check out the FAQ!

Ask Your Question
0

Install of Develop freezes my computer

asked 0 years ago

kyouren gravatar image

I have successfully built Sage_10_2 and Sage_10_3 on my computer. I have also successfully built Develop before as well. However, in the last week, I have not been able to build Develop.

The build goes for about 3 hours, and the computer then stops.

I use the sensors program every few minutes and it appears that the heat recorded goes up a bit too much, and everything stops. The screen freezes and the date and time freezes.

Has anyone else experienced similar problems?

thanks, Kevin

Preview: (hide)

Comments

Lowering thé number of threads ?

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 0 years ago )

I used: MAKE="make -j2" make > /media/kevin/AMY_BLUE/all_make_Develop_2024_06_18.txt 2>&1 hoping it would cut down the threads, however, there is 12 cpus, and it seemed to be using about 9 of the 12. To do the releases, I use -j4, -j8 does not work, but the releases do not freeze. The release makes only take one hour. The System Monitor showed a huge number of threads, that were not finished. I think those threads would simply go away when the build actually finished.

kyouren gravatar imagekyouren ( 0 years ago )

2 Answers

Sort by » oldest newest most voted
0

answered 0 years ago

Matthias Köppe gravatar image

Per https://github.com/sagemath/sage/blob...:

For example, the MAKE environment variable controls whether to run several jobs in parallel. On a machine with 4 processors, say, typing export MAKE="make -j4" will configure the build script to perform a parallel compilation of Sage using 4 jobs.

Preview: (hide)
link
0

answered 0 years ago

kyouren gravatar image

updated 0 years ago

Finally found the answer:

Instead of make -j4, simply remove the -j option, so just make. Checked the Make book from 2004, p.43, Chapter 5, 5.3 Parallel Execution

127,000 lines of output, no freeze up.

make[2]: Leaving directory '/mnt/extra_data/Sage/Develop/sage/build/make' Sage build/upgrade complete! real 173m38.671s user 226m18.537s sys 9m37.969s make[1]: Leaving directory '/mnt/extra_data/Sage/Develop/sage'

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 0 years ago

Seen: 214 times

Last updated: Jun 22 '24