|
[Sponsors] |
[OpenFOAM.org] openfoam-2.2.0 installation on cluster of Redhat 4.1.2-48 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 9, 2013, 06:41 |
openfoam-2.2.0 installation on cluster of Redhat 4.1.2-48
|
#1 |
New Member
007
Join Date: Oct 2012
Posts: 9
Rep Power: 14 |
Hi!
I want to install OpenFoam on a machine with Redhat 4.1.2, but the Gcc version of Redhat is 4.1.2. an other Gcc version is installed in path: /public/source/gcc-source/gcc-4.7.1/gcc_install/, but i dont know how to use it. i try to install gcc-4.6.2 in the thirdparty directory, but after installation, i type "gcc --version", it showed gcc-4.1.2. How can i do in this situation? foamInstallationTest is shown as: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: ln0 OS: Linux version 2.6.18-194.el5 ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /locallustre/home/caijiejin/OpenFOAM yes yes $WM_PROJECT_USER_DIR ...e/caijiejin/OpenFOAM/caijiejin-2.2.0 no no $WM_THIRD_PARTY_DIR .../caijiejin/OpenFOAM/ThirdParty-2.2.0 yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR ...me/caijiejin/OpenFOAM/OpenFOAM-2.2.0 yes yes yes $FOAM_APPBIN ....2.0/platforms/linux64Gcc46DPOpt/bin no yes $FOAM_SITE_APPBIN ....2.0/platforms/linux64Gcc46DPOpt/bin no no $FOAM_USER_APPBIN ....2.0/platforms/linux64Gcc46DPOpt/bin no no $WM_DIR ...jiejin/OpenFOAM/OpenFOAM-2.2.0/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ....2.0/platforms/linux64Gcc46DPOpt/lib no yes $FOAM_SITE_LIBBIN ....2.0/platforms/linux64Gcc46DPOpt/lib no no $FOAM_USER_LIBBIN ....2.0/platforms/linux64Gcc46DPOpt/lib no no $MPI_ARCH_PATH ...platforms/linux64Gcc46/openmpi-1.6.3 no yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- flex /usr/bin/flex ERROR: gcc version is too old for this release of OpenFOAM User version : 4.1.2 Minimum required: 4.3.2 gcc 4.1.2 /usr/bin/gcc gzip 1.3.5 /bin/gzip tar 1.15.1 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /locallustre/home/caijiejin/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64Gcc46DPOpt/bin/icoFoam current path : CRITICAL ERROR ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- The system test has evoked 1 fatal error(s). The foam installation contains 1 critical error(s). Review the output for warning messages and consult the installation guide for troubleshooting. Done anyone helps? Thank you! |
|
June 9, 2013, 08:08 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Zeng,
I have not tried the following instructions with CentOS 4.x, but you can try them out and let me know if anything goes wrong: http://openfoamwiki.net/index.php/In...HEL#CentOS_6.4 You might not want to follow the instructions for installing certain packages from step #1, but the rest should be OK. Best regards, Bruno
__________________
|
|
June 9, 2013, 23:51 |
|
#3 |
New Member
007
Join Date: Oct 2012
Posts: 9
Rep Power: 14 |
thankful Bruno!
i successfully install openfoam-2.2.0 on cluster but no totally follow the tutorial you give. i checked the system again and found it is RedHat Enterprise Linux 5.5 x86_64, the command "module load openmpi-x86_64" can't be used on this cluster. i follow the installation tutorial http://openfoamwiki.net/index.php/Installation/Linux/OpenFOAM-2.2.0/CentOS_SL_RHEL#CentOS_6.4 step #5 to #7 to build the gcc-4.6.2, and then build the thirdparty and openfoam. Best regards, Zeng |
|
June 25, 2013, 18:52 |
|
#4 |
Member
Avdeev Evgeniy
Join Date: Jan 2011
Location: Togliatty, Russia
Posts: 69
Blog Entries: 1
Rep Power: 21 |
Hello.
I have similar situation. But gcc version is OK. What is wrong? Code:
$ foamInstallationTest Executing /home/avdeev/OpenFOAM/OpenFOAM-2.2.0/bin/foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: mgt1 OS: Linux version 2.6.18-308.11.1.el5 ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/avdeev/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/avdeev/OpenFOAM/avdeev-2.2.0 no no $WM_THIRD_PARTY_DIR /home/avdeev/OpenFOAM/ThirdParty-2.2.0 yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /home/avdeev/OpenFOAM/OpenFOAM-2.2.0 yes yes yes $FOAM_APPBIN ....2.0/platforms/linux64Gcc46DPOpt/bin yes yes yes $FOAM_SITE_APPBIN ....2.0/platforms/linux64Gcc46DPOpt/bin no no $FOAM_USER_APPBIN ....2.0/platforms/linux64Gcc46DPOpt/bin no no $WM_DIR ...avdeev/OpenFOAM/OpenFOAM-2.2.0/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ....2.0/platforms/linux64Gcc46DPOpt/lib no yes $FOAM_SITE_LIBBIN ....2.0/platforms/linux64Gcc46DPOpt/lib no no $FOAM_USER_LIBBIN ....2.0/platforms/linux64Gcc46DPOpt/lib no no $MPI_ARCH_PATH ...platforms/linux64Gcc46/openmpi-1.6.3 no yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- flex /usr/bin/flex gcc 4.6.1 ...M/ThirdParty-2.2.0/platforms/linux64/gcc-4.6.1/bin/gcc gzip 1.3.5 /bin/gzip tar 1.15.1 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /home/avdeev/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64Gcc46DPOpt/bin/icoFoam current path : CRITICAL ERROR ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. The foam installation contains 1 critical error(s). Review the output for warning messages and consult the installation guide for troubleshooting. Done |
|
June 27, 2013, 18:37 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Avdeev,
According to the "make.log" file, the very first error is this: Code:
/home/avdeev/OpenFOAM/ThirdParty-2.2.0/platforms/linux64/gcc-4.6.1/libexec/gcc/x86_64-unknown-linux-gnu/4.6.1/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory I'm guessing you simply ran the makeGcc46 script without verifying which exact versions of software were defined in OpenFOAM's "settings.sh" file. If this is the case, then follow these steps:
Bruno
__________________
|
|
June 28, 2013, 15:18 |
|
#6 |
Member
Avdeev Evgeniy
Join Date: Jan 2011
Location: Togliatty, Russia
Posts: 69
Blog Entries: 1
Rep Power: 21 |
Yes, Bruno, you right - I simply ran the makeGcc46.
But making changes in settings.sh has no effect. Anyway, after that I tryed to follow (http://openfoamwiki.net/index.php/In...HEL#CentOS_6.4) and everything working now. Yes-yes, I would have to use this manual before asking here, but using external binUtils scare me a little - why it not included in thirdparty? Thank you, Bruno! |
|
June 30, 2013, 03:01 |
|
#7 |
Member
Manjura Maula Md. Nayamatullah
Join Date: May 2013
Location: San Antonio, Texas, USA
Posts: 42
Rep Power: 13 |
Hello,
I had the same gcc version problem for installation of OpenFoam 2.2.0 in my cluster, which i solved through the instruction from weblink. But I can not build the paraview and gives the following error- ERROR: ParaView not found in /home/jzb292/OpenFOAM/ThirdParty-2.2.0/platforms/linux64Gcc45/paraview-3.12.0 I don't know what happened. OpenFoam runs good. Please help me out. Thanks Manjura |
|
June 30, 2013, 07:58 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Manjura,
Run the following commands: Code:
cd $WM_THIRD_PARTY_DIR ./makeParaView -qmake $(which qmake-qt4) > mkpv.log 2>&1 For example, you can compress the file with the following command: Code:
gzip mkpv.log Bruno
__________________
|
|
June 30, 2013, 17:16 |
|
#9 |
Member
Manjura Maula Md. Nayamatullah
Join Date: May 2013
Location: San Antonio, Texas, USA
Posts: 42
Rep Power: 13 |
Thanks for reply.
I got the following message when i run- ./makeParaView -qmake $(which qmake-qt4) : /usr/bin/which: no qmake-qt4 in (/home/jzb292/OpenFOAM/ThirdParty-2.2.0/platforms/linux64Gcc/gperftools-svn/bin:/home/jzb292/OpenFOAM/ThirdParty-2.2.0/platforms/linux64Gcc/paraview-3.12.0/bin:/home/jzb292/OpenFOAM/ThirdParty-2.2.0/platforms/linux64Gcc/openmpi-1.6.3/bin:/home/jzb292/OpenFOAM/jzb292-2.2.0/platforms/linux64GccDPOpt/bin:/home/jzb292/OpenFOAM/site/2.2.0/platforms/linux64GccDPOpt/bin:/home/jzb292/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin:/home/jzb292/OpenFOAM/OpenFOAM-2.2.0/bin:/home/jzb292/OpenFOAM/OpenFOAM-2.2.0/wmake:/home/jzb292/projects/gnuplot/bin:/home/jzb292/projects/git/bin:/share/apps/python/2.7.3/bin:/share/apps/cuda/5.0/bin:/share/apps/openmpi/1.6/bin:/share/apps/texlive/2012/bin/x86_64-linux:/opt/gridengine/bin/lx26-amd64:/usr/kerberos/bin:/usr/java/latest/bin:/share/apps/gcc/4.7.1/bin:/usr/local/bin:/bin:/usr/bin:/opt/ganglia/bin:/opt/ganglia/sbin:/usr/local/sbin/:/opt/openmpi/bin/:/opt/rocks/bin:/opt/rocks/sbin:/opt/sun-ct/bin:/home/jzb292/bin) '-qmake' option requires an argument usage: makeParaView [OPTION] [CMAKE-OPTION] options: -rebuild for repeated builds (-make -install) *use with caution* -mesa with mesa (if not already enabled) -mpi with mpi (if not already enabled) -python with python (if not already enabled) -cmake PATH with the cmake version corresponding to the cmake path given -qmake PATH with the Qt version corresponding to the qmake path given -qt with extra Qt gui support (if not already enabled) -qt-VER with Qt version corresponding to $WM_THIRD_PARTY_DIR/platforms/linux64Gcc/qt-VER/bin/qmake -gcc force g++ instead of the value from $WM_CXX -verbose verbose output in Makefiles -version VER specify an alternative version (current value: 3.12.0) -major VER specify an alternative major version for special builds -mesa-include DIR location of mesa headers (current value: /usr/include/GL) -mesa-lib PATH path to mesa library (current value: /usr/lib64/libOSMesa.so) -python-lib PATH path to python library (current value: none) -help The -no-FEATURE option can be disable these features (if not already disabled): mesa mpi python qt CMake options start with a capital letter and contain an '='. For example, makeParaView BUILD_TESTING=ON PARAVIEW_GENERATE_PROXY_DOCUMENTATION=OFF to add tests and avoid building documentation For finer control, the build stages can be selected or deselected individually: -config -no-config -make -no-make -install -no-install * Make and install paraview-3.12.0 located under $WM_THIRD_PARTY_DIR/ParaView-3.12.0 -> $WM_THIRD_PARTY_DIR/platforms/linux64Gcc/paraview-3.12.0 Thanks for your help. Manjra |
|
June 30, 2013, 18:49 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Manjura,
My guess is that you did not follow step #1 properly, because the absence of qmake-qt4 indicates that you do not have installed the package "qt-devel". Best regards, Bruno
__________________
|
|
June 30, 2013, 22:20 |
|
#11 |
Member
Manjura Maula Md. Nayamatullah
Join Date: May 2013
Location: San Antonio, Texas, USA
Posts: 42
Rep Power: 13 |
I do not have the administrator access to install the 'Development tools'.
How can i perform step-1? Thanks |
|
July 1, 2013, 18:35 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Manjura,
If you do not have administrative powers, then you either have to ask the administrator to install the packages or you can follow these instructions: http://openfoamwiki.net/index.php/In...HEL#CentOS_5.8 - It's for CentOS 5.8 and OpenFOAM 2.1.1, but you only need to follow from step #10. Step #10 has the instructions for doing a custom build of Qt, then #11 indicates how to use this custom build of Qt for building ParaView. Best regards, Bruno
__________________
|
|
July 10, 2013, 10:24 |
|
#13 |
Member
Avdeev Evgeniy
Join Date: Jan 2011
Location: Togliatty, Russia
Posts: 69
Blog Entries: 1
Rep Power: 21 |
I've tryed to perform step #10 (http://openfoamwiki.net/index.php/In...HEL#CentOS_5.8)
but it finished with error Code:
... Basic XLib functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/avdeev/OpenFOAM/ThirdParty-2.2.0/qt-everywhere-opensource-src-4.6.4/mkspecs/linux-g++-64. Error building: Qt-4.6.4 build-dep qt4-qmake right? |
|
July 10, 2013, 18:17 |
|
#14 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Avdeev,
That error is familiar... If I remember correctly and by looking into your log file, I would say that you didn't do these two command lines properly: Code:
#fix the defaults for Qt not to use gcc or g++ by default sed -i -e 's/= gcc/= gcc44/' qt-everywhere-opensource-src-4.6.4/mkspecs/common/g++.conf sed -i -e 's/= g++/= g++44/' qt-everywhere-opensource-src-4.6.4/mkspecs/common/g++.conf Bruno
__________________
|
|
July 12, 2013, 07:47 |
|
#15 |
Member
Avdeev Evgeniy
Join Date: Jan 2011
Location: Togliatty, Russia
Posts: 69
Blog Entries: 1
Rep Power: 21 |
Bruno, yes, error was in g++.conf file. I've ran "sed ..." script more than one time and it was g++4444 instead of g++44. It's corrected.
But now another error: Code:
... Error: Symbian SDK registry key not found Error: failed to find epoc root ... Last edited by j-avdeev; July 12, 2013 at 18:41. |
|
July 12, 2013, 18:29 |
|
#16 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Avdeev,
a 21MB log file... I forgot how big Qt really is! OK, the error you got was in fact: Quote:
OK, after reading the past posts, I've managed to figure out that you were following the instructions for CentOS 6.4. But why are you building the custom Qt? Anyway, it took me a while to deduce this, but I think these steps should fix the problem:
Bruno
__________________
|
||
October 24, 2013, 00:38 |
|
#17 |
Member
Yijiu Jiang
Join Date: Jan 2013
Location: Michigan, US
Posts: 49
Rep Power: 13 |
Hi Bruno,
I've already build OF on our x86_64 redhat linux cluster. But I got some problems when building paraview. Basically I just followed the instruction here http://openfoamwiki.net/index.php/In...HEL#CentOS_6.4 However I don't have the access to to administrator. So I just skip the 1st step. I used custom built Gcc 4.5.2 compiled OF. When I tried to build paraview, I think I need to do a custom build of both CMake 2.8 and Qt 4.6 or higher. There's no problem when I built CMake. But when I tried to build Qt following step 10 here http://openfoamwiki.net/index.php/In...HEL#CentOS_5.8 When I conducting ./getQt, the terminal showed me the following message: Code:
downloading qt-everywhere-opensource-src-4.6.4.tar.gz from http://releases.qt-project.org/qt4/s...c-4.6.4.tar.gz --2013-10-23 22:15:16-- http://releases.qt-project.org/qt4/s...c-4.6.4.tar.gz Resolving releases.qt-project.org... 77.86.229.90 Connecting to releases.qt-project.org|77.86.229.90|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://download.qt-project.org/ [following] --2013-10-23 22:15:16-- http://download.qt-project.org/ Resolving download.qt-project.org... 77.86.229.90 Connecting to download.qt-project.org|77.86.229.90|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3196 (3.1K) [text/html] Saving to: “qt-everywhere-opensource-src-4.6.4.tar.gz” 100%[=====================================>] 3,196 --.-K/s in 0s 2013-10-23 22:15:16 (224 MB/s) - “qt-everywhere-opensource-src-4.6.4.tar.gz” saved [3196/3196] unpack download/qt-everywhere-opensource-src-4.6.4.tar.gz gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now Code:
qt-everywhere-opensource-src-4.6.4.tar.gz: HTML document text Anyone has the same problem? Last edited by wyldckat; October 26, 2013 at 11:50. Reason: Added [CODE][/CODE] |
|
October 24, 2013, 06:47 |
|
#18 | |
Member
Eysteinn Helgason
Join Date: Sep 2009
Location: Gothenburg, Sweden
Posts: 53
Rep Power: 17 |
Quote:
Maybe you can edit getQt to use this link instead? : http://download.qt-project.org/archi...c-4.6.4.tar.gz /Eysteinn |
||
October 24, 2013, 14:20 |
|
#19 | |
Member
Yijiu Jiang
Join Date: Jan 2013
Location: Michigan, US
Posts: 49
Rep Power: 13 |
Quote:
However, when I conduct the 11 step here http://openfoamwiki.net/index.php/In...HEL#CentOS_6.4 It shows me this: [jaq526@takara PV3Readers]$ wmSET $FOAM_SETTINGS Cannot open configuration file /home/jaq526/OpenFOAM/ThirdParty-2.2.0/platforms/linux64Gcc/openmpi-1.6.3/share/openmpi/mpicc-wrapper-data.txt Error parsing data file mpicc: Not found Is there any suggested solution for this problem? Thanks JYJ |
||
October 26, 2013, 11:49 |
|
#20 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
I completely forgot to update the getQt script... I'll fix this later today. @JYJ: OK, since you don't have root permissions, then I need to know something: in step #4, did you use the option "WM_MPLIB=SYSTEMOPENMPI"? Because if you did, then you shouldn't have By the way, try running this command: Code:
which mpirun Best regards, Bruno
__________________
|
|
Tags |
clusters, installation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
OpenFOAM 2.2.0 installation on ICC (Intel C++ Compiler) | vishal3 | OpenFOAM Installation | 3 | April 26, 2013 21:00 |
OpenFOAM 2.2.0 installation on scientific-linux | kulkarni Harshawardhan | OpenFOAM Installation | 1 | March 20, 2013 14:38 |
OpenFOAM 1.7 installation on Redhat linux | maxims | OpenFOAM Installation | 2 | November 30, 2012 05:29 |
OpenFoam 2.0.0 installation + ICC + Rocks Cluster | chinper | OpenFOAM Installation | 5 | July 13, 2011 17:00 |