We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Photonics

Photonics

Topics related to Lumerical and more.

FDTD Closes in Middle of Script

    • adevata
      Subscriber

      I am running Lumerical 2024r1 on one of our lab's local workstations by remoting (RDP) into it via my personal computer (Windows 11). More specifically, once remoted in, I am opening a (Lumerical) FDTD GUI and running a .lsf script which iterates through a few parameters and runs the simulation for each change. The script also subsequently saves the current iteration's data as the last step before moving to the next iteration. Ideally, I want to run my script and have it complete all of the iterations while I am doing other things on my computer. 

      Recently, I noticed that if my RDP window was minimized, if I am disconnected from RDP, or if my computer is turned off/sleeping, Lumerical will finish the iteration, save the data, and close the GUI. Since the script runs in the same GUI, it is forced to terminate. As such, my remaining iterations are not run. If RDP is open as the iteration finishes, I encounter no such problems, and the next iteration starts without any problems. How should I go about solving this problem?

      I cannot avoid running the script as these iterations take a while but the simulation time changes between each iteration. Please let me know if there is any other information I can provide. Thanks in advance for the help!

    • Kirill
      Ansys Employee

      Dear Subscriber,

      1. What operating system (OS) is on the remote machine?
      2. Please check if you encounter the same issue while running a sweep.

      Best regards,
      Kirill

       

    • adevata
      Subscriber

      Hi Kirill,

      Thank you for your reply! 

      1. The OS is Windows 11 Pro for Workstations
      2. I am currently running a parameter sweep. It has finished a few iterations and has not automatically closed. The full parameter sweep is not done though.

      While this seems to temporarily work, the variables I am changing are not conducive to parameter sweeps. Do the answers above provide any insight into what the issue could be, or is there a workaround that will allow me to use my script without using a parameter sweep? Thank you again for the help!

      Cheers,

      AD

    • Kirill
      Ansys Employee

      Dear Subscriber,

      I would say this is not a Lumerical-specific issue. It’s hard to determine what might help in this case, as it is a very rare issue and we have been unable to reproduce it.

      Here are some potential solutions:

      1. Try using a different Remote Desktop application.
      2. Adjust your RDP session settings. You can search online for:
        • "How do I keep an RDP session alive from the client side?"
        • "Can the GUI of an RDP session remain active after disconnect?"
      3. Installing the manufacturer’s graphics drivers on both machines has been known to help in some cases.

      Best regards,
      Kirill

Viewing 3 reply threads
  • You must be logged in to reply to this topic.