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

Run Error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2022, 11:14
Default Run Error
  #1
New Member
 
shuqichang
Join Date: Feb 2022
Posts: 23
Rep Power: 5
changshuqi is on a distinguished road
Hi, I'm sorry to bother you.
Attached are my running file and STL file. I have run a similar program before, and the result is normal. But when I changed the parameters I got these errors. I only changed the size changes caused by STL changes, and the wave-related parameters remained basically unchanged.
The following error appears when I run the program:

WARNING: Linux kernel CMA support was requested via the
btl_vader_single_copy_mechanism MCA variable, but CMA support is
not available due to restrictive ptrace settings.
The vader shared memory BTL will fall back on another single-copy
mechanism if one is available. This may result in lower performance.
Local host: LAPTOP-VF066KCK
--------------------------------------------------------------------------
REEF3D (c) 2008-2021 Hans Bihs
:: Open-Source Hydrodynamics
v_211130
read ctrl
REEF3D::CFD
[LAPTOP-VF066KCK:00030] 3 more processes have sent help message help-btl-vader.txt / cma-permission-denied
[LAPTOP-VF066KCK:00030] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
initialize fdm
starting ini
creating objects
[LAPTOP-VF066KCK:00036] *** Process received signal ***
[LAPTOP-VF066KCK:00036] Signal: Segmentation fault (11)
[LAPTOP-VF066KCK:00036] Signal code: Invalid permissions (2)
[LAPTOP-VF066KCK:00036] Failing at address: 0x7f95f2a62000
[LAPTOP-VF066KCK:00034] *** Process received signal ***
[LAPTOP-VF066KCK:00034] Signal: Segmentation fault (11)
[LAPTOP-VF066KCK:00034] Signal code: Invalid permissions (2)
[LAPTOP-VF066KCK:00034] Failing at address: 0x7f6abc2a6000
[LAPTOP-VF066KCK:00037] *** Process received signal ***
[LAPTOP-VF066KCK:00037] Signal: Segmentation fault (11)
[LAPTOP-VF066KCK:00037] Signal code: Invalid permissions (2)
[LAPTOP-VF066KCK:00037] Failing at address: 0x7f242f80a000
[LAPTOP-VF066KCK:00034] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7f6c38056210]
[LAPTOP-VF066KCK:00034] [ 1] /lib/x86_64-linux-gnu/libc.so.6(+0x18ead1)[0x7f6c3819ead1]
[LAPTOP-VF066KCK:00034] [ 2] REEF3D(+0x19bf1c)[0x7f6c388a7f1c]
[LAPTOP-VF066KCK:00034] [ 3] REEF3D(+0x2b7b0a)[0x7f6c389c3b0a]
[LAPTOP-VF066KCK:00034] [ 4] REEF3D(+0x150ce2)[0x7f6c3885cce2]
[LAPTOP-VF066KCK:00034] [ 5] REEF3D(+0x5ffe8)[0x7f6c3876bfe8]
[LAPTOP-VF066KCK:00034] [ 6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f6c380370b3]
[LAPTOP-VF066KCK:00034] [ 7] REEF3D(+0x6bb4e)[0x7f6c38777b4e]
[LAPTOP-VF066KCK:00034] *** End of error message ***
[LAPTOP-VF066KCK:00037] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7f25af9e6210]
[LAPTOP-VF066KCK:00037] [ 1] /lib/x86_64-linux-gnu/libc.so.6(+0x18ead1)[0x7f25afb2ead1]
[LAPTOP-VF066KCK:00037] [ 2] REEF3D(+0x19bf3c)[0x7f25b0231f3c]
[LAPTOP-VF066KCK:00037] [ 3] REEF3D(+0x2b7b0a)[0x7f25b034db0a]
[LAPTOP-VF066KCK:00037] [ 4] REEF3D(+0x150ce2)[0x7f25b01e6ce2]
[LAPTOP-VF066KCK:00037] [ 5] REEF3D(+0x5ffe8)[0x7f25b00f5fe8]
[LAPTOP-VF066KCK:00037] [ 6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f25af9c70b3]
[LAPTOP-VF066KCK:00037] [ 7] REEF3D(+0x6bb4e)[0x7f25b0101b4e]
[LAPTOP-VF066KCK:00037] *** End of error message ***
[LAPTOP-VF066KCK:00036] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7f976c426210]
[LAPTOP-VF066KCK:00036] [ 1] /lib/x86_64-linux-gnu/libc.so.6(+0x18ead1)[0x7f976c56ead1]
[LAPTOP-VF066KCK:00036] [ 2] REEF3D(+0x19befc)[0x7f976cc6aefc]
[LAPTOP-VF066KCK:00036] [ 3] REEF3D(+0x2b7b0a)[0x7f976cd86b0a]
[LAPTOP-VF066KCK:00036] [ 4] REEF3D(+0x150ce2)[0x7f976cc1fce2]
[LAPTOP-VF066KCK:00036] [ 5] REEF3D(+0x5ffe8)[0x7f976cb2efe8]
[LAPTOP-VF066KCK:00036] [ 6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f976c4070b3]
[LAPTOP-VF066KCK:00036] [ 7] REEF3D(+0x6bb4e)[0x7f976cb3ab4e]
[LAPTOP-VF066KCK:00036] *** End of error message ***
[LAPTOP-VF066KCK:00035] *** Process received signal ***
[LAPTOP-VF066KCK:00035] Signal: Segmentation fault (11)
[LAPTOP-VF066KCK:00035] Signal code: Invalid permissions (2)
[LAPTOP-VF066KCK:00035] Failing at address: 0x7f3f2c020000
[LAPTOP-VF066KCK:00035] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7f40a5466210]
[LAPTOP-VF066KCK:00035] [ 1] /lib/x86_64-linux-gnu/libc.so.6(+0x18ead1)[0x7f40a55aead1]
[LAPTOP-VF066KCK:00035] [ 2] REEF3D(+0x19befc)[0x7f40a5ca9efc]
[LAPTOP-VF066KCK:00035] [ 3] REEF3D(+0x2b7b0a)[0x7f40a5dc5b0a]
[LAPTOP-VF066KCK:00035] [ 4] REEF3D(+0x150ce2)[0x7f40a5c5ece2]
[LAPTOP-VF066KCK:00035] [ 5] REEF3D(+0x5ffe8)[0x7f40a5b6dfe8]
[LAPTOP-VF066KCK:00035] [ 6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f40a54470b3]
[LAPTOP-VF066KCK:00035] [ 7] REEF3D(+0x6bb4e)[0x7f40a5b79b4e]
[LAPTOP-VF066KCK:00035] *** End of error message ***
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 0 on node LAPTOP-VF066KCK exited on signal 11 (Segmentation fault).
Looking forward to hearing from you.
Attached Files
File Type: zip file.zip (136.7 KB, 10 views)
changshuqi is offline   Reply With Quote

