Ansys Lumerical

Installation

Lumerical is available for Windows and Linux.

  1. Go to https://download.ansys.com/currentReleases, create an account, and login.
  2. Choose you operating system and, under Primary Packages, download the Lumerical (Full Package) suite.

License configuration

  1. When prompted for a license, make sure you are connected to a DTU Network (either physically or via VPN).
  2. Choose the Ansys configuration, and user the following configuration. Server: license5.cc.dtu.dk; port: 4211.

HPC configuration

Several versions of Lumerical are already installed in the DTU HPC cluster. To access, simply log in via https://thinlinc.gbar.dtu.dk/ with your DTU credentials.

See Accessing the HPC cluster for more information.

Submitting a Lumerical FDTD job

This script uses Lumerical version 2025R2.0.4 for the simulation.

#!/bin/sh

#BSUB -J yourjobname
#BSUB -q hpc
#BSUB -n 5
#BSUB -u yourinitials@dtu.dk
#BSUB -N
#BSUB -R "span[hosts=1]"
#BSUB -R "rusage[mem=1GB]"
#BSUB -W 18:00
#BSUB -e error.txt
#BSUB -o output.txt

export OMP_NUM_THREADS=$LSB_DJOB_NUMPROC
LUMERICALROOT=/appl/ansys/2025R204/v252/Lumerical
export PATH=$LUMERICALROOT/bin:$PATH

HYDRA_BOOTSTRAP=lsf

module load mpi4py/4.1.1-python-3.14.2-openmpi-5.0.9
mpiexec $LUMERICALROOT/bin/fdtd-engine-ompi-lcl -t 1 yoursimulationfile.fsp

  bsub <scriptname.sh