[Users] R: Segmentation Fault when compiling the tutorial

silyx99 at gmail.com silyx99 at gmail.com
Tue Jan 25 13:16:35 CST 2022


Hello,
I've executed the top command and i'm reporting the output.
As you can see Memory does never exceed 6.5%, i've already tried running the
simulation after having allocated more memory (namely 2.5 GB) to the wsl
system but the resulti s the same. By following the output log it seems the
simulation reaches this problem at time 112.000

The odd thing is that the simulation was running fine on microsoft 11. Due
to performance issues though i decided to roll back to the windows 10
version.



-----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 .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Immagine.png
Type: image/png
Size: 161628 bytes
Desc: not available
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20220125/f4dac79c/attachment-0001.png 


More information about the Users mailing list