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

accelerate the performance of simpleFoam solver using paralution library on GPU

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 1, 2017, 06:13
Default accelerate the performance of simpleFoam solver using paralution library on GPU
  #1
New Member
 
Savita Mane
Join Date: Mar 2017
Posts: 4
Rep Power: 2
savee is on a distinguished road
Hello,

I am trying to accelerate the performance of simpleFoam solver in Openfoam on GPU. To integrate openfoam with gpu, I am using paralution library. I have integrated the simpleFoam solver of OpenFOAM-2.4.0 with paralution_PCG. The solver is compiled successfully. But, when I execute a test case using that compiled solver, I get the increase in execution time as compared with the execution time required to execute a test case using simpleFoam solver (without using paralution_PCG). I have taken grid size of 40*40*40 and executed the test case for different number of gpu cores like 4, 8, 16, 32, 64. Even, I have tried by increasing the grid size to 80*80*80, the same result is there. As paralution library is used to accelerate the performance of the solver, but in my case it is not like that..
What is the problem.. why this is happening?
Can anyone please help me..
savee is offline   Reply With Quote

Old   June 12, 2017, 08:45
Default
  #2
Senior Member
 
khedar
Join Date: Oct 2016
Posts: 110
Rep Power: 2
khedar is on a distinguished road
In HPC you cannot just assume that by increasing the number of cores you will get the desired speedup. It depends on lot of factors, major of which is the memory access. If you don't get the desired speedup there is a bottleneck process (memory access) somewhere.

For e.g read this https://cs.stackexchange.com/questions/12670/does-petsc-really-give-speedup

You have to find out what is taking more time in the solving process. This is called profiling.
khedar is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compressible Solver Implementation in FSI Library (Foam-extend 3.2) KarthickRajkumar OpenFOAM Programming & Development 1 January 4, 2017 07:45
fluent divergence for no reason sufjanst FLUENT 2 March 23, 2016 17:08
How to run simpleFoam as an invsicd solver? tareqkh OpenFOAM Running, Solving & CFD 2 August 10, 2015 16:58
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
compressible two phase flow in CFX4.4 youngan CFX 0 July 1, 2003 23:32


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