The guidelines show the process of running FDTD simulations using the bundled script in sequence. This process using the script, 'fdtd-run-local' allows running the simulations sequentially up to a maximum of 32 cores while utilizing only 1 FDTD solve license. The simulations can be left running in the background until all jobs are done. The bundled script can be found in:
- Windows:
"C:\Program Files\Lumerical\[[verpath]]\bin\"
- Linux:
/opt/lumerical/[[verpath]]/bin/
Running simulations sequentially
- Ensure that the simulation files are stored in a directory that you have read/write access to.
- Open a command prompt in Windows or terminal in Linux.
- Change the directory to the folder containing your simulation files.
- Run the simulations using the script including the install path as shown below:
Example: Run all simulations in the folder using 16 processes on your PC with Lumerical 2021 R1.
cd C:\{path_of_simulation_files}
"C:\Program Files\Lumerical\[[verpath]]\bin\fdtd-run-local.bat" -n 16 *.fsp
Example: Run simulations using 32 processes on Linux with Lumerical 2021 R1.
cd /{path_of_simulation_files}
/opt/lumerical/[[verpath]]/bin/fdtd-run-local.sh -n 32 *.fsp
Notes: Do not close the command prompt while the simulation is running. This will terminate the entire process and will not run all simulation files.