Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Dependencies for ANSYS Lumerical, see FIXME for detailed instructions

Available Versions of Lumerical

Version

Module

Available on

deps_for_2024R1

phys/Lumerical/deps_for_2024R1

Noctua 2

This table is generated automatically. If you need other versions please click pc2-support@uni-paderborn.de.

...

  1. Steps depending on the operating system:

    1. Windows: On Windows, you need to ensure SSH and SCP are added to the system's PATH. Depending on Windows' version, you can install Git Bash or OpenSSH for Windows.

  2. Configure Lumerical to submit to the cluster:

    1. Open the compute resource configuration in Lumerical via the menu Simulation->Configure resources.

    2. Deactivate the usage of “Local Host” by double-clicking “true” in the corresponding row and selecting “false”.

    3. Create a new resource by clicking “Add” on the right side.

    4. Rename the new resource from “Local Host” to “Noctua 2“.

    5. Edit the new Resource by selecting the corresponding row in the table and clicking “Edit” on the Right:

      1. Job launching Preset: Job Scheduler: Slurm

      2. command: sbatch -N 1 --ntasks-per-node=64 --cpus-per-task=1 -p normal -t 30:00 -A hpc-prf-[abbreviation of compute project]

      3. Submission script:

        Code Block
        #!/bin/bash
        module reset
        module load phys/Lumerical/deps_for_2024R1
        
        export LM_LICENSE_FILE=[license sever]
        export ANSYSLMD_LICENSE_FILE=$LM_LICENSE_FILE
        
        export LUMERICAL_DIR="[directory of your Lumerical installation]"
        export LUMERICAL_BIN=$LUMERICAL_DIR/bin
        
        export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
        export OMP_PLACES=cores
        export OMP_PROC_BIND=true
        
        srun $LUMERICAL_BIN/fdtd-engine-ompi-lcl -logall -remote /home/robert/tmp/lumerical/sweep/s-parametersweep_1.fsp
        

        Please replace:
        - [directory of your Lumerical installation] with the path to your Lumerical installation on the cluster. The path will likely start with /pc2/groups/hpc-prf-[abbreviation of compute project]/
        - [license server]: with the URL to the license server that hosts the Lumerical licenses, i.e., [hostnameport]:@[porthostname]

Usage

After the above one-time setup you can use the cluster to run your Lumiercal calculations by simply clicking “Run” in the graphical interface. The Job Manager will open to monitor your job and see progress.

...