[Users] Segmentation Fault when compiling the tutorial

Roland Haas rhaas at illinois.edu
Tue Jan 25 11:15:03 CST 2022


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 .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20220125/9d0b0d84/attachment.bin 


More information about the Users mailing list