Author Topic: "optimizedeviceconfiguration" module does not have an output file.  (Read 34442 times)

0 Members and 1 Guest are viewing this topic.

Offline zwh

  • Regular QuantumATK user
  • **
  • Posts: 8
  • Country: cn
  • Reputation: 0
    • View Profile
Hi everyone, I hope you can help me resolve this issue.
When using the "optimizedeviceconfiguration" module for device optimization, the optimized device model is missing from the HDF5 file. I'm not sure what the problem is—could it be that I missed something during the setup?
Please help me take a look. Thank you for your help!

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5744
  • Country: dk
  • Reputation: 112
    • View Profile
    • QuantumATK at Synopsys
In your script, you never "nlsave" the final output geometry. But are you sure the "optimizedeviceconfiguration" object is not the optimized one?
« Last Edit: April 29, 2025, 01:46 by Anders Blom »

Offline zwh

  • Regular QuantumATK user
  • **
  • Posts: 8
  • Country: cn
  • Reputation: 0
    • View Profile
Dear Anders Blom,
Thank you very much for your response. When I try to open the optimizedeviceconfiguration in my HDF5 file, it shows an error. However, I have never encountered this type of issue before. I hope you can assist me with this.

Best regards.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5744
  • Country: dk
  • Reputation: 112
    • View Profile
    • QuantumATK at Synopsys
That is odd. Software version? Maybe you can share the file. Or just rerun and add nlsave to the end.

Offline zwh

  • Regular QuantumATK user
  • **
  • Posts: 8
  • Country: cn
  • Reputation: 0
    • View Profile
I add nlasve at the end of the script and save the file to the new file name ( optdevice2.hdf5 ), but there is only the initial unoptimized structure in the new file, and there is no optimized HDF5 file.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5744
  • Country: dk
  • Reputation: 112
    • View Profile
    • QuantumATK at Synopsys
Yes, you should of course save the optimized configuration, i.e. nlsave("file.hdf5", optimize_device_configuration)