David,

Thanks for suggesting a work-around. I see I am probably on the edge.

I already tried what you suggested in points 1 and 3. And the only 
additional packages that I am linking to are BLAS and LAPACK. I thought of 
linking them (even though I don't use) because I was using PETSc anyway.

For now, I have the release build and don't require a debug build. I will 
keep your suggestions in mind in case I plan to have a debug version.

Thanks again!

On Saturday, May 8, 2021 at 11:04:35 PM UTC+5:30 Wells, David wrote:

> Hi Vachan,
>
> The debug version of the library on my mac requires about 3.8 GB of memory 
> to link: if you are patient and willing to use all your swap space then you 
> should be able to compile the library. I recommend trying:
>
> 1) close all other applications on your machine (if possible, try to boot 
> directly to the command line)
> 2) if you can, compile deal.II with the bare minimum number of 
> dependencies that you might want to use. Every dependency you can skip will 
> save some memory.
> 3) make sure you are only compiling with a single processor (i.e., make 
> -j1)
>
> Best,
> David Wells
> ------------------------------
> *From:* [email protected] <[email protected]> on behalf of 
> [email protected] <[email protected]>
> *Sent:* Tuesday, May 4, 2021 2:45 AM
> *To:* deal.II User Group <[email protected]>
> *Subject:* [deal.II] make install fails with ld signal 9 
>  
> Dear all, 
>
> I am trying to do a new installation of dealii. `make install` exits while 
> compiling libdeal_II.g.so with ld signal 9. I had a look at this question 
> <https://groups.google.com/g/dealii/c/Yyd_I0ocXPo/m/8waaQBcDQxwJ> and 
> noted that this might be due to RAM shortage, but my device has >2 gb RAM. 
> The output of `free -h` is:
>               total        used        free      shared  buff/cache  
>  available
> Mem:          3.7Gi       652Mi       2.4Gi       116Mi       733Mi      
>  2.7Gi
> Swap:         2.0Gi       838Mi       1.2Gi
>
> What can I do to solve this issue? Are there any fixes or is higher RAM is 
> required?
>
> Thanking in anticipation
> Vachan
>
> -- 
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see 
> https://groups.google.com/d/forum/dealii?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dealii/c9268c58-9e47-429c-9f48-7e6eafc54d6en%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/dealii/c9268c58-9e47-429c-9f48-7e6eafc54d6en%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/1d6b56d9-697a-459d-927b-8e9a1fe79bd9n%40googlegroups.com.

Reply via email to