Dear Einstein Toolkit developers,<br/><br/>My name is Liu and I am a student from Nagoya University. I am now learning to use ET to do some simulations. This time I am trying to reproduce this one:<br/><a href="https://einsteintoolkit.org/gallery/bns/index.html">https://einsteintoolkit.org/gallery/bns/index.html</a><br/>which is a simulation of binary neutron stars.<br/><br/>During execution, I noticed this segmentation fault here when creating the simulation directory structure. (The screenshot file is attached to this email) This seems to be caused by a mismatch in memory settings. I've tried many debugging methods, but it still doesn't work.<br/><br/>Could you please help me identify the issue? I am using Ubuntu 22.04.3 and I have already built the Einstein Toolkit and run a sample simulation successfully.<br/><br/>Thank you for your sincerest help. <br/><br/>Best regards,<br/>Liu<br/><br/><br/><br/><br/><br/><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <div id="imail_signature" class="ntes-signature"> <a href="https://dashi.163.com/projects/signature-manager/detail/index.html?ftlId=1&name=liuxiang%40hken.phys.nagoya-u.ac.jp&uid=liuxiang%40hken.phys.nagoya-u.ac.jp&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&email=%E9%82%AE%E7%AE%B1%EF%BC%9Aliuxiang%40hken.phys.nagoya-u.ac.jp&items=%5B%22%E9%82%AE%E7%AE%B1%EF%BC%9Aliuxiang%40hken.phys.nagoya-u.ac.jp%22%5D" style="display:block;background:#fff; max-width: 400px; _width: 400px;padding:15px 0 10px 0;text-decoration: none; outline:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none !important;text-size-adjust:none !important;"> <table cellpadding="0" style='width: 100%; max-width: 100%; table-layout: fixed; border-collapse: collapse;color: #9b9ea1;font-size: 14px;line-height:1.3;-webkit-text-size-adjust:none !important;text-size-adjust:none !important;'> <tbody style="font-family: 'PingFang SC', 'Hiragino Sans GB','WenQuanYi Micro Hei', 'Microsoft Yahei', '微软雅黑', verdana !important; word-wrap:break-word; word-break:break-all;-webkit-text-size-adjust:none !important;text-size-adjust:none !important;"> <tr> <td width="38" style="padding:0; box-sizing: border-box; width: 38px;"> <img width="38" height="38" style="vertical-align:middle; width: 38px; height: 38px; border-radius:50%;" src="https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png" /> </td> <td style='padding: 0 0 0 10px; color: #31353b;'> <div style="font-size: 16px;font-weight:bold; width:100%; white-space: nowrap; overflow:hidden;text-overflow: ellipsis;">liuxiang@hken.phys.nagoya-u.ac.jp</div> </td> </tr> <tr width="100%" style="font-size: 14px !important; width: 100%;"> <td colspan='2' style="padding:10px 0 0 0; font-size:14px !important; width: 100%;"> <div style="width: 100%;font-size: 14px !important;word-wrap:break-word;word-break:break-all;">邮箱:liuxiang@hken.phys.nagoya-u.ac.jp</div> </td> </tr> </tbody> </table> </a></div> </body> </html>
Hello Liu,
Dear Einstein Toolkit developers,<br/><br/>My name is Liu and I am a student from Nagoya University. I am now learning to use ET to do some simulations. This time I am trying to reproduce this one:<br/><a href="https://urldefense.com/v3/__https://einsteintoolkit.org/gallery/bns/index.html__;!!DZ3fjg!4xB3fkj0qHuNguLbp8TtmbSsDXd63cjq97GxVyJkFL92UgArMlDH_mZCYfVtlCbZFKzUGFxqI4-G6nddxj30tsHMBrxNkUvXzg$">https://einsteintoolkit.org/gallery/bns/index.html</a><br/>which is a simulation of binary neutron stars.<br/><br/>During execution, I noticed this segmentation fault here when creating the simulation directory structure. (The screenshot file is attached to this email) This seems to be caused by a mismatch in memory settings. I've tried many debugging methods, but it still doesn't work.<br/><br/>Could you please help me identify the issue? I am using Ubuntu 22.04.3 and I have already built the Einstein Toolkit and run a sample simulation successfully.
Sorry for the long delay. Your email got held up on the mailing list server since you were not subscribed to the mailing list yourself.
A SEGFAULT is often caused by running out of memory. If you are trying to run a BNS simulation on a workstation or laptop (unless it is very large) then I would expect this to be the case.
You can try and monitor free memory using the "top" command while the simulation starts.
If there is enough memory then the next thing would be to find out which function the code is in when it fails from the backtrace and error messages that should be present in the *.err file and the backtrac.*.txt files. They also contain information on how to turn the address of the failure location into a human readable function name.
If you have never done that before then you may want to send the full stdout and stderr files (*.out and *.err when using simfactory) as well as the backtrace.*.txt files (in the bns and ouput-0000 directories respectively) to the list. Possibly compressed to avoid the email being rejected due to large attachments. Please avoid sending image screenshots as they do not let one copy and paste text out of them.
Yours, Roland
users@lists.einsteintoolkit.org