We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
LS Dyna

LS Dyna

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

Installation of MPP solver and environment variable settings

    • feng.jiang
      Subscriber

      Hello, I want to post two problems when I install LS-Dyan on Linux system. 

      1. Parallel Computing with MPP: I’ve selected the MPP option for parallel computation, but I encountered an error message when trying to run it. Could you help me understand how to properly set it up for parallel computing?

      2. When I used this command line to run K file, it give an error. But I can run this K file in LS-Run.

      I welcome any feedback here.  Thank you!

    • Nanda
      Ansys Employee

       

      Hello Feng,

       

      1. Did you install any of the supported MPIs to run MPP? We support MS MPI, Intel MPI, Platform MPI, and Open MPI. Please make sure that any one of this is set up properly.
      2. You need to set an environment variable for the license error, with the variable value as your license file name. For more details, follow this: LSDYNA Environment variables

       

      Both MS mpi and Intel mpi come in the standard Ansys installation setup. You can find more details in the installation notes.

      Regards,

      Nanda.

      If you are not able to open Ansys help links, refer to this forum discussion: How to access the ANSYS Online Help

      Also, we launched a public help documentation website: Ansys Help

      For more exciting courses and certifications, hit this link: Ansys Innovation Courses | ANSYS Innovation Space

      Guidelines for Posting on Ansys Learning Forum

       

    • feng.jiang
      Subscriber

      Hi Nanda,

      Thank you for your reply. I appreciate your guidance.

      However, I did not see the MPI option during the installation process. Could you kindly provide more details on how I can ensure that MPI is installed properly, or if there is a separate installation step for it?

    • Nanda
      Ansys Employee

      Hello,

      Is this a student version? I'm unsure if it supports MPP. Can you please confirm?

      Regards,

      Nanda

    • feng.jiang
      Subscriber
      Hi Nanda,
       
      Thank you!
       
      It is a Ansys research license associated with Northwestern McCormick. We installed the 2024R1 version using the iso files on a Ubuntu 22.04 server. Will MPP work for another version? 
       
      Also for the second question about setting up the environment variable to address the license error, we created a LSTC_FILE in the same directory as the LS-DYNA excutable, with two lines: 
       
      #LI­CENSE_­TYPE: net­work
       #LI­CENSE_­SERV­ER: 1055@ourservername
       
      But Ansys didn't react when I ran LS-DYNA in the terminal. Is there anything wrong with the LSTC_FILE that I should fix?
    • David Schroeder
      Subscriber

       

      Hi Feng,

      If you installed LS-DYNA with the Ansys Installation Runner (2024R1), then the IntelMPI (mpirun) will be located in:
      /v241/commonfiles/MPI/Intel/2018.3.222/linx64/bin/mpirun

      If you are not sure you could also use following command in any terminal:
      find . -name “*mpirun*”
      Note: if you do that it will also show you mpirun executable for OpenMPI, but the executables provided by ANSYS use IntelMPI, so use Intel.

      You may also need to add some IntelMPI specific environment variables. You can use the script provided by Intel under:
      /v241/commonfiles/MPI/Intel/2018.3.222/linx64/bin/mpivars.sh

      You may add this script to your ~/.bashrc such that it is executed at login. So open ~/.bashrc with any texteditor and add following line:
      source /v241/commonfiles/MPI/Intel/2018.3.222/linx64/bin/mpivars.sh

      You could also add /v241/commonfiles/MPI/Intel/2018.3.222/linx64/bin to your PATH variable in ~/.bashrc
      export PATH=”$PATH”:”/v241/commonfiles/MPI/Intel/2018.3.222/linx64/bin”

      Concerning the LSTC_FILE, did you put that to de same directory than the LS-DYNA executables are located (as described here https://lsdyna.ansys.com/download-install-overview/#lstc_file-license-file-directives):
      //v241/ansys/bin/linx64

      But you could use the ANSYS License Manager instead, running:
      .//v241/licensingclient/linx64/LicensingSettingsUtility/LicensingSettingsUtilityLinux

      This will open a window, where you can insert the port and hostname of your Licensesever:

      If you run LS-Run you should use then the “ANSYS FlexNet” License (under License –> LS-DYNA-Licenses –> License Type).

      I see that you asked also for starting the simulaiton from command line. For that you may export the environment variables in your .bashrc:
      export LSTC_LICENSE=ansys or network
      export LSTC_LICENSE_SERVER=@

      Regards,
      David

       

Viewing 5 reply threads
  • You must be logged in to reply to this topic.