Old   April 5, 2022, 17:51
Default
  #2
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 375
Rep Power: 17
valgrinda is on a distinguished road
Hi Shuqichang,

the case runs for me using the newest REEF3D 22.03. A problem could be the fact that you use 25.6 million cells on your laptop, this will be quite slow in any case. Please try the newest version and let me know whether it works.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   April 5, 2022, 23:59
Default
  #3
New Member
 
shuqichang
Join Date: Feb 2022
Posts: 23
Rep Power: 5
changshuqi is on a distinguished road
Hello, I am very glad to receive your reply.
I updated it according to your suggestion and ran it again, but the same error still occurred.
In addition, I would like to know why the operation is terminated if there are too many grids. Shouldn't the operation be slow?
Looking forward to your reply .
changshuqi is offline   Reply With Quote

Old   April 6, 2022, 03:51
Default
  #4
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 375
Rep Power: 17
valgrinda is on a distinguished road
Which OS are you running? Are you using Ubuntu on Windows?
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   April 6, 2022, 03:53
Default
  #5
New Member
 
shuqichang
Join Date: Feb 2022
Posts: 23
Rep Power: 5
changshuqi is on a distinguished road
Yes, I use Ubuntu on Windows.
changshuqi is offline   Reply With Quote

Old   April 6, 2022, 10:07
Default
  #6
Senior Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 13
kamath is on a distinguished road
This seems related to the problem seen in the thread:
REEF3D(22.03) Segmentation fault

After some testing on a low power windows machine with Ubuntu on Windows, there seems to be some restriction through the App.
As the RAM usage exceeds a certain value, the App loses permissions to operate and throws a segmentation fault.

We are optimising the RAM usage, but unsure if the Ubuntu app is restricted to a subset of the total/actual machine RAM and if there is a way to increase this limit.
But certainly an Ubuntu on windows problem...
__________________
Arun
X years with REEF3D
kamath is offline   Reply With Quote

Old   April 6, 2022, 10:35
Default
  #7
New Member
 
shuqichang
Join Date: Feb 2022
Posts: 23
Rep Power: 5
changshuqi is on a distinguished road
Thank you for your reply and look forward to solving this problem.
changshuqi is offline   Reply With Quote

Old   April 10, 2022, 10:22
Default
  #8
New Member
 
shuqichang
Join Date: Feb 2022
Posts: 23
Rep Power: 5
changshuqi is on a distinguished road
I'm sorry to bother you again.
After seeing the latest version updated, I ran a previously normal program on Windows with 22.03 and 22.04 respectively and still got this error. But the program works normally in version 21.11. The difference between the two is only in the version, everything else is the same.
In addition, when I run the program you mentioned at the beginning in Ubuntu using Linux virtual machine, I still display the same error.
Looking forward to your reply .
changshuqi is offline   Reply With Quote

Old   April 10, 2022, 10:25
Default
  #9
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 375
Rep Power: 17
valgrinda is on a distinguished road
We are seeing problems for Ubuntu on Windows right now, but unclear why. The code runs on all other versions.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   April 10, 2022, 11:31
Default
  #10
New Member
 
