This page shows the process of running simulations in parallel on the local computer or remotely on another Windows PC. The process shown will be running from the Windows Command Prompt to avoid issues with the resources configuration when running simulations on different computers concurrently.
Requisites
- Setup your network or computers for parallel computing. See this article for details. The shared folder/network drive should have the same mapping for all PCs that will be running simulations.
- Configure your login credential with Intel MPI. See this KB page for details.
- A solve license for each computer that is running a simulation.
Run simulations concurrently
- Open a command prompt on your PC and run a simulation on your computer.
"C:\Program Files\Lumerical\[[verpath]]\bin\fdtd-engine-msmpi.exe" -t 32 "\\network_path\filename-1.fsp"
- To run another simulation on a different Windows computer, open another command prompt and run the simulation using 'Intel MPI' to run remote jobs on a different Windows machine.
"C:\Program Files (x86)\IntelSWTools\mpi\2018.4.274\intel64\bin\mpiexec.exe" -env APPDATA "writable\foder\" -n 32 -host remotehost "C:\Program Files\Lumerical\[[verpath]]\bin\fdtd-engine-impi.exe" -t 1 "\\network_path\filename-2.fsp"
- To run more simulations at the same time, open as many command prompt as you want to run simulations and run the job on your local computer or with 'Intel MPI' on a different PC using the appropriate {hostname/IP} and {filename}.
TIP: Create a script file for this process similar to below. i.e. Run 3 simulations on the local computer and 2 other Windows PCs on your network.
start "Run on local PC" "C:\Program Files\Microsoft MPI\Bin\mpiexec.exe" -n 12 "C:\Program Files\Lumerical\[[verpath]]\bin\fdtd-engine-msmpi.exe" -t 1 "\\network_path\filename-1.fsp"
start "Run on computer 2" "C:\Program Files (x86)\IntelSWTools\mpi\2018.4.274\intel64\bin\mpiexec.exe" -env APPDATA "writable\foder\" -n 32 -host remotehost2 "C:\Program Files\Lumerical\[[verpath]]\bin\fdtd-engine-impi.exe" -t 1 "\\network_path\filename-2.fsp"
start "Run on computer 3" "C:\Program Files (x86)\IntelSWTools\mpi\2018.4.274\intel64\bin\mpiexec.exe" -n 16 -env APPDATA "writable\foder\" -host remotehost3 "C:\Program Files\Lumerical\[[verpath]]\bin\fdtd-engine-impi.exe" -t 1 "\\network_path\filename-3.fsp"