CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

accelerate the performance of simpleFoam solver using paralution library on GPU

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 9
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: 111
Rep Power: 9
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

Old   March 13, 2019, 07:18
Default paralution with openfoam
  #3
New Member
 
Manasi Tiwari
Join Date: Aug 2018
Posts: 3
Rep Power: 7
manasitiwari is on a distinguished road
Hi Savee,

I don't know if you found the solution to your problem but maybe you can solve mine. I am not able to use Paralution with OpenFOAM. You have mentioned in your post that you were able to compile OpenFOAM solver's with paralution library. I was going through Paralution's documentation and they mention a Make/file option. I dont know where to look for it. Can you please help me?

I have been stuck on it for 2 days.

Thanks and Regards,
Manasi
manasitiwari is offline   Reply With Quote

Old   January 7, 2020, 00:37
Default
  #4
Member
 
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 6
sunagra27 is on a distinguished road
Hi Savee,

I am working on chtMultiRegionSimpleFoam and I would like to accelerate using paralution library. I have installed paralution using user manual as suggested. The installation is done well.

But, I am getting a problem while adding, for example "paralution_PCG.C" to Make/files folder and also in options folder. I am getting an error stating the " No rule to make target 'Make/linux64GccDPInt32Opt/".

With respect to this, I know I am missing something in Make file, but I am unable to find the reason fot it. I have also added path to "LD_LIBRARY_PATH".

Please help me out with this as your paralution is working fine.

Thanks and Regards,

Sunag R A.
sunagra27 is offline   Reply With Quote

Reply


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
Compressible Solver Implementation in FSI Library (Foam-extend 3.2) KarthickRajkumar OpenFOAM Programming & Development 1 January 4, 2017 06:45
fluent divergence for no reason sufjanst FLUENT 2 March 23, 2016 16: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 20: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 21:18.