CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] CPU instead of GPU renderer in openFOAM included ParaView

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By superkelle

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2019, 09:11
Question CPU instead of GPU renderer in openFOAM included ParaView
  #1
Member
 
alexander thierfelder
Join Date: Dec 2019
Posts: 71
Rep Power: 7
superkelle is on a distinguished road
Hi I have noticed some strange behavior of my ParaView installation, and I'm interested if someone has had the same issue:



I installed openFOAM7 including ParaView 5.6 from https://openfoam.org/news/v7-patch/ on my Ubuntu19.04 system. If I load a file and just view on different angles at it, for example a simple block mesh, my CPU usage is nearly at 100% on all cores and my CPU cooler gets really loud. My AMD RX570 graphics card is doing nearly nothing at this point. ( I used htop and radeontop to monitor that)

I was very curiouse about that so I installed openFOAM also in the WSL on my Windows Partition. I use xming to display ParaView out of the WSL and with the same files I did not have the same issue like on Ubuntu.

Then I installed an seperate ParaView 5.7 from https://www.paraview.org/download/ under Ubuntu19.04, by extracting it to "/opt/paraview57", renaming the "paraview" file in "opt/paraview57/bin" to "paraview57" and finaly exporting "/opt/bin/" to PATH via editing the "~/.bashrc" (I'm no LINUX pro and don't know if that's the best way but to install something, it works somehow)

And with this installation paraview57 did use more GPU resources instead CPU resources and the CPU cooler was quiet.
Now I saw that in ParaView under "Help/About" there were different entrys at "OpenGL Version" and OpenGL Renderer" in

5.6 (includes in OF) OpenGL Version: 3.3 (Core Profile) Mesa 18.3.4 and OpenGL Rendere:llvmpipe (LLVM 8.0, 128 bits)

5.7 (seperate installation) OpenGL Version: 4.5 (Core Profile) Mesa 19.0.8 and OpenGL Renderer: Radeon RX 570 Series



I would like to use the included 5.6 version since several scripts like paraFoam use that included 5.6 version and I get some warnings and errors with the 5.7 version (Fontconfig error and Fontconfig warning).



So my questions are: Does anybody have a similar problem and maybe a solution to that? Is there maybe a possibility to change the renderer in the 5.6 version?



Best regards
Attached Images
File Type: jpg Screenshot from 2019-12-04 12-00-33.jpg (65.5 KB, 34 views)
File Type: jpg Screenshot from 2019-12-04 12-00-09.jpg (65.4 KB, 28 views)
Saulhr likes this.
superkelle is offline   Reply With Quote

Old   January 10, 2020, 14:24
Default same problem
  #2
New Member
 
Join Date: Mar 2019
Location: Mexico
Posts: 8
Rep Power: 7
Saulhr is on a distinguished road
I have the same problem, too. I join the request to know if the NVIDIA card can be used for rendering when using ParaView on Ubuntu.
Saulhr is offline   Reply With Quote

Old   January 26, 2020, 06:51
Default
  #3
Member
 
alexander thierfelder
Join Date: Dec 2019
Posts: 71
Rep Power: 7
superkelle is on a distinguished road
Quote:
Originally Posted by Saulhr View Post
I have the same problem, too. I join the request to know if the NVIDIA card can be used for rendering when using ParaView on Ubuntu.
I can just highly recommend you to use a standalone version of paraview. Here is a link for propper installation. you have to adapt it to the newer version name, but that isn't difficult. Or just use apt, but you wont get the newest version there.

https://sztr.wordpress.com/2017/01/2...-ubuntu-16-04/
superkelle is offline   Reply With Quote

Reply

Tags
cpu usage, gpu usage, opengl, renderer


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
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
OpenFOAM 13 Intel quadcore parallel results msrinath80 OpenFOAM Running, Solving & CFD 13 February 5, 2008 06:26
OpenFOAM 13 AMD quadcore parallel results msrinath80 OpenFOAM Running, Solving & CFD 1 November 11, 2007 00:23


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