How to install OpenFoam1.71 on cluster without Root permission?
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 |
Greetings ripperjack,
A few questions:
Bruno |
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 |
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 |
2 Attachment(s)
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 |
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 |
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 |
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 |
All times are GMT -4. The time now is 19:23. |