shuqichang
Join Date: Feb 2022
Posts: 23
Rep Power: 5
changshuqi is on a distinguished road
When I run Ubuntu on a Linux VM, version 21.11 works, but versions 22.03 and 22.04 don't. The following error is displayed:

REEF3D (c) 2008-2022 Hans Bihs
:: Open-Source Hydrodynamics
v_220410
read ctrl
REEF3D::CFD
initialize fdm
starting ini
creating objects
Wave Tank: 2nd-order Stokes waves; wk: 4.0243 ww: 6.28319 wf: 1 wT: 1 wL: 1.56131 wdt: 5 kd: 20.1215
6DOF_df startup ...
6DOF_df_ini
Surface triangles: 12
Refined surface triangles: 3072
initializing fb...
Center of Gravity xg: 10 yg: 5 zg: 5
Volume Floating Body: 2
Mass Floating Body: 1000
Density Floating Body: 500
Moments of Inertia Tensor:
416.667 0 0
0 416.667 0
0 0 166.667
initializing fb...
number of cells: 250000
starting driver_ini
[chang-virtual-machine:02389] *** Process received signal ***
[chang-virtual-machine:02389] Signal: Segmentation fault (11)
[chang-virtual-machine:02389] Signal code: Invalid permissions (2)
[chang-virtual-machine:02389] Failing at address: 0x564776abb878
[chang-virtual-machine:02387] *** Process received signal ***
[chang-virtual-machine:02387] Signal: Segmentation fault (11)
[chang-virtual-machine:02387] Signal code: Invalid permissions (2)
[chang-virtual-machine:02387] Failing at address: 0x55922d243878
[chang-virtual-machine:02387] [ 0] [chang-virtual-machine:02388] *** Process received signal ***
[chang-virtual-machine:02388] Signal: Segmentation fault (11)
[chang-virtual-machine:02388] Signal code: Invalid permissions (2)
[chang-virtual-machine:02388] Failing at address: 0x55ebd034d878
[chang-virtual-machine:02388] [ 0] [chang-virtual-machine:02389] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x430c0)[0x7f8efd9350c0]
/lib/x86_64-linux-gnu/libc.so.6(+0x430c0)[0x7f9caa4240c0]
[chang-virtual-machine:02387] [ 1] REEF3D(+0x83c878)[0x55922d243878]
[chang-virtual-machine:02387] *** End of error message ***
[chang-virtual-machine:02389] [ 1] REEF3D(+0x83c878)[0x564776abb878]
[chang-virtual-machine:02389] *** End of error message ***
/lib/x86_64-linux-gnu/libc.so.6(+0x430c0)[0x7f5e197260c0]
[chang-virtual-machine:02388] [ 1] REEF3D(+0x83c878)[0x55ebd034d878]
[chang-virtual-machine:02388] *** End of error message ***
[chang-virtual-machine:02386] *** Process received signal ***
[chang-virtual-machine:02386] Signal: Segmentation fault (11)
[chang-virtual-machine:02386] Signal code: Invalid permissions (2)
[chang-virtual-machine:02386] Failing at address: 0x555999801878
[chang-virtual-machine:02386] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x430c0)[0x7f6fc79100c0]
[chang-virtual-machine:02386] [ 1] REEF3D(+0x83c878)[0x555999801878]
[chang-virtual-machine:02386] *** End of error message ***
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 3 with PID 0 on node chang-virtual-machine exited on signal 11 (Segmentation fault).


I also performed "make clean" before enabling the new version, but why does this still happen? Are there any other error causes that need to be corrected?
Looking forward to your reply
changshuqi is offline   Reply With Quote

Old   April 20, 2022, 05:36
Default
  #11
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 375
Rep Power: 17
valgrinda is on a distinguished road
Hi Shuqichang,

could you try the new release candidate and let me know whether you case works now?
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   April 20, 2022, 05:55
Default
  #12
New Member
 
shuqichang
Join Date: Feb 2022
Posts: 23
Rep Power: 5
changshuqi is on a distinguished road
Hi,valgrinda
Sorry, the same error exists for version 22.04
changshuqi is offline   Reply With Quote

Old   April 20, 2022, 06:08
Default
  #13
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 375
Rep Power: 17
valgrinda is on a distinguished road
Yes, but I mean the “release candidate”. Can you try that one?
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   April 20, 2022, 10:13
Default
  #14
New Member
 
shuqichang
Join Date: Feb 2022
Posts: 23
Rep Power: 5
changshuqi is on a distinguished road
Quote:
Originally Posted by valgrinda View Post
Yes, but I mean the “release candidate”. Can you try that one?
Hello, I tried to run the release candidate and it works normally.
changshuqi is offline   Reply With Quote

Old   April 20, 2022, 16:18
Default
  #15
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 375
Rep Power: 17
valgrinda is on a distinguished road
Great to hear, thanks for the feedback!
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
long error when using make-install SU2_AD. tomp1993 SU2 Installation 3 March 17, 2018 07:25
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 06:07
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 15:42.