Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Discuss Simulation Photonics Query related to Rough waveguide 3D FDTD, Simulation time, Negative Transmission Reply To: Query related to Rough waveguide 3D FDTD, Simulation time, Negative Transmission

Lito
Ansys Employee

@Naveen Kumar, 

When you run with SLURM, your command to run multiple simulation files at the same time would be similar to this KB

Example - run 2 simulations on 2 nodes using 32 cores per node per simulation:

#!/bin/sh
#SBATCH --job-name=lumtest%j
#SBATCH --nodes=2
#SBATCH --ntasks=64
#SBATCH --cpus-per-task=1
#SBATCH --ntask-per-node=32
#SBATCH --time=01:00:00
#SBATCH --output=lumtest%j.log

## change directory to the location of your simulation files
cd /{path to simulation files}

## set/configure/load MPI (consult IT/cluster admins)
## example below runs with OpenMPI - using default install path for Lumerical 2024 R2.3

mpirun -n 32 /opt/lumerical/v242/bin/fdtd-engine-ompi-lcl -t 1 {first_simulation.fsp} &
mpirun -n 32 /opt/lumerical/v242/bin/fdtd-engine-impi-lcl -t 1 {second_simulation.fsp} &

Hope this helps. 

Lito

[bingo_chatbox]