I've noticed that the peak memory usage as reported towards the end of the spectre simulation run keeps increasing after each iteration of my monte carlo simulations. So, if I have 100 runs going, and each run takes about 0.1 GB, then the Monte Carlo sim would theoretically end up requiring 10 GB of RAM at the end. Theoretically, as the simulation inevitably crashes as the job runs out of memory.
So far, the only way around is to launch multiple monte carlo sims in parallel, each running fewer iterations, and each on a different machine. At the end, the results have to be merged and post-processed by hand, or with some user-defined script.
I fail to understand why Spectre needs to store everything in the RAM till the end. Is there any option which can be used to disable this memory leak? I am running Monte Carlo sims with spectremdl.
Hi VivekWould you please provide the following information?terminal>virtuoso -Wterminal>spectre -WIf you are using an old version of spectre, it might be good to retry using the latest version.Best regardsQuek