I’m trying to set up a workflow for multiple users on the same machine. The way we are currently using Lumerical requires a user to call another user telling him when his simulation is finished, etc, and we obviously want to automate this.
I started using the batch file here https://kb.lumerical.com/en/index.html?user_guide_run_win_solver_command_line_direct.html. I’m using the run_simulations.bat file to avoid the command prompt.
What I thought of: When a user finishes setting up a simulation, he “submits a job” is by saving the simulation file to a “Jobs” folder then double clicking the run_simulations.bat file (which will be saved in the “Jobs” folder). In case another user has another simulation, all he has to do is save his file in the Jobs folder and double click the run_simulations.bat file. But what that will do is run the second simulation in parallel (check out a second engine license) instead of queuing the job to run after the current run. Also, how can I add to the batch file code that copies the files that have been simulated to another folder to avoid re-running these simulations?