Batch mode overhead time

https://www.dacm-logiciels.fr/tracewin
Post Reply
United States of Americawtam
Skilled
Skilled
Posts: 109
Joined: Mon 7 Dec 2020 06:17
Location: Boston
Country:
United States of America (us)
United States of America

Batch mode overhead time

Post by United States of Americawtam »

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
User avatar
Francenpichoff
Global moderators
Global moderators
Posts: 31
Joined: Wed 26 Aug 2020 17:40
Country:
France (fr)
France

Re: Batch mode overhead time

Post by Francenpichoff »

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.
User avatar
FranceDidier
Administrator
Administrator
Posts: 975
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Batch mode overhead time

Post by FranceDidier »

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
Post Reply