Ask Your Question

Install of Develop freezes my computer

asked 2024-06-18 09:12:49 +0200

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

edit retag flag offensive close merge delete


Lowering thé number of threads ?

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2024-06-18 10:43:41 +0200 )edit

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 ( 2024-06-18 13:10:35 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2024-06-22 18:50:40 +0200

Matthias Köppe gravatar image


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.

edit flag offensive delete link more

answered 2024-06-22 15:24:45 +0200

kyouren gravatar image

updated 2024-06-22 15:26:50 +0200

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'

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools


Asked: 2024-06-18 09:12:49 +0200

Seen: 140 times

Last updated: Jun 22