


{"id":393609,"date":"2024-11-11T15:11:07","date_gmt":"2024-11-11T15:11:07","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/errors-running-ring-modulator-example-on-cluster\/"},"modified":"2024-11-19T18:56:31","modified_gmt":"2024-11-19T18:56:31","slug":"errors-running-ring-modulator-example-on-cluster","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/errors-running-ring-modulator-example-on-cluster\/","title":{"rendered":"Errors Running Ring Modulator Example on Cluster"},"content":{"rendered":"<p>&lt;p&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;Hello! I am using Lumerical (2021R2) through our high-performance computing cluster. Specifically, I am trying to replicate this example simulation: https:\/\/optics.ansys.com\/hc\/en-us\/articles\/360042322794-Ring-Modulator. Our cluster uses the research package, and we have access to all simulation modules used in this example. For further context, I have had no issues running FDE, FDTD, varFDTD, and EME simulations on this cluster.&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt; &lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;I am having trouble executing step 3 using the CHARGE solver. I have already successfully completed steps 1 and 2, and the results are identical to those in the link. For step 3, I have tried a) clicking simulate &#8211;&gt; run at the top right ; b) right clicking step 3 in the parameter sweeps and optimization tab &#8211;&gt; run ; c) right clicking the parameter extraction sweep in the sweeps and optimization tab &#8211;&gt; run. All three of these methods will open up the file associated with step 1, run the simulation, close the file, and repeat for steps 2 and 3. It does the same for step 4, but errors out after it executes the first voltage step (see step 4 error below). Note all of this happens within the single run command from methods a-c mentioned above: I am not touching the simulation software after clicking the run in the .ldev file associated with Step 3, it automatically re-executes everything starting step 1.&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt; &lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;As such, I have some questions:&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt; &lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;1. Step 3, #2 is unclear to me: How do I properly run step 3 of this simulation such that it allows me to run step 4?&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt; &lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;2. Is there a way to only run step 3 without having the software rerun step 1 and 2? &lt;\/span&gt;&lt;\/div&gt;&lt;div&gt; &lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;3. What is going on in step 4 to cause it to break, either internally within the step 3 nest or externally when I run step 4 separately?&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt; &lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;Our cluster&#8217;s IT support recommend reaching out on this forum. Any and all help would be greatly appreciated. Thank you for your time and consideration, and I look foward to your reply!&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt; &lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;Edit: I ran this locally on Lumerical 2024 R1.3 and had no issues. The final results closely matched what was shown in the link above. However, running this locally is not a long term solution, I must run this on the cluster in the near future.&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt; &lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;Best,&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;AD&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;&#8212;&#8212;&#8212;-&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt; &lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;ldev error: &lt;\/span&gt;&lt;\/div&gt;&lt;div&gt; &lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;&#8221;\/software\/lumerical\/2021r2\/lumerical\/v212\/mpich2\/nemesis\/bin\/mpiexec&#8221; -n 1 &#8220;\/software\/lumerical\/2021r2\/lumerical\/v212\/bin\/device-engine&#8221; &#8220;\/projects\/NODE\/USER\/TrialRuns\/RingResonator\/c118296f-ring-modulator\/waveguide_modulator.ldev&#8221;&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt; &lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;srun job start: Fri Nov 1 09:21:19 CDT 2024&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;Job ID: 5747109&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;Username: userNAME&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;Queue: NODE&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;Account: NODE&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;The following variables are not&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;guaranteed to be the same in the&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;prologue and the job run script&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&lt;\/span&gt;&lt;\/div&gt;&lt;div&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;step 4 error: &lt;\/span&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;\/projects\/NODE\/USER\/TrialRuns\/RingResonator\/c118296f-ring-modulator\/waveguide_modulator_parameter_extraction\/voltage_neff_sweep_step4.lsf line 16: The optimization or parameter sweep object &#8216;sweep_voltage&#8217; has no results, please run the optimization or parameter sweep before using getsweepresult.&lt;\/span&gt;&lt;\/div&gt;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-393609","topic","type-topic","status-publish","hentry","topic-tag-cluster","topic-tag-error","topic-tag-example-1","topic-tag-hpc-cluster-1","topic-tag-LumericalCHARGE-1","topic-tag-question-1","topic-tag-ringresonators-1","topic-tag-simulation"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["480237","106247","4274"],"_bbp_author_ip":["165.124.85.27"],"_btv_view_count":["589"],"_bbp_topic_status":["unanswered"],"_bbp_likes_count":["0"],"_edit_last":["480237"],"_bbp_revision_log":["a:1:{i:394387;a:2:{s:6:\"author\";i:480237;s:6:\"reason\";s:0:\"\";}}"],"_bbp_topic_id":["393609"],"_bbp_forum_id":["27833"],"_bbp_engagement":["106247","480237","4274"],"_bbp_voice_count":["3"],"_bbp_reply_count":["16"],"_bbp_last_reply_id":["396861"],"_bbp_last_active_id":["396861"],"_bbp_last_active_time":["2024-12-10 01:37:57"]},"test":"adevatau-northwestern-edu"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/393609","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/393609\/revisions"}],"predecessor-version":[{"id":394387,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/393609\/revisions\/394387"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=393609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}