Sign in with
Sign up | Sign in
Your question
Closed

C++ Compiler for Win 7

Last response: in Windows 7
Share
a b $ Windows 7
September 13, 2010 4:08:13 PM

Hello,

I have some sources that I need to compile and for me to do this I need a good C++ compiler. I was wondering which compiler would be the best for Win 7 and the rig noted in my sig (i7 920 OCed + 12GB RAM + 5850). I was thinking of using ICC (Intel C++ Compiler) that I can get via the CS department at school or is there a GOOD GCC implementation that matches ICC performance in Win 7. Normally, for stuff like this I use Fedora x64 and GCC, however for this project I need Windows. Will Visual Studio work too? I'm not sure since VB is nonstandard version of BASIC.

More about : compiler win

a b $ Windows 7
September 13, 2010 5:02:07 PM

Currently I use Visual Studio 2008 and testing 2010 with Win 7 x64 and XP x86 both works fine.
Score
0
Related resources
a b $ Windows 7
September 13, 2010 8:48:04 PM

Cool. I guess VS would do.

Btw, this is a very CPU & RAM bound program specifically aimed at running some fluid dynamic computations (yes, it is multi threaded up and optimized up to 32 threads). For something like this, would compiling with ICC help much?

Note: I did not write this program. A buddy of mine at CMU wrote it.
Score
0
a b $ Windows 7
September 13, 2010 8:56:38 PM

I don't think so, a better value can have CUDA but u already have ATI so that isn't important.
Score
0
a b $ Windows 7
September 14, 2010 12:00:48 PM

^ Good point. I do still have a 8800GTX + Q6600 rig. I guess we could try CUDA and see. But I think the amount of RAM available on the 8800GTX may be a bottleneck.
Score
0
a b $ Windows 7
September 14, 2010 2:53:13 PM

Maybe or maybe not u only can know that testing I use my GTX260 for Folding and is awesome.
Score
0

Best solution

a b $ Windows 7
September 14, 2010 4:07:06 PM

saint19 said:
I don't think so, a better value can have CUDA but u already have ATI so that isn't important.


honestly i would recommend picking up OpenCL since it is cross vendor cross platform

or if only for windows you could try DirectCompute

and VS would work just fine (use it for windows programming since VS2005)
Share
a b $ Windows 7
September 15, 2010 12:48:28 AM

^ I talked to my friend about it, he said it would be easier to use CUDA since it is already in C++. No idea if this is true or not; I don't use C/C++ (I write in Java and Perl and some Python).

I grabbed ICC from school today, it compiled fine. Will try VS.
Score
0
a b $ Windows 7
September 15, 2010 2:09:01 AM

i would be a bit easier to use (as it is close to c/c++), though OpenCL would allow for either company (as would DirectCompute)
Score
0
a b $ Windows 7
September 18, 2010 4:43:05 PM

Just wanted to let you guys know, we converted it in to CUDA compatible code and ran it on an old 8800GTX.... we completed the sim run in ~ 12minutes. We ran the code on an i7 920 OCed and it took ~32minutes. So yeah, CUDA makes a pretty damn big difference, esp. when the sims will start to get more complicated.

Thank you all.
Score
0
a b $ Windows 7
September 18, 2010 4:44:02 PM

Best answer selected by Shadow703793.
Score
0
a b $ Windows 7
September 18, 2010 5:50:38 PM

This topic has been closed by Mousemonkey
Score
0
!