TAGGED: lumerical, parameter-sweep, sweep
-
-
November 7, 2024 at 5:12 pmrjz23Subscriber
I learned Lumerical FDTD over the last week, and the parameter sweeps and S-parameter sweeps used in it (as configured by the provided scripts) do not work. They keep giving the "Error: prompt line 1: syntax error" error message. I then tried to set up a simple simulation with only a source and a monitor (and a solver region), and swept the z position of the source (using the GUI to configure the sweep). This still didn't work. Is this a problem in the newest version?
-
November 7, 2024 at 8:48 pmGuilin SunAnsys Employee
"syntax error" error message mostly appears in script. Do you have any groups, or check the "model" and see if there is any script.
Please check this example https://optics.ansys.com/hc/en-us/articles/360034922873-Parameter-sweep-utility
I did a quick test with a new project file and new sweep object and it works fine:
-
November 11, 2024 at 4:17 pmrjz23Subscriber
I don't have any groups, and my "model" object doesn't contain any scripts. My setup should be almost identical to yours, but it's still saying syntax error.
-
November 11, 2024 at 4:51 pmGuilin SunAnsys Employee
I would suggest you to have clean installation: https://optics.ansys.com/hc/en-us/articles/5613618572947-Fixing-installation-or-licensing-issues uninstall the current one first, clean all related files, reinstall it. You may also redo a new project file, or test this one: taper https://optics.ansys.com/hc/en-us/articles/360042800413-Linear-waveguide-taper
-
November 19, 2024 at 4:22 pmrjz23Subscriber
Ok, but my installation is based on using the MS-MPI because I have VS Code also installed on my computer. Is there anything I should do differently to what the page says?
-
November 26, 2024 at 9:32 pmLitoAnsys Employee
@rjz23,
To debug the issue, please assist us with the following:
- Run a simulation example from our website, >>Parameter sweep utility – Ansys Optics ? Run this directly and also run the the sweep as shown in the image below.
- Download a simulation and script (.lsf) from our website, e.g. >>Photonic Crystal Slab (RCWA) – Ansys Optics.
- Run the script from the example above #2 and send a screenshot of the error message (if any).
Run simulation and sweep:
Run part/selection of script:
-
- You must be logged in to reply to this topic.
- 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
-
1156
-
488
-
486
-
225
-
201
© 2024 Copyright ANSYS, Inc. All rights reserved.