¿ªÔÆÌåÓý

LTC Simulation Queue Manager Handling of *.raw files


 

Hi,

Problem:
How to delete *.raw files between successive simulation jobs while using the queue manager.

Background:
I use the queue manager to run Monte-Carlo sims on the same circuit with different design constraints. I form up unique file names, such as, Run1.cir, Run2.cir, Run3.cir etc... each containing a unique netlist.

Setup.ini looks like this:

C:\Program Files (x86)\LTC\LTspiceIV\scad3.exe
C:\Program Files (x86)\LTC\LTspiceIV\Dean\Run_B\Run1.cir
C:\Program Files (x86)\LTC\LTspiceIV\Dean\Run_B\Run2.cir
C:\Program Files (x86)\LTC\LTspiceIV\Dean\Run_B\Run3.cir

The .meas directive is used to place sim measurements into log files .i.e Run1.log, Run2.log, Run3.log .etc...

Each .cir generates a 60-90GB data file which must be deleted before the next .cir is called. This doesn't happen causing the system to run out of resources.
LTSPICE has an option to delete *.raw files upon closure of the executable but, the queue manager does not close the executable between job calls.

Two mitigations I can think of are:
1) Modify the queue manager to close and re-open the LTSPICE executable between job calls. LTSPICE can then delete the *.raw files if so requested.
2) Give LTSPICE the option of deleteing *.raw files at the end of the simulation even if the LTSPICE executable is still active. Here, if requested, *.raw files would be deleted after the .meas directives are run.

The same problem exists for "LTC Simulation Queue Manager.exe" and "LTspSimQ.exe".

Has anyone addressed this or know of a solution? Or am I incorrectly using this tool or missing something?

Regards,

Dean Wilson

Join [email protected] to automatically receive all group messages.