{"id":1349,"date":"2023-10-09T10:39:06","date_gmt":"2023-10-09T02:39:06","guid":{"rendered":"https:\/\/airy.cn\/WordPress\/?p=1349"},"modified":"2023-10-09T10:39:06","modified_gmt":"2023-10-09T02:39:06","slug":"ls-dyna-runs-into-segmentation-violation-sigsegv-error-what-can-i-do","status":"publish","type":"post","link":"https:\/\/airy.cn\/WordPress\/?p=1349","title":{"rendered":"LS-DYNA runs into Segmentation Violation (SIGSEGV) error. What can I do?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Error message (Segmentation Violation )<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">&gt;&gt;&gt;&gt;&gt;&nbsp; Process 18&nbsp; &lt;&lt;&lt;&lt;&lt;<br>&gt;&gt;&gt;&gt;&gt; Signal 11 : Segmentation Violation &lt;&lt;&lt;&lt;&lt;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>wikipedia:&nbsp;<a href=\"http:\/\/en.wikipedia.org\/wiki\/Segmentation_fault\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/en.wikipedia.org\/wiki\/Segmentation_fault<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Possible procedure for the debugging of the LS-DYNA Error<strong>:<\/strong><\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">1. Is it possible to reproduce the LS-DYNA Error?<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Run the identical input with identical configurations<\/li>\n\n\n\n<li>For MPP Run: extract&nbsp;NODOUT&nbsp;from the&nbsp;BINOUT*&nbsp;via&nbsp;l2a<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">&#8211;&gt; No comparability: Hardware problem? (cpu, memory, disk, network, &#8230;)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">.<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">2. Identify the LS-DYNA Error<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>activate checknan option (*CONTROL_SOLUTION,&nbsp;ISNAN=1)<\/li>\n\n\n\n<li>Check the energy progression (GLSTAT,\u00a0MATSUM, if necessary\u00a0SLEOUT)\n<ul class=\"wp-block-list\">\n<li>Can irregularities be detected immediately before the termination?<\/li>\n\n\n\n<li>Which structural parts are affected?<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Do elements fail immediately before the termination?\n<ul class=\"wp-block-list\">\n<li><em>check-failed \u2013l mes*<\/em><\/li>\n\n\n\n<li><em>check-failed \u2013pid \u2013l mes*<\/em>&nbsp;(Which PIDs are affected?)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Which are the last messages in&nbsp;STDOUT&nbsp;\/&nbsp;STDERR&nbsp;\/&nbsp;mes00xx?<\/li>\n\n\n\n<li>Are there any problems with viscoplasticity (VP=1, \u201c\u2026did not converge\u201d)?\n<ul class=\"wp-block-list\">\n<li><em>check-hsp d3hsp \u2013xcon mes*<\/em><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Have unreasonable contact settings been applied? (e.g. large penalties- or thickness scaling etc.)\n<ul class=\"wp-block-list\">\n<li><em>check-hsp d3hsp \u2013cfac<\/em><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Can initial penetrations be detected? How many? How large?\n<ul class=\"wp-block-list\">\n<li>e.g.&nbsp;<em>check-c mes* -buc \u2013typ \u2013typ<\/em><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Are there any problems with spot welds or tied contacts? (e.g. untied nodes = cold spot welds)\n<ul class=\"wp-block-list\">\n<li>e.g.&nbsp;<em>check-c mes* -select tied<\/em><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Within which phase the error occurs?<\/li>\n\n\n\n<li>Keyword processing, initialization, decomposition 1-3, solution<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. Debug-Run<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Switch-off \u201ePlotcprs\u201c (velocity, stress, strain \u2026 available)<\/li>\n\n\n\n<li>Termination Cycle = &lt;Error Cycle&gt; &#8211; 1<\/li>\n\n\n\n<li>investigate last plot state w.r.t. max. velocities, max. plastic strains, etc..<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a><\/a>Checknan option (Segmentation Violation)<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">How can I activate the checknan option?<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Command-Line:&nbsp;&nbsp;checknan=1<\/li>\n\n\n\n<li>Keyword:&nbsp; &nbsp;&nbsp;&nbsp;*CONTROL_SOLUTION,&nbsp;ISNAN=1<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Which output is produced by checknan option?<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Output to screen (e.g. jobout (STDOUT)):<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">*** NaN detected.&nbsp; Please check message file from processor for detail.<br>*** Error NaN detected on processor # 30 &lt;&lt;&lt;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Output to messag-files (e.g. grep \u2018out-of-range\u2018&nbsp;mes0030):<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">*** termination due to out-of-range forces<br>&nbsp;number of nodes has out-of-range forces&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 364<br>Node list:<br>37502068&nbsp; 37502162&nbsp; 37502192&nbsp; 37502206&nbsp; 37502357&nbsp;&#8230;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Visualization of output by checknan option (nodes)?<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>DYNA Tool:&nbsp; &nbsp;&nbsp;<em>check-failed&nbsp; \u2013xnan&nbsp; \u2013a4nan<\/em><\/li>\n\n\n\n<li>Animator:&nbsp; Read in the Session-File \u00b4fail-ide.ses\u00b4<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What does NaN mean?<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>NaN (\u201eNot a Number\u201c):&nbsp;<a href=\"http:\/\/en.wikipedia.org\/wiki\/NaN\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/en.wikipedia.org\/wiki\/NaN<\/a><a><\/a><\/li>\n\n\n\n<li>Node forces\/ -moments\/ -velocities with NaN occur due to different reasons \u2013 e.g. division by zero<\/li>\n\n\n\n<li><a href=\"http:\/\/www.dynasupport.com\/howtos\/general\/not-a-number-nan-1\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.dynasupport.com\/howtos\/general\/not-a-number-nan-1<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">check-hsp, check-failed, check-c, plotcprs are DYNAmore tools (free for customers:&nbsp;<a><\/a><a href=\"http:\/\/www.dynamore.de\/tools\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.dynamore.de\/tools<\/a>)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a><\/a>Error message (MPI)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">MPI Application rank 0 exited before MPI_Finalize() with status 13<br>forrtl: error (78): process killed (SIGTERM)<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u201e\u2026MPI_Finalize() with status 13\u201c is an MPI message due to a possible LS-DYNA\u00a0 Error\n<ul class=\"wp-block-list\">\n<li>Is not important for debugging of the LS-DYNA error.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Error message (Segmentation Violation ) &gt;&gt;&gt;&#038;gt &#8230; <a title=\"LS-DYNA runs into Segmentation Violation (SIGSEGV) error. What can I do?\" class=\"read-more\" href=\"https:\/\/airy.cn\/WordPress\/?p=1349\" aria-label=\"\u9605\u8bfb LS-DYNA runs into Segmentation Violation (SIGSEGV) error. What can I do?\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kadence_starter_templates_imported_post":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-1349","post","type-post","status-publish","format-standard","hentry","category-airy-tech"],"_links":{"self":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/1349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1349"}],"version-history":[{"count":1,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/1349\/revisions"}],"predecessor-version":[{"id":1350,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/1349\/revisions\/1350"}],"wp:attachment":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}