Photonics

Photonics

Is there a Lumerical script command to output the Simulation and Memory requirements?

Tagged: ,

    • fdtdisgreat
      Subscriber

      Hi all,

      Is there a Lumerical script command to output the memory requirements from the 'Check" toolbar option for FDTD? I tried looking on the Lumerical Scripting webpages and this forum and couldn't see any information on this. Thanks!

    • Guilin Sun
      Ansys Employee
      Yes, in 2021R2.1 new release you can use runsystemcheck and then you will get a struct, which has sub-struct containing memory check information.
      For example:
      ?aa=runsystemcheck;
      Struct with fields:
      Approximate_Memory_Requirements
      Frequency_WaveLength_Settings
      Materials
      Memory_Details
      Memory_Recommended
      Mesh_Override
      Total_FDTD_Yee_Nodes
      then you can get the memory info:
      ?bb=aa.Approximate_Memory_Requirements;
      Struct with fields:
      Alert
      Data_Collection_Bytes
      FSP_Saved_Monitor_Data_Bytes
      Initialization_and_Mesh_Bytes
      Running_Simulation_Bytes
      Here is the initialization and mesh memory:
      ?bb.Initialization_and_Mesh_Bytes;
      result:
      167772160
      Please update to the newest version.
    • fdtdisgreat
      Subscriber
      This is fantastic, thank you so much gsun! runsystemcheck works perfectly!
Viewing 2 reply threads
  • You must be logged in to reply to this topic.