-
-
March 31, 2025 at 3:12 pm
feng.jiang
SubscriberHello, 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!
-
April 1, 2025 at 6:54 am
Nanda
Ansys EmployeeHello Feng,
- 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.
- 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
-
April 1, 2025 at 9:08 pm
-
April 3, 2025 at 11:47 am
Nanda
Ansys EmployeeHello,
Is this a student version? I'm unsure if it supports MPP. Can you please confirm?
Regards,
Nanda
-
April 3, 2025 at 2:56 pm
feng.jiang
SubscriberHi 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:#LICENSE_TYPE: network#LICENSE_SERVER: 1055@ourservernameBut Ansys didn't react when I ran LS-DYNA in the terminal. Is there anything wrong with the LSTC_FILE that I should fix? -
April 7, 2025 at 2:54 pm
David Schroeder
SubscriberHi 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
-
- You must be logged in to reply to this topic.
-
2788
-
965
-
851
-
599
-
591
© 2025 Copyright ANSYS, Inc. All rights reserved.