Installing Lumerical on non-graphical Linux systems

LitoLito Ansys Employee Posts: 37
edited November 2021 in Ansys Products

Ansys license manager installation

The guidelines shown here is for installing the ANSYS license manager on a non graphical Linux system without administrator (root/sudo) access.

1) Download the Ansys Enterprise license manager from the ANSYS Customer Portal*.

*Note: Access to the Ansys Customer Portal requires an active ANSYS Entitlement and your ANSYS account number. The account number is included with your ANSYS Entitlement or can be found on the Lumerical About page. If you need help accessing the Ansys Customer Portal, contact your ANSYS account manager.

2) Extract the installation package into your desired location where you have write/access. Example shown is using ANSYS LM 2021 R2 installed in the $HOME directory of the user and Downloads folder as the location of the installation package.

mkdir $HOME/ansys_inc
mv ~/Downloads/ENTERPRISELICENSING_2021_R2_LINX64.tgz ~/ansys_inc/
cd ~/ansys_inc/
tar -zxf ENTERPRISELICENSING_2021_R2_LINX64.tgz
tar -zxf ansyslm_linx64.tgz

3) Configure your license file with static ports.

4) Copy/Move your license file into the "license_files" folder of the ANSYS LM install location as "ansyslmd.lic".

cp ~/Downloads/[license_file].txt ~/ansys_inc/shared_files/licenseing/license_files/ansyslmd.lic

5) Start* the ANSYS license manager

~/ansys_inc/shared_files/licensing/start_ansysli

*Note: Always Start the ANSYS license manager after a system reboot.

Check license server status and license usage

~/ansys_inc/shared_files/licensing/linx64/ansysli_server -k info
~/ansys_inc/shared_files/licensing/linx64/lmutil lmstat -c 1055@localhost -a

Lumerical installation

1) Install Lumerical using the default process with root access. For custom installation on a shared filesystem with root access, refer to this article. To install Lumerical without root access, refer to this post.

2) Configure Lumerical to obtain the license from your license server.

Running Lumerical simulations without the GUI

Notes: Without the GUI, you can only run simulation jobs. You cannot run scripts (.lsf/.py files) or optimization sweeps.

  1. Open Terminal.
  2. Change the directory to the location of your simulation file.
  3. Run simulation from the terminal.

Examples: (default install path for Lumerical 2021 R2 using bundled MPICH2)

# FDTD 
/opt/lumerical/v212/mpich2/nemesis/bin/mpiexec -n 16 /opt/lumerical/v211/bin/fdtd-engine-mpich2nem -t 1 -logall simulationfile.fsp 
# EME
/opt/lumerical/v212/mpich2/nemesis/bin/mpiexec -n 1 /opt/lumerical/v211/bin/eme-engine -t 16  simulationfile.lms
# CHARGE
/opt/lumerical/v212/bin/device-engine  simulationfile.ldev
This discussion has been closed.