Serving the Quantitative Finance Community

 
User avatar
piterdias
Topic Author
Posts: 0
Joined: July 14th, 2002, 3:00 am

MSVC++ 2010 Express is a CPU eater

June 12th, 2011, 12:16 pm

Guys,I have a Quad-Core workstation and I can see that MSVC++ really uses all of it while compiling my stuff (well, QuantLib stuff). Although I use to do something else during a long compiling, sometimes I need to keep using my computer, but the compiler looks like a cancer in metastasis. As long as there is CPU power available (and if it is possible, of course) it tries to do parallel compiling.Is there a way to setup MSVC++ to use less cores or do less parallel compiling?Thanks in advance,
 
User avatar
Hansi
Posts: 41
Joined: January 25th, 2010, 11:47 am

MSVC++ 2010 Express is a CPU eater

June 12th, 2011, 12:35 pm

Are you running it via cmd prompt or VS? If in VS here are the settings:http://blogs.msdn.com/b/visualstudio/ar ... 010.aspxIf you are running the compiler via cmd prompt this might be a solution but I'm sure the configs can be supplied too, just not sure where they are located or passed in:http://stackoverflow.com/questions/4208 ... nt-of-nice
Last edited by Hansi on June 11th, 2011, 10:00 pm, edited 1 time in total.
 
User avatar
quantmeh
Posts: 0
Joined: April 6th, 2007, 1:39 pm

MSVC++ 2010 Express is a CPU eater

June 12th, 2011, 1:36 pm

QuoteOriginally posted by: piterdiasAs long as there is CPU power available (and if it is possible, of course) it tries to do parallel compiling.it's a good thing
 
User avatar
piterdias
Topic Author
Posts: 0
Joined: July 14th, 2002, 3:00 am

MSVC++ 2010 Express is a CPU eater

July 2nd, 2011, 8:00 pm

It worked like a charm. Now I can compile and watch a move at the same time.Thanks a lot.