Page 1 of 1

Batch mode overhead time

Posted: Mon 13 Jun 2022 19:29
by wtam
Dear colleagues,

I am trying to run TraceWin with a wrapper (e.g. Matlab) for batch mode simulations or optimization. I found that overhead time for launching and closing TraceWin is quite long, even for the noGUI version. Is it your experience and what do you do to reduce the overhead time?

Best regards,
Wai-Ming

Re: Batch mode overhead time

Posted: Thu 16 Jun 2022 08:32
by npichoff
Dear Wai-Ming,

I also did this recently on my laptop (Windows) and observe no overhead (maybe to short to be significant in my calculation.
I used the instruction : "dos('TraceWin_noGUI xxx.ini >res.dat');"
Note that the TraceWin_noGUI is in the same directory as the matlab file.

Best regards.

Nicolas.

Re: Batch mode overhead time

Posted: Thu 16 Jun 2022 13:10
by Didier
Dear Wai-Ming,

Another suggestion is to use TraceW64.exe(Windows) or tracelx64(Linux) instead TraceWin_noGUI code. They are lighter and therefore probably faster to launch. The disadvantage is that they don't use the mutlti-threaded capability of your computer,but it can make sense depending on your objectives.

Regards,

Didier