Photonics

Photonics

Topics related to Lumerical and more.

RCWA – running sequentially on the command prompt

    • Ruzan Sokhoyan
      Subscriber

      Hello,

      There is a command prompt to sequentially run FDTD simulations, which is detailed in this link:

       

      https://optics.ansys.com/hc/en-us/articles/5670924480403-Run-FDTD-simulations-sequentially-on-the-command-prompt

       

      What would be a command prompt to sequentially run RCWA simulations, which are located in a given folder?

       

      Thanks!

    • Guilin Sun
      Ansys Employee

      When there is only RCWA without FDTD, you can run RCWA the same way as the link.

      Please try and let me know if you have questions.

    • Ruzan Sokhoyan
      Subscriber

      Should I write this?

      cd /{path_of_simulation_files}
      /opt/lumerical/v242/bin/fdtd-run-local.sh -n 32 *.fsp

      If I do it, I get an error. Here is the information from the log file:

      "All processes are communicating and ready to proceed to simulation...
      Running fsp file: /opt/lumerical/v232/bin/fdtd-engine-mpich2nem -t 1 -nw RCWA_free_space_1.fsp
      There is no FDTD simulation region saved in the fsp file. The simulation cannot proceed.
      Error: parallel error, at least one process could not read the designated file. Process number: 0 had this error"

      How do I need to modify the command line?
    • Guilin Sun
      Ansys Employee

      It seems currently you cannot run rcwa in this way. One suggestion is to use script file, with  run("RCWA");

       

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