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

[OpenFOAM.org] Openfoam 4.1 conflicts with Cuda 7.5 on ubuntu 16.04

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Hillie

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2017, 01:47
Default Openfoam 4.1 conflicts with Cuda 7.5 on ubuntu 16.04
  #1
Member
 
Hilbert
Join Date: Aug 2015
Location: Australia
Posts: 50
Rep Power: 10
Hillie is on a distinguished road
Hi all,

For a while I have been running openfoamV4.1 installed via apt-get and that has all gone smoothly.
This afternoon I though I would have a look at Cuda, the accelerated computing toolbox from Nvidia.
When I load Cuda in my .bashrc file I get the following error in openfoam:
reconstructPar: error while loading shared libraries: libfiniteVolume.so: cannot open shared object file: No such file or directory

And this happens when I try to run a solver as well.
When remove cuda from my bashrc file again all is merry again. So something in cuda is conflicting with OpenFoam.

Has anybody seen this before/ have an idea on how to fix it?

Cheers
Hillie is offline   Reply With Quote

Old   March 25, 2017, 14:55
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Hillie,

A few questions:
  1. I don't know if you've solved this issue?
  2. If not, what commands do you use to load CUDA into the shell environment?
  3. What happens if you load the CUDA environment after loading OpenFOAM 4.1's environment?
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 3, 2017, 21:59
Default
  #3
Member
 
Hilbert
Join Date: Aug 2015
Location: Australia
Posts: 50
Rep Power: 10
Hillie is on a distinguished road
Hi Bruno,

Thanks for you reply. I did solve the issue in the end. For the cuda installation I followed a walkthough on a forum, and not the official nvidia guide.

In the end changing the cuda lines in my .bashrc file to the lines below did the trick.
export PATH=$PATH:/usr/local/cuda-8.0.61/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-8.0.61/lib64

I haven't spend much time with it yet but I wanted to have a look at GPU assisted solvers for OpenFOAM,.

Cheers,
Hilbert



Quote:
Originally Posted by wyldckat View Post
Greetings Hillie,

A few questions:
  1. I don't know if you've solved this issue?
  2. If not, what commands do you use to load CUDA into the shell environment?
  3. What happens if you load the CUDA environment after loading OpenFOAM 4.1's environment?
Best regards,
Bruno
wyldckat likes this.
Hillie 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
[OpenFOAM.org] I have trouble installing openfoam 5.0 on ubuntu 16.04 haydii OpenFOAM Installation 5 December 27, 2018 10:56
[OpenFOAM.org] openFoam 2.3.x install on Ubuntu 16.04 in windows 10 AndyBloke OpenFOAM Installation 5 April 8, 2018 17:57
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
OpenFOAM 4.1 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 0 October 13, 2016 06:42
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 04:56


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