


{"id":457633,"date":"2026-05-06T04:05:16","date_gmt":"2026-05-06T04:05:16","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/signal-11-segmentation-violation-in-custom-built-mpp-r162\/"},"modified":"2026-05-06T04:05:16","modified_gmt":"2026-05-06T04:05:16","slug":"signal-11-segmentation-violation-in-custom-built-mpp-r162","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/signal-11-segmentation-violation-in-custom-built-mpp-r162\/","title":{"rendered":"Signal 11 Segmentation Violation in Custom-Built MPP R16.2"},"content":{"rendered":"<p>&lt;div&gt;Hi everyone,&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;I am encountering a <strong>Signal 11 (Segmentation Violation)<\/strong> during MPP initialization that occurs&nbsp;<strong>only with my custom-built LS-DYNA R16.2 executable<\/strong>, while the standard Ansys-distributed binary runs the identical keyword file to normal termination without any errors.&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;<strong>Environment &amp; Executables<\/strong>&lt;\/div&gt;&lt;div&gt;-&nbsp;<strong>Custom build:<\/strong> <code>mppdyna.exe<\/code> compiled from the R16.2 source makefile (Intel Fortran 19.0 + Intel MPI 2019.6.166, double precision I8R8, WINX64). I did&nbsp;<strong>not modify any source files or build flags<\/strong>&nbsp;&mdash; I simply ran the default makefile to verify that the custom library would execute without errors.&lt;\/div&gt;&lt;div&gt;-&nbsp;<strong>Standard binary:<\/strong> <code>lsdyna_mpp_sp_msmpi.exe<\/code> (Ansys-distributed) &mdash;&nbsp;<strong>same keyword file, same machine, same MPI run command<\/strong>&nbsp;completes successfully with normal termination.&lt;\/div&gt;&lt;div&gt;-&nbsp;<strong>Version:<\/strong>&nbsp;LS-DYNA R16.2-151-g276cb33db2&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;<strong>Problem Summary<\/strong>&lt;\/div&gt;&lt;div&gt;When I run the custom <code>mppdyna.exe<\/code> with thermal properties included, the solver crashes immediately after initialization:&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;<code><\/code><code>&lt;\/div&gt;&lt;div&gt;initialization completed&lt;\/div&gt;&lt;div&gt;&gt;&gt;&gt;&gt;&gt;&amp;nbsp; Process 0&amp;nbsp; &lt;&lt;&lt;&lt;&lt;&lt;\/div&gt;&lt;div&gt;&gt;&gt;&gt;&gt;&gt; Signal 11 : Segmentation Violation &lt;&lt;&lt;&lt;&lt;&lt;\/div&gt;&lt;div&gt;<\/code><code><\/code>&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;The crash happens at&nbsp;<strong>Problem cycle = 0<\/strong>, right after MPP decomposition and initialization finish. No d3plot or binout data is written beyond the initial state.&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;<strong>Critical Observation: Thermal Dependency<\/strong>&lt;\/div&gt;&lt;div&gt;- <strong>With thermal cards active:<\/strong>&nbsp;The custom MPP executable segfaults every time (tested with <code>-n 1<\/code> and <code>-n 2<\/code>).&lt;\/div&gt;&lt;div&gt;-&nbsp;<strong>Without thermal cards:<\/strong>&nbsp;The custom MPP executable runs perfectly fine to normal termination.&lt;\/div&gt;&lt;div&gt;- <strong>With thermal cards + standard Ansys binary:<\/strong>&nbsp;Runs perfectly fine to normal termination.&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;This strongly suggests the issue is tied to&nbsp;<strong>how the custom-built executable handles thermal initialization in an MPP + S-ALE environment<\/strong>, rather than a keyword syntax error.&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;<strong>Keyword Cards Used in the Mode<\/strong>l&lt;\/div&gt;&lt;div&gt;The simulation is a 2D axisymmetric S-ALE hypervelocity impact problem using the following cards:&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;- <code>*KEYWORD<\/code>, <code>*TITLE<\/code>&lt;\/div&gt;&lt;div&gt;- <code>*MAT_ELASTIC_PLASTIC_HYDRO_TITLE<\/code> (HSLA 100 Steel, Tungsten Carbide)&lt;\/div&gt;&lt;div&gt;- <code>*MAT_ALE_VACUUM_TITLE<\/code>&lt;\/div&gt;&lt;div&gt;- <code>*MAT_THERMAL_ISOTROPIC_PHASE_CHANGE_TITLE<\/code> (Steel)&lt;\/div&gt;&lt;div&gt;- <code>*MAT_THERMAL_ISOTROPIC_TITLE<\/code> (Tungsten Carbide, Vacuum)&lt;\/div&gt;&lt;div&gt;- <code>*EOS_GRUNEISEN_TITLE<\/code>&lt;\/div&gt;&lt;div&gt;- <code>*NODE<\/code>&lt;\/div&gt;&lt;div&gt;- <code>*ALE_STRUCTURED_MESH<\/code>, <code>*ALE_STRUCTURED_MESH_CONTROL_POINTS<\/code>&lt;\/div&gt;&lt;div&gt;- <code>*ALE_MULTI-MATERIAL_GROUP<\/code>&lt;\/div&gt;&lt;div&gt;- <code>*ALE_STRUCTURED_MESH_VOLUME_FILLING<\/code> (ALL, BOXCOR, ELLIPSOID)&lt;\/div&gt;&lt;div&gt;- <code>*PART<\/code>, <code>*SECTION_ALE2D_TITLE<\/code>&lt;\/div&gt;&lt;div&gt;- <code>*INITIAL_TEMPERATURE_SET<\/code>&lt;\/div&gt;&lt;div&gt;- <code>*DEFINE_BOX_TITLE<\/code>, <code>*DEFINE_VECTOR_TITLE<\/code>&lt;\/div&gt;&lt;div&gt;- <code>*BOUNDARY_SALE_MESH_FACE<\/code> (SYM, NONREFL)&lt;\/div&gt;&lt;div&gt;- <code>*SET_PART_LIST_TITLE<\/code>&lt;\/div&gt;&lt;div&gt;- <code>*CONTROL_ALE<\/code>, <code>*CONTROL_BULK_VISCOSITY<\/code>, <code>*CONTROL_ENERGY<\/code>, <code>*CONTROL_HOURGLASS<\/code>&lt;\/div&gt;&lt;div&gt;- <code>*CONTROL_MPP_DECOMPOSITION_DISTRIBUTE_ALE_ELEMENTS<\/code>&lt;\/div&gt;&lt;div&gt;- <code>*CONTROL_SOLUTION<\/code>, <code>*CONTROL_TERMINATION<\/code>&lt;\/div&gt;&lt;div&gt;- <code>*CONTROL_THERMAL_NONLINEAR<\/code>, <code>*CONTROL_THERMAL_SOLVER<\/code>, <code>*CONTROL_THERMAL_TIMESTEP<\/code>&lt;\/div&gt;&lt;div&gt;- <code>*CONTROL_TIMESTEP<\/code>, <code>*CONTROL_UNITS<\/code>&lt;\/div&gt;&lt;div&gt;- <code>*DATABASE_<\/code> family (<code>D3PLOT<\/code>, <code>D3THDT<\/code>, <code>GLSTAT<\/code>, <code>MATSUM<\/code>, <code>NODOUT<\/code>, <code>TPRINT<\/code>, etc.)&lt;\/div&gt;&lt;div&gt;- <code>*DATABASE_EXTENT_BINARY<\/code>&lt;\/div&gt;&lt;div&gt;- <code>*END<\/code>&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;<strong>Run Command (Custom &mdash; Fails)<\/strong>&lt;\/div&gt;&lt;div&gt;<code><\/code><code>bash&lt;\/div&gt;&lt;div&gt;mpiexec -n 2 &quot;...\\mppdyna.exe&quot; i=&quot;sale_shot10_umat44v_T09-fine.k&quot; memory=200m&lt;\/div&gt;&lt;div&gt;<\/code><code><\/code>&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;<strong>Run Command (Standard &mdash; Succeeds)<\/strong>&lt;\/div&gt;&lt;div&gt;<code><\/code><code>bash&lt;\/div&gt;&lt;div&gt;mpiexec -n 2 &quot;...\\lsdyna_mpp_sp_msmpi.exe&quot; i=&quot;sale_shot10_umat44v_T09-fine.k&quot; memory=200m&lt;\/div&gt;&lt;div&gt;<\/code><code><\/code>&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;<strong>Question<\/strong>&lt;\/div&gt;&lt;div&gt;Since the standard Ansys MPP binary handles the identical thermal + S-ALE setup without issue, but the&nbsp;<strong>default, unmodified custom build crashes during thermal initialization<\/strong>, what could be causing this? Is there a known compiler\/MPI flag, preprocessor directive, or library linkage issue in the R16.2 makefile that affects thermal solver initialization in MPP mode? Any guidance on resolving this would be greatly appreciated.&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;Thanks,&lt;\/div&gt;&lt;div&gt;Amrith&lt;\/div&gt;<\/p>\n","protected":false},"template":"","class_list":["post-457633","topic","type-topic","status-publish","hentry","topic-tag-create-custom-model"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27814"],"_bbp_topic_id":["457633"],"_bbp_subscription":["270765"],"_bbp_author_ip":["38.95.247.16"],"_bbp_last_reply_id":["0"],"_bbp_last_active_id":["457633"],"_bbp_last_active_time":["2026-05-06 04:05:16"],"_bbp_reply_count":["0"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["1"],"_bbp_engagement":["270765"],"_btv_view_count":["102"],"_bbp_topic_status":["unanswered"],"_bbp_notification_enabled":["270765"]},"test":"amrithmabuffalo-edu"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/457633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/457633\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=457633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}