CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   REEF3D (https://www.cfd-online.com/Forums/reef3d/)
-   -   Segmentation fault (https://www.cfd-online.com/Forums/reef3d/236033-segmentation-fault.html)

ananthw May 11, 2021 02:41

Segmentation fault
 
2 Attachment(s)
Hi
I recently tried to setup REEF3D model on a Windows PC using Ubuntu WSL and also on our Linux HPC. When I run the ‘8-1 2D Dam break’ tutorial case without any modifications (when run on one core, n=1), I am getting a ‘Segmentation fault’ error as shown in the screenshots below.


https://1drv.ms/u/s!AjGPh_Ph3e6RlecX...IX_lA?e=KK6MAQ

https://1drv.ms/u/s!AjGPh_Ph3e6RlecX...IX_lA?e=Hf1eam

I was not able to properly run an example from the tutorials.

Could you please help me in troubleshooting these errors? Thank you in advance!

kamath May 12, 2021 03:06

Hi Ananth,
Could you also please upload your input files? We have updated the tutorials recently (and continue to do so). You will see that in the latest version, 8-1 is no longer a dam break case. I believe you are referring to what is 9-1 now.
So, it is possible that you have an older version of the tutorial file.

Therefore, please also upload the input files you have used.
Thanks

ananthw May 17, 2021 20:45

4 Attachment(s)
Hi Kamath,

I checked the version of REEF3D and the manual says it is 21.02. WHile the manual has the dam break example as 9.1, the examples directory still has it as 8-1. Below attached are the input files directly copied from REEF3D source. Also, when requesting 1 processor and more than 1 processor, there are different error messages as attached in screenshots. Thanks for your help.

kamath May 20, 2021 07:02

Unfortunately, I am unable to reproduce your error. I will have to check this on a WSL system sometime.

The first "error" that you post related to btl-vader.txt, you can simply ignore. I have seen this on several WSL systems, but seems to be more a "warning" than an "error" as simulations run just fine even after that error is displayed.

The second one, the segmentation fault is actually of concern. But currently since I am unable to reproduce the error, I need some more time to troubleshoot this.

shaiashe May 20, 2021 10:47

are the new tutorial files on the git page?

ananthw May 20, 2021 20:48

Thanks Arun, please let me know if any updates on this. Also, both the errors occur on CentOS HPC as well.

wrossell May 25, 2021 17:27

I am also having a similar error when making small changes to the rectangular wave tank wave generator tutorial. The links to the sourceforge page where one can download the REEF3D user guide is also not working, so I am unsure what version I currently have. I just downloaded and install yesterday, so forgive that I am very new.

wrossell May 26, 2021 12:22

Another SegFault
 
2 Attachment(s)
These are input files that when run produced a segmentation fault on my Windows machine. By changing the B1 input in the control.txt file to 0.05, the code runs properly to the best of my knowledge. Why has requesting a smaller cell size caused the error? Thanks.

kamath May 27, 2021 04:36

I am not entirely sure as I am yet to be able to reproduce the seg fault error.

I would though recommend that you download from github and not sourceforge.

valgrinda May 28, 2021 10:45

The REEF3D sourceforge page no longer exists. Have a look here for the links to our GitHub repositories:
https://reef3d.wordpress.com/source-code/


All times are GMT -4. The time now is 02:32.