


{"id":346416,"date":"2024-01-24T17:33:59","date_gmt":"2024-01-24T17:33:59","guid":{"rendered":"\/forum\/forums\/reply\/346416\/"},"modified":"2024-01-24T17:33:59","modified_gmt":"2024-01-24T17:33:59","slug":"346416","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/346416\/","title":{"rendered":"Reply To: Run FDTD optimization on cluster without opening the CAD"},"content":{"rendered":"<p>&lt;p&gt;@xh19363,&nbsp;&lt;\/p&gt;&lt;p&gt;Just to add, API\/script (lumapi, lumopt) is part of our CAD\/GUI environment and will require a GUI connection and a GUI license to run.&nbsp;&lt;br&gt;&gt;<a href=\"https:\/\/optics.ansys.com\/hc\/en-us\/articles\/360033862333-Lumerical-product-components-and-licensing-overview\">Lumerical product components and licensing overview &ndash; Ansys Optics<\/a>&nbsp;&lt;br&gt;&gt;<a href=\"https:\/\/optics.ansys.com\/hc\/en-us\/articles\/360037824513-Python-API-overview\">Python API overview &ndash; Ansys Optics<\/a>&nbsp;&lt;\/p&gt;&lt;p&gt;If you want to run the scripts without a GUI\/Desktop connection, we have the KB below as a workaround. With newer versions of Lumerical you can use the &#8220;QT_QPA_PLATFORM&#8221; variable together with (hide=True) option. For the older versions you can use virtual display (Xvfb). Note that running the script (.py or .lsf) even with the CAD\/GUI &#8216;hidden&#8217; will always checkout a GUI license.&nbsp;&lt;br&gt;&gt;<a href=\"https:\/\/optics.ansys.com\/hc\/en-us\/articles\/360042785654-Running-CAD-jobs-on-headless-Linux-systems\">Running CAD jobs on headless Linux systems &ndash; Ansys Optics<\/a>&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-346416","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/346416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/346416\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=346416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}