TAGGED: -mode-extraction
-
-
February 1, 2023 at 10:00 pm
schinta3
SubscriberHello,
We have an HPC cluster with only headless nodes (no X11 forwarding). Is there any way to run MODE without the GUI, or process .lms files in any way?
Essentially we would like to use this methodology https://optics.ansys.com/hc/en-us/articles/1500006208582-Sweep-analysis-for-dispersion-calculations from command line.
-
February 2, 2023 at 5:27 pm
Lito Yap
Ansys Employee@schinta3,
You cannot run the Lumerical "script.lsf" on a headless cluster. Lumerical scripts require a GUI connection to run.
>>Lumerical product components and licensing overview – Ansys Optics
You can only run the "simulation_file.lms" directly from the terminal or on your cluster's job scheduler submission script.
>>Running simulations using terminal in Linux – Ansys Optics
The command line to run the "simulation.lms" file would be something like this: (default install path for 2023 R1 shown)
/opt/lumerical/v231/mpich2/nemesis/bin/mpiexec -n 4 /opt/lumerical/v231/bin/fd-engine -t 1 simulationfile.lms
/opt/lumerical/v231/mpich2/nemesis/bin/mpiexec -n 4 /opt/lumerical/v231/bin/eme-engine-mpich2nem -t 1 simulationfile.lms
/opt/lumerical/v231/mpich2/nemesis/bin/mpiexec -n 4 /opt/lumerical/v231/bin/varfdtd-engine-mpich2nem -t 1 simulationfile.lmsSee also the KB guide below on how to run sweeps without the CAD.
>>Running parameter sweeps without the CAD – Ansys Optics
Hope this helps.
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- “Import optical generation” or “delta generation rate”?
- Error: addfdtd is not a valid function or a variable name
- Error on Lumerical device
- Using a license file on a new license server
- Ansys Insight: Transmission results greater than one
- Ansys Insight: Diverging Simulations
- Finding your Ansys (or Lumerical) account number
- Ansys Insight: Why my simulation result is different from published paper or experiment?
- Is there a Lumerical script command to output the Simulation and Memory requirements?
-
5364
-
3363
-
2471
-
1310
-
1020
© 2023 Copyright ANSYS, Inc. All rights reserved.