|
[Sponsors] |
[OpenFOAM.org] Problems in Installing OpenFOAM-4.0 on CentOS SL RHEL |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 20, 2016, 07:03 |
Problems in Installing OpenFOAM-4.0 on CentOS SL RHEL
|
#1 |
New Member
TSE Kwan Shu
Join Date: Sep 2016
Posts: 10
Rep Power: 10 |
Hello, everyone. I am an MPhil student doing CFD. I encountered A LOT OF questions when I am trying to install OpenFOAM-4.0 on the computer cluster managed by the university. I followed the instructions given by the following website:
https://openfoamwiki.net/index.php/I...CentOS_SL_RHEL The main problem is, I do not have the permission to access the cluster as root, in other words, I cannot install the libraries by simply typing the commands like “sudo”. Is it possible for me to install every libraries, OpenFOAM itself and Thirdparty software in my home directory? Besides, is it possible to get rid of the “root” problem if I do not install the Thirdparty software like Paraview, or if I install OpenFOAM® v1606+ ?? Or can I just install the OpenFOAM on the cluster, and do post-processing on my desktop computer? I just know a little about linux, I don’t know what I can do if I cannot install OpenFOAM on the cluster. FYI, the general information of the computer cluster Operating System: CentOS 6.6 64-bit Architecture: x86_64 Open MPI: v2.0.0 Python: v2.6.6 bison (GNU Bison): v2.4.1 flex: v2.5.35 GCC (GNU Compiler Collection): v4.4.7 |
|
September 24, 2016, 16:40 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: You can simply try starting from step #4, namely you can try skipping the first 3 steps and see if it works: https://openfoamwiki.net/index.php/I...HEL#CentOS_6.8
If you have problems with the wget commands, then you can download manually the files with your Internet browser and then place the files where needed. And yes, I do advise you to skip trying to build ParaView on the cluster, at least for now. In addition, if your cluster is very well administered, you can try and check what other software packages are already available in it, but running: Code:
module avail
__________________
Last edited by wyldckat; September 26, 2016 at 19:45. Reason: changed "module list" to "module avail", which is the correct command |
|
September 27, 2016, 00:47 |
|
#3 |
New Member
TSE Kwan Shu
Join Date: Sep 2016
Posts: 10
Rep Power: 10 |
Thanks for your reply.
I would like to ask if I do not install ParaView on the cluster, but OpenFOAM4.0 only, I believe it requires updating CMake and GCC 4.8.5, but how about Qt and GNU binutils? What I am asking is, any steps on the website https://openfoamwiki.net/index.php/I...CentOS_SL_RHEL I can skip in order to install OpenFOAM Only, but not ParaView. Besides, I just checked the available packages using PHP Code:
1. texinfo 2. gstreamer-plugins-base-devel 3. libGLU-devel 4. libXinerama-devel 5. libXrandr-devel 6. libXi-devel 7. libXcursor-devel Do these packages matter for installing OpenFOAM? or just for ParaView? And If I really need to install these 7 packages, is it possible for me to download the packages in https://rpmfind.net/linux/rpm2html/s...os&arch=x86_64 and install them in my HOME directory? |
|
September 27, 2016, 17:36 |
|
#4 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answers:
Quote:
Code:
module avail Quote:
|
|||
October 3, 2016, 10:45 |
|
#5 |
New Member
TSE Kwan Shu
Join Date: Sep 2016
Posts: 10
Rep Power: 10 |
Sorry for late reply, because the cooling system of the computer cluster was not going well last week, and the university spent about 6 days to fix the problem, eventually it is back to normal now.
Here is the response for the command Code:
module avail PHP Code:
PHP Code:
|
|
October 3, 2016, 12:58 |
|
#6 |
Member
Join Date: Jul 2013
Posts: 39
Rep Power: 13 |
As I know, official repositories of Redhat EL is 4.4.7 for gcc but it is possible to upgrade it from unofficial repositories but I am not sure if it is possible to do it.
I have installed OpenFOAM 4.0 on HPC running RHEL 5 and 6 without root access by using OpenFOAMWiki post. Also, you can install gcc on your local folder using this post: http://stackoverflow.com/questions/9...t-shared-libra What is the exact problem by installing gcc and binutils by using ThirdParty folder? |
|
October 5, 2016, 03:35 |
|
#7 |
New Member
TSE Kwan Shu
Join Date: Sep 2016
Posts: 10
Rep Power: 10 |
I have tried to install OpenFOAM v4.0 again following http://openfoamwiki.net/index.php/In...CentOS_SL_RHEL and since I do not have the root access, I skipped the first 3 steps, and started from step #4.
Until step #10, after I entered the command Code:
./makeGcc -no-multilib > log.makeGcc 2>&1 I have no idea why the errors exist, is it something wrong with my account, or I didn't clean everything that I left in the previous installation process? Thank you |
|
October 5, 2016, 07:36 |
|
#8 | |
Member
Join Date: Jul 2013
Posts: 39
Rep Power: 13 |
Yes, if you clean it before you start it might be better. And also, according to log file, you do not have isl. it might be required to build gcc, I guess.
Quote:
|
||
October 6, 2016, 16:29 |
|
#9 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer:
Quote:
This also means that you only need to do a small change to the instructions. In step #7, it tells you to use something like this: Code:
source $HOME/OpenFOAM/OpenFOAM-4.0/etc/bashrc WM_COMPILER_TYPE=ThirdParty FOAMY_HEX_MESH=yes Code:
of40 The you can skip steps #10 and #11. Next... are you going to need foamyHexMesh? I ask this because I have no idea if MPFR and GMP are already available on that machine. If you need it, then we need to figure out if we need to use the custom build of MPFR and GMP that was built with makeGcc. Please run the following command to see if there is any installed in the same stack as GCC 4.9.2: Code:
find /opt/rh/devtoolset-3 -name "libmpfr*"
__________________
|
||
October 7, 2016, 04:37 |
|
#10 |
New Member
TSE Kwan Shu
Join Date: Sep 2016
Posts: 10
Rep Power: 10 |
I think I have installed OpenFOAM successfully, as it gives exactly the same output when I typed
Code:
icoFoam -help Thank you everyone ! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Problems installing OpenFOAM 2.3.0 on Ubuntu 12.04 | arieljeds | OpenFOAM Installation | 6 | August 19, 2015 08:39 |
[OpenFOAM.org] Installing OpenFOAM 2.3.0 on Mac - problems with db48 | Silvester | OpenFOAM Installation | 6 | August 17, 2015 05:01 |
[OpenFOAM.org] Having problems installing OpenFOAM 2.2.2 in Ubuntu 14.04 | allan815 | OpenFOAM Installation | 6 | July 27, 2015 10:06 |
[OpenFOAM.org] Problems installing OpenFOAM 2.3.0 in Ubuntu 14.04 | iafpython | OpenFOAM Installation | 8 | November 10, 2014 17:43 |
OpenFOAM 1.6.x - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 68 | April 22, 2013 12:03 |