[Users] R: Segmentation Fault when compiling the tutorial

silyx99 at gmail.com silyx99 at gmail.com
Tue Jan 25 13:22:33 CST 2022


By the way it appears your email got interrupted, i didn't recieve the
continuation after
"For me the TOV"

-----Messaggio originale-----
Da: Roland Haas <rhaas at illinois.edu> 
Inviato: martedì 25 gennaio 2022 18:15
A: silyx99 at gmail.com
Cc: users at einsteintoolkit.org
Oggetto: Re: [Users] Segmentation Fault when compiling the tutorial

Hello silyx99,

> I can't seem to make the tov_ET simulation work. Every time it reaches 
> a definite time during the simulation, the code reaches segmentation
fault.
SEGFAULTs can often mean you are running out of memory. 

Though the tov_ET parfile uses very little memory for me: 200MiB (but does
reserve quite a bit more memory as virtual memory, namely ~1GiB).

You may need to run "top" in a second bash window to see how much memory
your run is using (you can type "e" to change units to more useful ones).

If you are actually running out of memory (which I kind of doubt, but who
knows) then you can try increasing memory for WSL2.

Since wsl2 is a (thin) virtual machine it is limited by how much memory it
can use.

Can you try if reserving more memory for the VM helps?

See

https://clay-atlas.com/us/blog/2021/08/31/windows-en-wsl-2-memory/

for how to do that.

I also noticed that the speed is a bit slower than expected with only
~71M/hr while my (old) workstation reaches ~1700M/hr.

For me the TOV 

Yours,
Roland

--
My email is as private as my paper mail. I therefore support encrypting and
signing email messages. Get my PGP key from http://pgp.mit.edu .



More information about the Users mailing list