CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Hardware

Advice on PC build for CFD

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 1 Post By AnhDL
  • 1 Post By flotus1
  • 1 Post By flotus1
  • 1 Post By flotus1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2020, 00:15
Default Advice on PC build for CFD
  #1
New Member
 
Anh Dinh Le
Join Date: Apr 2020
Posts: 24
Rep Power: 6
AnhDL is on a distinguished road
Dear CFD user,

I would like to build a PC (workstation) for my works:
1. Use Ansys Fluent (2D-3D simulation) about 2m cell
2. Run my own Fortran code (2D-3D) for multiphase flow (cavitation)
3. Run in parallel

I read the post in website:
https://www.cfdsupport.com/Newsletter_1604_en.html

The Hardware Configuration I am planning to build here:
1. 2 x CPU intel Xeon E2696 v2 (total 24 cores - 48 threads)
2. Ram DDR3 Samsung ECC 32 1600 (or 64GB)
3. Main: Asrock EP2 C602
3. Hdd 1TB and SSD 240gb
4. VGA GeForce GTX 1050Ti 4Gb GDDD5

This is the first time I build the PC for CFD purpose.
Could you please give me the advice on this PC: is that suitable for my works?

Thank you very much and look forward to hear from you.

Best regards,
aRazs likes this.

Last edited by AnhDL; April 16, 2020 at 02:13.
AnhDL is offline   Reply With Quote

Old   April 16, 2020, 06:28
Default
  #2
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Maybe you already realized, but just to be sure, let me state the obvious:
These recommendations you found are very outdated. The CPUs you chose are almost 7 years old by now.
That does not necessarily make them a bad choice for a CFD computer build. In fact, systems like these have been one of the best budget options for CFD in the past. It just means that they are only a valid option when sourced very cheap through the second hand market.
fredericgaillard likes this.
flotus1 is offline   Reply With Quote

Old   April 16, 2020, 06:53
Default
  #3
New Member
 
Anh Dinh Le
Join Date: Apr 2020
Posts: 24
Rep Power: 6
AnhDL is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
Maybe you already realized, but just to be sure, let me state the obvious:
These recommendations you found are very outdated. The CPUs you chose are almost 7 years old by now.
That does not necessarily make them a bad choice for a CFD computer build. In fact, systems like these have been one of the best budget options for CFD in the past. It just means that they are only a valid option when sourced very cheap through the second hand market.
Thank you, flotus,

The budget is the problem. I have less than $1500 for this PC. In thats case, could you suggest other options for me.

Best,
AnhDL is offline   Reply With Quote

Old   April 16, 2020, 07:58
Default
  #4
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
With a 1500$ budget, you might be able to get one generation newer than that.

The cheapest and easiest option would probably be a used OEM workstation like HP Z840 and the likes.

If you want to build it yourself for a better upgrade path in the future, here are some of the components you could use.

Motherboard: Anything Intel C612 with a reasonable layout for workstation use. For example ASRock Rack EP2C612, which goes for around 350$ new. There are some "dual X99" boards on aliexpress for less than 200$ that would also work.
CPUs: E5-2660v3, 2670v3, 2678v3. These go in the range of 100$ each. V3 Xeons can be unlocked to run at the highest single-core multiplier on all cores, in case you want to mess around with overclocking
8x8GB DDR4-2133 reg ECC. 250$ or less, depending on how good of a deal you can find.
Let's add 100$ for a case (Phanteks Enthoo pro), 100$ for a power supply (at least 600W with two 8-Pin EPS connectors), 80$ for a 500GB SSD and another 100 for a graphics card (1050TI, RX 570 8GB or similar), and 60$ for two CPU coolers.
That should still come out below the 1500$ mark, and leave some room for more storage.
AnhDL likes this.
flotus1 is offline   Reply With Quote

Old   April 16, 2020, 20:07
Default
  #5
New Member
 
Anh Dinh Le
Join Date: Apr 2020
Posts: 24
Rep Power: 6
AnhDL is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
With a 1500$ budget, you might be able to get one generation newer than that.

The cheapest and easiest option would probably be a used OEM workstation like HP Z840 and the likes.

If you want to build it yourself for a better upgrade path in the future, here are some of the components you could use.

Motherboard: Anything Intel C612 with a reasonable layout for workstation use. For example ASRock Rack EP2C612, which goes for around 350$ new. There are some "dual X99" boards on aliexpress for less than 200$ that would also work.
CPUs: E5-2660v3, 2670v3, 2678v3. These go in the range of 100$ each. V3 Xeons can be unlocked to run at the highest single-core multiplier on all cores, in case you want to mess around with overclocking
8x8GB DDR4-2133 reg ECC. 250$ or less, depending on how good of a deal you can find.
Let's add 100$ for a case (Phanteks Enthoo pro), 100$ for a power supply (at least 600W with two 8-Pin EPS connectors), 80$ for a 500GB SSD and another 100 for a graphics card (1050TI, RX 570 8GB or similar), and 60$ for two CPU coolers.
That should still come out below the 1500$ mark, and leave some room for more storage.
Thank for your suggestion.

