


{"id":197381,"date":"2021-11-13T01:29:29","date_gmt":"2021-11-13T01:29:29","guid":{"rendered":"\/forum\/forums\/reply\/197381\/"},"modified":"2021-11-13T01:30:55","modified_gmt":"2021-11-13T01:30:55","slug":"197381","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/197381\/","title":{"rendered":"Reply To: Lumerical Python API doesn&#8217;t Use the full capacity of the assigned CPU in HPC"},"content":{"rendered":"<p>The Automation\/Python API is part of our scripting environment. This will take the resource configuration settings from the FDTD CAD when running the simulation. i.e. the resource configuration set in the CAD\/GUI is stored in your <a href=\"https:\/\/support.lumerical.com\/hc\/en-us\/articles\/360025358714-Specify-license-manager-location-non-graphically#toc_3\" target=\"blank\">user&#8217;s preference<\/a> &#8220;<strong>FDTD Solutions.ini<\/strong>&#8221; file. This is used by the script to run the simulation. It will not run using the resources set in your submission script. If you want to use the resources set in your submission script you will have to run the &#8220;<strong>simulation.fsp&#8221;<\/strong> file directly by something like:<br \/>\nmpirun \/path\/to\/Lumerical\/installation\/bin\/fdtd-engine-impi-lcl -t 1 simulationfile.fsp  <br \/>\nOtherwise, set your <a href=\"https:\/\/support.lumerical.com\/hc\/en-us\/articles\/360026321353\" target=\"blank\">resources<\/a> in the CAD\/GUI and run the python script from the FDTD CAD\/GUI. See this article for details: <a href=\"https:\/\/support.lumerical.com\/hc\/en-us\/articles\/360034620113-Lumerical-job-scheduler-integration-configuration-Slurm-Torque-LSF-SGE-\" target=\"blank\">Lumerical job scheduler integration configuration (Slurm, Torque, LSF, SGE)<\/a> <\/p>\n","protected":false},"template":"","class_list":["post-197381","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/197381","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\/197381\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=197381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}