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

[OpenFOAM.com] v1612+ on CentOS 6.8, installed at "/opt"

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 3, 2017, 10:44
Default v1612+ on CentOS 6.8, installed at "/opt"
  #1
New Member
 
Join Date: Apr 2017
Posts: 1
Rep Power: 0
grumpyadmin is on a distinguished road
I've been trying to compile OpenFOAM 16.12+ on a CentOS 6.8 machine. I set the path to /opt/OpenFOAM. The compile has been successful. However, when I use it as a normal user and do the post compilation steps, foamInstallationTest for example, it does not find the correct gcc (4.8.5) used to compile OpenFOAM, it does not find some of the libraries, and it cannot find icoFoam. Do I need to modify the config.sh files for the settings to be set correctly?
grumpyadmin is offline   Reply With Quote

Old   April 8, 2017, 07:07
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
Quick answer: I'm guessing that you have followed the instructions given here: https://openfoamwiki.net/index.php/I...HEL#CentOS_6.8

If you did follow those instructions, then you need to do step #7 once again on your normal user account, although taking into account that you installed it at "/opt".

You can also create the file "etc/prefs.sh" and place the following line inside it:
Code:
export WM_COMPILER_TYPE=ThirdParty
And if you build with 64-bit labels, also add the respective entry:
Code:
export WM_LABEL_SIZE=64
__________________
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
Issues with poor performance in faster CPU gian93 Hardware 9 October 29, 2018 13:34
[Other] CentOS 6.7 - Paraview - X Error: BadDrawable Vyssion OpenFOAM Installation 2 May 1, 2016 17:55
OpenFOAM 1.6.x - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 68 April 22, 2013 11:03
unable to install openfoam 1.7 using apt-get maazhmd OpenFOAM Installation 7 July 24, 2011 11:18
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56


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