Last edited by AnhDL; April 17, 2020 at 00:18.
AnhDL is offline   Reply With Quote

Old   April 17, 2020, 00:21
Default
  #6
New Member
 
Anh Dinh Le
Join Date: Apr 2020
Posts: 24
Rep Power: 6
AnhDL is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
With a 1500$ budget, you might be able to get one generation newer than that.

The cheapest and easiest option would probably be a used OEM workstation like HP Z840 and the likes.

If you want to build it yourself for a better upgrade path in the future, here are some of the components you could use.

Motherboard: Anything Intel C612 with a reasonable layout for workstation use. For example ASRock Rack EP2C612, which goes for around 350$ new. There are some "dual X99" boards on aliexpress for less than 200$ that would also work.
CPUs: E5-2660v3, 2670v3, 2678v3. These go in the range of 100$ each. V3 Xeons can be unlocked to run at the highest single-core multiplier on all cores, in case you want to mess around with overclocking
8x8GB DDR4-2133 reg ECC. 250$ or less, depending on how good of a deal you can find.
Let's add 100$ for a case (Phanteks Enthoo pro), 100$ for a power supply (at least 600W with two 8-Pin EPS connectors), 80$ for a 500GB SSD and another 100 for a graphics card (1050TI, RX 570 8GB or similar), and 60$ for two CPU coolers.
That should still come out below the 1500$ mark, and leave some room for more storage.
Hi Alex,

One more question, for my works as indicated in the first post, 1 xeon cpu is good enough or have to use 2 cpu?

Thank you.
AnhDL is offline   Reply With Quote

Old   April 17, 2020, 04:05
Default
  #7
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Do not use one CPU with this setup. There are better configurations for just one CPU.
Since all CPU-related resources are doubled in a dual-socket system, you get effectively twice the parallel performance with a second CPU.
AnhDL likes this.
flotus1 is offline   Reply With Quote

Old   May 10, 2020, 06:50
Default
  #8
New Member
 
Anh Dinh Le
Join Date: Apr 2020
Posts: 24
Rep Power: 6
AnhDL is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
Do not use one CPU with this setup. There are better configurations for just one CPU.
Since all CPU-related resources are doubled in a dual-socket system, you get effectively twice the parallel performance with a second CPU.
Thank you Alex,

I finished build the PC as your advice!
My fortran code run well. However, I see the problem in runing the serial and parallel code since no different calculation speed between those code.
With your experience, please give me the advice!
AnhDL is offline   Reply With Quote

Old   May 10, 2020, 07:00
Default
  #9
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
So your own code does not scale well, or not at all...This issue can be caused by so many factors, hardware being the least of them.
This is definitely a question for a different thread. Be descriptive. Which algorithm did you implement? How do you parallelize the code? How do you compile your code? How do you run your code? And if you can: post your code.
Writing parallel code can be relatively easy. Achieving good scaling and overall performance is the harder part.
flotus1 is offline   Reply With Quote

Old   May 10, 2020, 07:04
Default
  #10
New Member
 
Anh Dinh Le
Join Date: Apr 2020
Posts: 24
Rep Power: 6
AnhDL is on a distinguished road
Dear Alex,

The code is quite long. If it is possible, please give me your email.
I also posted a new thread about this in main forume. Please take a look at the topic
AnhDL is offline   Reply With Quote

Old   May 10, 2020, 07:21
Default
  #11
New Member
 
Anh Dinh Le
Join Date: Apr 2020
Posts: 24
Rep Power: 6
AnhDL is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
So your own code does not scale well, or not at all...This issue can be caused by so many factors, hardware being the least of them.
This is definitely a question for a different thread. Be descriptive. Which algorithm did you implement? How do you parallelize the code? How do you compile your code? How do you run your code? And if you can: post your code.
Writing parallel code can be relatively easy. Achieving good scaling and overall performance is the harder part.
Dear Alex,

The code is quite long. If it is possible, please give me your email.
I also posted a new thread about this in main forume. Please take a look at the topic
AnhDL is offline   Reply With Quote

Old   May 10, 2020, 10:08
Default
  #12
New Member
 
Anh Dinh Le
Join Date: Apr 2020
Posts: 24
Rep Power: 6
AnhDL is on a distinguished road
Here is example of the code. The structure of the code is similar to this sample code.
The serial code obtains by removing all "!$omp...".
Similar, for 2D code, the "!$omp..." is added at outer loop.
Attached Files
File Type: f One_dimension.f (17.4 KB, 13 views)
AnhDL is offline   Reply With Quote

Reply

Tags
computer, cpu, ram


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] How to build Open FOAM with Intel compilers...? ed_teller OpenFOAM Installation 7 November 30, 2016 00:51
OpenFoam 1.6-ext - RPM build errors preibie OpenFOAM 12 September 8, 2011 03:12
Help with new computer build ozzythewise Hardware 4 August 4, 2010 16:18
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
OpenFOAM build from source instructions tj22 OpenFOAM Installation 7 April 6, 2006 16:15


All times are GMT -4. The time now is 00:09.