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

[SOWFA] Stack smashing detected by SOWFA & fast v8

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Gerwang

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 13, 2017, 07:36
Question Stack smashing detected by SOWFA & fast v8
  #1
New Member
 
Chengyu Wang
Join Date: Dec 2015
Posts: 7
Rep Power: 10
Gerwang is on a distinguished road
Hi all,

I am compiling the NREL SOWFA coupled with fast v8 into foam-extend-4.0. The compilation has succeeded. My solver can even run smoothly in one machine of mine. However, in some other machines (PC or Cluster). I get the error "stack smashing detected".

I compared almost everything (version of gcc, cmake, openmpi etc.) between both machines, and they are all the same. I am so confused.

This is the error given by my terminal:
Code:
*** stack smashing detected ***: WEI_Jesse_IB_static_1 terminated
[weitum-H8QGL:05704] *** Process received signal ***
[weitum-H8QGL:05704] Signal: Aborted (6)
[weitum-H8QGL:05704] Signal code:  (-6)
[weitum-H8QGL:05704] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f61d7298390]
[weitum-H8QGL:05704] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f61d6eec428]
[weitum-H8QGL:05704] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f61d6eee02a]
[weitum-H8QGL:05704] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x777ea)[0x7f61d6f2e7ea]
[weitum-H8QGL:05704] [ 4] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f61d6fcf56c]
[weitum-H8QGL:05704] [ 5] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x0)[0x7f61d6fcf510]
[weitum-H8QGL:05704] [ 6] /home/weitum/foam/weitum-4.0/lib/linux64GccDPOpt/libuserTurbineModelsFASTv8.so(_ZN4Foam13turbineModels35horizontalAxisWindTurbinesALMfastv812getPositionsEv+0x185b)[0x7f61dceb559b]
[weitum-H8QGL:05704] [ 7] /home/weitum/foam/weitum-4.0/lib/linux64GccDPOpt/libuserTurbineModelsFASTv8.so(_ZN4Foam13turbineModels35horizontalAxisWindTurbinesALMfastv810initializeEv+0x49)[0x7f61dceb8969]
[weitum-H8QGL:05704] [ 8] /home/weitum/foam/weitum-4.0/lib/linux64GccDPOpt/libuserTurbineModelsFASTv8.so(_ZN4Foam13turbineModels35horizontalAxisWindTurbinesALMfastv8C1ERKNS_14GeometricFieldINS_6VectorIdEENS_12fvPatchFieldENS_7volMeshEEE+0x22b0)[0x7f61dcebb050]
[weitum-H8QGL:05704] [ 9] WEI_Jesse_IB_static_1[0x42ebc2]
[weitum-H8QGL:05704] [10] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f61d6ed7830]
[weitum-H8QGL:05704] [11] WEI_Jesse_IB_static_1[0x43d809]
[weitum-H8QGL:05704] *** End of error message ***
--------------------------------------------------------------------------
mpiexec noticed that process rank 0 with PID 5704 on node weitum-H8QGL exited on signal 6 (Aborted).
--------------------------------------------------------------------------
I am not familiar with "libc.so" or "libpthread.so.0" as indicated in the error message. Could someone please give me some hints?

Best regards,
Wang
Gerwang is offline   Reply With Quote

 

Tags
stack smashing; fast v8;


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
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 14 November 14, 2018 07:54
fluent divergence for no reason sufjanst FLUENT 2 March 23, 2016 16:08
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 14:37
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 16:49.