Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
LS Dyna

LS Dyna

Topics related to LS-DYNA, Autodyn, Explicit STR and more.

LS-DYNA segmentation fault on MPP but not SMP

    • kshi84
      Subscriber

      Hello all,

      I been having the same issue as described by Atish Gawale in a previous post: running simulations on a linux graphical interface through lsrun, where running on SMP single precision worked fine, but got a forrtl: severe (174): SIGSEGV, segmentation fault occurred when trying to run on MPP double-precision.

      Has anyone found a fix/reason for this issue?

      I have tried different versions of LS-Run and solver executables, and I still get the same issue: same error message w/ MPP, but it works w/ SMP.

      My simulation has no contact, it is a cubic lattice undergoing displacement controlled uniaxial compression.

      Best,

      K

    • ErKo
      Ansys Employee

      Hi

      This should help:

      Set these 2 variables in your linux environment. The LD_PRELOAD example below shows how those could be set in .bashrc to point to a library in 2024 R2, you may need to edit the path to match your version

      export I_MPI_HYDRA_BOOTSTRAP=ssh
      export LD_PRELOAD=/apps/ansys_inc/v242/commonfiles/MPI/Intel/2018.3.222/linx64/lib/libstrtok.so:${LD_PRELOAD}


      This is typically done in your .bashrc file. If that does not work, you may need to request your cluster administrator to add these to rsm_env_profile file 

      example path to this file for Ansys 2024 R2 is

      /apps/ansys_inc/v242/RSM/Config/tools/linux/rsm_env_profile

      any running userproxy processes would need to be ended for the changes made in rsm_env_profile to be available to newly submitted jobs.

      All the best

      Erko

      • kshi84
        Subscriber

        Hello,

        This fixed the issue! I was able to set the enviornment variables in the .bashrc file. The default MPP solver executables now work properly.

        My main goal is to use a compiled solver from the usermat version of LS-DYNA. Initially I had some issues compiling the solver with the Makefile, but after adding some lines to the LIBS variable in the Makefile, I was able to compile something. However, when trying to use the file made with the Makefile, with LSrun, I get a license error.

        I tried some of the suggested solutions from previous posts, such as:

        export ANSYSLMD_LICENSE_FILE=127.0.0.1

        env ANSYSLMD_LICENSE_FILE=1055@127.0.0.1

        In the lsout file, it says "license option:check ansys licenses only" at the top. I am using the usermat version of R13.1 mpp double precision. I also saw an "ansyscl" file was mentioned. If this is needed, where would it be located when downloading the compressed folder? Is it supposed to be inside the compressed folder? I am unable to find file.

        Best,

        K

    • ErKo
      Ansys Employee

       

       

      Hi

       

      Great that our suggestion resolved the issue.

       

      Since this a new issue – can you please close this post here, and mark it as solved also so others having same issue can benefit (it gets too long and complex if we have all different issues under one post).

      Open then a new post on the new licence issue.

      All the best

      Erko

       

       

Viewing 2 reply threads
  • You must be logged in to reply to this topic.
[bingo_chatbox]