Ansys Lumerical
Installation
Lumerical is available for Windows and Linux.
- Go to https://download.ansys.com/currentReleases, create an account, and login.
- Choose you operating system and, under Primary Packages, download the Lumerical (Full Package) suite.
License configuration
- When prompted for a license, make sure you are connected to a DTU Network (either physically or via VPN).
- 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.
- Transfer your simulation file (.fsp for a FDTD simulation) in the home HPC folder
- Create a bash script that includes the following commands, modifying the appropriate parts:
#!/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
- Open a terminal in the folder containing the simulation file and your script
- Submit a job to the HPC with the command
bsub <scriptname.sh
- To learn more about what each command means, visit https://www.hpc.dtu.dk/?page_id=1416