Hunter Wang
Ansys Employee

Additional envoirnment variable is required: 

export ANSYSLMD_LICENSE_FILE=port-number@host-name

Default port-number is 1055

If your LS-DYNA executable is not too old (built in 2021 or later), there should be folder named licensingclient in same directory with LS-DYNA executable (if not download latest LS-DYNA package from https://ftp.lstc.com/user), make sure licensingclient/linx64/ansyscl exists,and is readable and executable. 

Also check client licensing log file(s) in $HOME/.ansys if it still gets licensing errors.