-
-
April 24, 2022 at 10:18 pmschinta3Subscriber
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?
April 25, 2022 at 4:39 pmLitoAnsys EmployeeRunning 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.
April 25, 2022 at 5:26 pmschinta3SubscriberHello
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
April 25, 2022 at 5:40 pmLitoAnsys EmployeeAn 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.
October 15, 2023 at 6:55 pmAli VafaSubscriberI 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!
November 18, 2023 at 4:08 pmSimenew AssefaSubscriberwhat is the difference between file.lsp and file.fsp?
Viewing 5 reply threads- The topic ‘Running .lsf’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Import material .txt file with script
- Calculation of correlation values in laser modulation bandwidth simulation
- Trapezoidal ring
- Help for qINTERCONNECT
- Issues with getting result from interconnent analysis script
- Topology Optimization Error
- Edge Coupler EME Example Issue
Top Contributors-
1156
-
471
-
468
-
225
-
201
Top Rated Tags© 2024 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-