|
[Sponsors] |
How to install OpenFoam1.71 on cluster without Root permission? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Jack
Join Date: Dec 2011
Posts: 94
Rep Power: 15 ![]() |
Hi All,
I want to compile and install OF 1.71 on a cluster (RedHat 4.1.2-46), but I can not get the root permission on that cluster. Is it possible? How can I do? Many thank! btw: I have successfully compiled and installed OF 1.7.1 on my PC following the instruction on the website, but I need root permission to install some pre-lib, which I can not do on the cluster. But I am sure the OF 1.71 was installed on that cluster before, so the pre-lib may have installed. I followed the same instruction on the website but I failed to compile OF. The guy who has the permission to do so is on vacation during this summer, but I need to use openfoam now! Could you guys help! Regards |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 129 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings ripperjack,
A few questions:
Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Member
Jack
Join Date: Dec 2011
Posts: 94
Rep Power: 15 ![]() |
Quote:
Thanks very much for your reply! The followings are the information on the cluster. I am sure that the space is enough for the OF, but I need to check the file count. I follow the instruction How to install OpenFOAM 1.7.1 on RHEL HPC 5.5 to install openfoam. What I can not do is to install some development libs mentioned in the above link, and I am not sure if these lib is installed or not on the cluster (e.g. I typed graphviz --version and it was said that command is not found....). Could you help? Many thanks! btw: my PC is on Ubuntu, and I follow another instruction to install it. Best regards, Ping Code:
uname -m X86_64 uname -a Linux login03 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux gcc --version gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46) bison --version bison (GNU Bison) 2.3 flex --version flex version 2.5.4 gcc34 --version gcc34 (GCC) 3.4.6 20060404 (Red Hat 3.4.6-4) gcc44 --version gcc44 (GCC) 4.4.0 20090514 (Red Hat 4.4.0-6 |
||
![]() |
![]() |
![]() |
![]() |
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 129 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Ping,
Since it's Ubuntu on the PC, it's unlikely that the build you have got in it will run on the cluster. The binaries are probably incompatible ![]() OK, but if you have Gcc 4.4 on the cluster, then it's almost a given that you can easily install OpenFOAM 1.7.1 on the cluster. And from what I can see, if you follow carefully the instructions on the link you indicated, you'll be able to install OpenFOAM without any problems. As for the missing "graphviz" package: don't worry, that's only needed for ParaView, which you don't need to install on the cluster. You just need to follow the instructions very carefully! But there is one suggestion I would like to add - when running Allwmake, make it send the output into a log file, like this: Code:
./Allwmake > make.log 2>&1 And when they say: Quote:
Code:
source /usr/local/OpenFOAM/OpenFOAM-1.7.1/etc/bashrc Bruno
__________________
|
||
![]() |
![]() |
![]() |
![]() |
#5 | |
Member
Jack
Join Date: Dec 2011
Posts: 94
Rep Power: 15 ![]() |
Quote:
Many thanks for your detailed instructions! I tried to compile it accordingly but it failed, I tried for many times and the errors are same, it seems that the 1st error is "configure: error: no vtf3.h found; check path for VTF3 package first...", I am so frustrated... I attached the make.log file, could you please help? I do not know how to compress and split the log file to two tar.gz files, so I split it to two rar files and then each is compressed into tar.gz..... Regards, Ping Last edited by ripperjack; May 6, 2013 at 16:00. |
||
![]() |
![]() |
![]() |
![]() |
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 129 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Ping,
Sorry, I should have been more explicit... the relevant error messages usually start with "Error ", including the space and without quotes. The problem is this: Code:
/usr/bin/ld: cannot find -liberty If I remember correctly, it's the system package "glibc-devel" that has got this library... or maybe it's "binutils-devel". Either way, right now I don't have the time to test this myself, but you can try the following steps:
Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#7 | |
Member
Jack
Join Date: Dec 2011
Posts: 94
Rep Power: 15 ![]() |
Quote:
Many thanks! I followed your instruction and complied again. No error this time, finally! OF 1.7 runs fine on the cluster!! Thanks again! Best regards, Ping |
||
![]() |
![]() |
![]() |
![]() |
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 129 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Ping,
I'm glad it worked! I was hoping it would work, otherwise it would have been a bit difficult to figure out how to fix it ![]() Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] How to get OpenFoam compiled on a cluster with CentOS 6.5 and no root permissions | hulli | OpenFOAM Installation | 2 | November 6, 2014 19:01 |
Why not install cluster by connecting workstations together for CFD application? | Anna Tian | Hardware | 5 | July 18, 2014 15:32 |
Environment errors with .deb install and ubuntu 13.04 64 bit | jonathanbyrn | OpenFOAM Installation | 14 | September 26, 2013 06:22 |
missing vtf3.h BPatch.h papi.h | linch | OpenFOAM Installation | 41 | July 24, 2012 15:45 |
Is root permission required to install untar paraview185tar | dhanurao | OpenFOAM Installation | 3 | November 11, 2008 13:27 |