Photonics

Photonics

Topics related to Lumerical and more.

Running .lsf

TAGGED: ,

    • schinta3
      Subscriber

      Hello,

      I am running Lumerical FDTD through a Singularity container on a local cluster (SLURM job submission).

      On a very large parameter sweep, every .fsp file has run. I have written a .lsf script file that runs on my local computer to grab all the required data and save this as a matlab file.

      Using the same command line script, however, does not allow me to run a .lsf script

      mpiexec singularity exec /home/schinta3/singularity/Lumerical_DID_8.18.1332.sif fdtd-engine-impi-lcl 'script name.lsf''

      Is the command being used, that works on fsp files. Is there a way to run a .lsf on a remote cluster?

    • Lito
      Ansys Employee
      Running Lumerical script.lsf files will require a GUI interface/environment. This is run using the CAD/GUI executable not the engine executable (default install path shown below):
      /opt/lumerical/v221/bin/fdtd-solutions -nw -trust-script -run scriptfile.lsf
      Does the cluster allow a GUI connection/interface? Otherwise, for headless cluster (no GUI) you can only run the simulation file on the cluster then do the pre/post on the CAD/GUI on your local computer as shown here.
    • schinta3
      Subscriber
      Hello
      Thank you Lito. We only have a headless cluster for now w/o X11.
      When generating simulation files, from a parameter sweep save to files. In the model s object set up script, I have written it so the simulation 'auto-scales' all relevant monitors/objects, etc on generation of each file. It seems, the model analysis script does not run automatically at the end of the simulation run through the engine.
      Is there any way to accomplish this? Or does the analysis script also need to be run through the gui.
      Best Sreyas
    • Lito
      Ansys Employee
      An option would be to run using virtual display. Running the Lumerical scripts will require a CAD/GUI environment and a GUI license. Consult with IT/cluster admin if this would work on your cluster.
      Note:This is not supported on all Linux installations and is provided as is without further support. When running a simulation using the script, the resource configuration settings in theLumerical product preference.inifile will be used to run the simulation. Ensure that you have the product preference.ini file on your local folder to run your simulation with virtual display.
    • Ali Vafa
      Subscriber

      I also need the Analysis script of the model (or any other script that does not have access to GUI functions and can only access simulation data and the filesystem) to run automatically after the simulation using the engine. It would save a lot of time, as loading each .fsp file and generating outputs is very time-consuming, especially with large files. I am looking forward to the future updates!

    • Simenew Assefa
      Subscriber

      what is the difference between  file.lsp and file.fsp?

Viewing 5 reply threads
  • The topic ‘Running .lsf’ is closed to new replies.