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

[OpenFOAM.com] v3.0+ Problems installing on Ubuntu 16.04

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Evander

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2017, 08:43
Default v3.0+ Problems installing on Ubuntu 16.04
  #1
New Member
 
Evander
Join Date: Mar 2017
Posts: 2
Rep Power: 0
Evander is on a distinguished road
Hello everyone,

I am new to OpenFOAM and linux system. I'm using Ubuntu 16.04 and installing OpeanFOAM3.0+. I've got an error message while executing ./Allwmake. I copy the last bit of the error below.

I'm honestly not sure which CMakeList file I need to update for the path since there were a lot of them. Or maybe there are other solutions to solve this error?

Many Thanks

Code:
/home/evander/OpenFOAM/OpenFOAM-v3.0+/src/postProcessing/functionObjects/utilities
'/home/evander/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt64Opt/lib/libutilityFunctionObjects.so' is up to date.
+ ./graphics/Allwmake
Building with Paraview from /home/evander/OpenFOAM/ThirdParty-v3.0+/platforms/linux64Gcc/ParaView-4.4.0
CMake Error at CMakeLists.txt:14 (find_package):
  By not providing "FindParaView.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "ParaView",
  but CMake did not find one.

  Could not find a package configuration file provided by "ParaView" with any
  of the following names:

    ParaViewConfig.cmake
    paraview-config.cmake

  Add the installation prefix of "ParaView" to CMAKE_PREFIX_PATH or set
  "ParaView_DIR" to a directory containing one of the above files.  If
  "ParaView" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!
See also "/home/evander/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt64Opt/src/postProcessing/functionObjects/graphics/runTimePostProcessing/CMakeFiles/CMakeOutput.log".
Evander is offline   Reply With Quote

Old   March 13, 2017, 18:46
Default Re: Installation Problem
  #2
New Member
 
Evander
Join Date: Mar 2017
Posts: 2
Rep Power: 0
Evander is on a distinguished road
Hello everyone,

Sorry for post earlier, I managed it by changing the path.

Found the solution to my problem just now

http://www.paraview.org/pipermail/pa...il/024542.html
wyldckat likes this.
Evander is offline   Reply With Quote

Old   March 15, 2017, 13:23
Default
  #3
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 11
ordinary is on a distinguished road
I empathize with you and your problem. Because I asked too about installation on openSUSE. But it seems there is no help here. I think the documentation is old. Not straightforward.
ordinary is offline   Reply With Quote

Old   March 26, 2017, 15:47
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 to all!

@Evander:
Quote:
Originally Posted by Evander View Post
Sorry for post earlier, I managed it by changing the path.

Found the solution to my problem just now

http://www.paraview.org/pipermail/pa...il/024542.html
Many thanks for posting your solution, or at least a hint on what to do.

I've tested just now building OpenFOAM+ v3.0+ on Ubuntu 16.04 and have documented the procedure here: https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04

However, I was not able to reproduce the same error. I suspect that the wrong CMake version was being used, hence the error message that you've gotten. For future reference, using Ubuntu's 16.04 CMake 3.5 seems to work just fine. To double check the version, please run the following commands:
  • Code:
    cmake --version
    which should give:
    Code:
    cmake version 3.5.1
  • Code:
    which cmake
    which should give:
    Code:
    /usr/bin/cmake

@ordinary: Unfortunately it was not possible for me to come to the forums for the past few months and unfortunately very few people have the time and experience needed to try and reproduce the harder installation problems. Fortunately I saw in your other posts that you've managed to solve those issues in the meantime, at least by installing Ubuntu.
Edit: wait... I didn't read the some of your posts properly I'll take a look into them as soon as I can.

Best regards,
Bruno
__________________

Last edited by wyldckat; March 26, 2017 at 15:50. Reason: see "Edit:"
wyldckat 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] Problems installing OpenFOAM 2.4.0 on Ubuntu 16.04 donminoti OpenFOAM Installation 13 January 13, 2021 18:07
[OpenFOAM.com] v1612+ problem installing in Ubuntu 16.04 roalva OpenFOAM Installation 1 April 8, 2017 07:40
[General] Installing Paraview on Ubuntu 16.04: libGL error Omid999 ParaView 3 September 2, 2016 15:37
Please help: Installing OpenFOAM-1.5-dev on Ubuntu 9.04 aat OpenFOAM Installation 23 July 21, 2013 07:31
Problems installing CFX on Sun Unix Platform Haley CFX 2 November 9, 2001 10:52


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