perhaps you are running too many complications in parallel, and that's why one of them errors out. As scipy uses ninja, check out ninja documentation on how to limit the number - that's a parameter to add to ninja call. This might need a small patch to scipy, or using another version of scipy...
Also, try increasing the size of swap - 2Gb is too small for 8Gb RAM, make it 6 or 8Gb. On 8 March 2025 11:00:21 GMT-06:00, Ashutosh Rajora <ashutoshrajor...@gmail.com> wrote: >Can anybody please assist with this issue. > >On Saturday, March 8, 2025 at 9:50:10 AM UTC+5:30 Ashutosh Rajora wrote: > >> how to check this: >> >> " It looks indeed as an insufficient RAM for the C++ compiler. >> Do you have a fixed amount of RAM allocated to WSL? It should better be >> 4Gb or more." >> >> i checked the .wslconfig file and it is as follows: >> [wsl2] >> memory=8GB >> swap=2GB >> >> after this i tried shutting down wsl and re running it, >> >> and again running the make command, but i am encountered with the same >> issue, i am attaching the latest log file: >> On Saturday, March 8, 2025 at 3:44:16 AM UTC+5:30 dim...@gmail.com wrote: >> >>> It looks indeed as an insufficient RAM for the C++ compiler. >>> Do you have a fixed amount of RAM allocated to WSL? It should better be >>> 4Gb or more. >>> >>> I am not sure what "free -h" is showing here. >>> If RAM is dynamically shared between Windows and WSL, it doesn't mean >>> much. >>> >>> Try re-running "make" >>> >>> >>> On 7 March 2025 13:12:08 GMT-06:00, Ashutosh Rajora < >>> ashutosh...@gmail.com> wrote: >>> >>>> Operating System: Ubuntu on Windows Subsystem for Linux (WSL) Ubuntu >>>> 22.04.5 LTS >>>> SageMath repo: Latest from git (cloned and tried to build from source) >>>> >>>> I did everything as mentioned in the guide and setting up and installing >>>> sagemath, i after >>>> ./configure >>>> >>>> i tried to build with the command: make -j4 >>>> >>>> the build went smooth but an error occurred while building SciPy, >>>> >>>> i am attaching the SciPy log file below, >>>> >>>> i don't know if this is a memory issue: tried running following >>>> >>>> EigenVector22@LAPTOP-NLAVJRP4:~/sage$ free -h >>>> total used free shared buff/cache >>>> available >>>> Mem: 7.8Gi 458Mi 7.1Gi 1.0Mi 187Mi >>>> 7.1Gi >>>> Swap: 2.0Gi 389Mi 1.6Gi >>>> EigenVector22@LAPTOP-NLAVJRP4:~/sage$ >>>> >>>> Help would really be appreciated. >>>> >>>> Thanks, >>>> >>>> > >-- >You received this message because you are subscribed to the Google Groups >"sage-support" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to sage-support+unsubscr...@googlegroups.com. >To view this discussion visit >https://groups.google.com/d/msgid/sage-support/84d90ce4-6a0a-4f61-a52f-4901290a9a43n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/sage-support/90120FA0-FF99-4ED8-A0BA-166C8B112D70%40gmail.com.