CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > REEF3D

Segmentation fault

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2021, 02:41
Default Segmentation fault
  #1
New Member
 
Ananth W
Join Date: May 2021
Posts: 6
Rep Power: 5
ananthw is on a distinguished road
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.






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!
Attached Images
File Type: jpg error1.jpg (162.9 KB, 20 views)
File Type: jpg error2.jpg (79.4 KB, 13 views)
ananthw is offline   Reply With Quote

Old   May 12, 2021, 03:06
Default
  #2
Senior Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 13
kamath is on a distinguished road
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
__________________
Arun
X years with REEF3D
kamath is offline   Reply With Quote

Old   May 17, 2021, 20:45
Default
  #3
New Member
 
Ananth W
Join Date: May 2021
Posts: 6
Rep Power: 5
ananthw is on a distinguished road
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.
Attached Images
File Type: jpg error1.jpg (69.9 KB, 13 views)
File Type: jpg error2.jpg (121.5 KB, 14 views)
Attached Files
File Type: txt control.txt (99 Bytes, 4 views)
File Type: txt ctrl.txt (144 Bytes, 5 views)
ananthw is offline   Reply With Quote

Old   May 20, 2021, 07:02
Default
  #4
Senior Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 13
kamath is on a distinguished road
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.
__________________
Arun
X years with REEF3D
kamath is offline   Reply With Quote

Old   May 20, 2021, 10:47
Default
  #5
New Member
 
Shai Aser
Join Date: Aug 2015
Posts: 25
Rep Power: 10
shaiashe is on a distinguished road
are the new tutorial files on the git page?
shaiashe is offline   Reply With Quote

Old   May 20, 2021, 20:48
Default
  #6
New Member
 
Ananth W
Join Date: May 2021
Posts: 6
Rep Power: 5
ananthw is on a distinguished road
Thanks Arun, please let me know if any updates on this. Also, both the errors occur on CentOS HPC as well.

Last edited by ananthw; May 21, 2021 at 00:28.
ananthw is offline   Reply With Quote

Old   May 25, 2021, 17:27
Default
  #7
New Member
 
Will
Join Date: May 2021
Posts: 11
Rep Power: 4
wrossell is on a distinguished road
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 is offline   Reply With Quote

Old   May 26, 2021, 12:22
Default Another SegFault
  #8
New Member
 
Will
Join Date: May 2021
Posts: 11
Rep Power: 4
wrossell is on a distinguished road
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.
Attached Files
File Type: txt control.txt (94 Bytes, 2 views)
File Type: txt ctrl.txt (275 Bytes, 3 views)
wrossell is offline   Reply With Quote

Old   May 27, 2021, 04:36
Default
  #9
Senior Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 13
kamath is on a distinguished road
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.
__________________
Arun
X years with REEF3D
kamath is offline   Reply With Quote

Old   May 28, 2021, 10:45
Default
  #10
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 377
Rep Power: 17
valgrinda is on a distinguished road
The REEF3D sourceforge page no longer exists. Have a look here for the links to our GitHub repositories:
https://reef3d.wordpress.com/source-code/
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Segmentation fault when running dieselFoam or dieselEngineFoam in parallel francesco OpenFOAM Bugs 4 May 2, 2017 21:59
Segmentation fault in SU2 V5.0 ygd SU2 2 March 1, 2017 04:38
Segmentation fault when running in parallel Pj. OpenFOAM Running, Solving & CFD 3 April 8, 2015 08:12
Segmentation Fault w/ compiled OF 2.2.0 - motorBike example sudo OpenFOAM Running, Solving & CFD 3 April 2, 2013 17:27
segmentation fault when installing OF-2.1.1 on a cluster Rebecca513 OpenFOAM Installation 9 July 31, 2012 15:06


All times are GMT -4. The time now is 12:51.