|
[Sponsors] |
[OpenFOAM.org] openfoam 2.3.0 installation in RHEL 5 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 27, 2014, 18:00 |
Problems Installing OpenFOAM 2.3.0 on centOS 5.10
|
#21 |
New Member
anonymous
Join Date: Jul 2014
Posts: 3
Rep Power: 12 |
I am trying to install 2.3.0 on CentOS 5.10 using the installation tutorial at:
http://openfoamwiki.net/index.php/In...CentOS_SL_RHEL When I get to the openFOAM build check (step 16) icoFoam does not exist. I also find the following error in the make.log: error: call of overloaded I have attached part of the make.log, the entire make.log is too large to attach. Any insight you can provide would be greatly appreciated. |
|
August 4, 2014, 14:08 |
|
#22 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings pgiannuzzi and welcome to the forum!
Sorry for taking so long to answer back, but I didn't manage to have enough time to come to the forum any sooner. I don't know if you've managed to solve this issue or not, but from what I can see from the log file you're attached, there are two issues that seem to have occurred:
Bruno
__________________
|
|
August 9, 2014, 13:58 |
Problems Installing OpenFOAM 2.3.0 on CentOS 5.10
|
#23 |
New Member
anonymous
Join Date: Jul 2014
Posts: 3
Rep Power: 12 |
Bruno -
Thank you very much for your help. I see what you are saying about installing as root. I deleted the OpenFOAM directory that I had created as root and went through the steps again as a new user (including exiting at step 4). Now when I type: gcc --version I get: gcc (OpenFOAM) 4.8.1 This makes me think that gcc was installed ok and I do not need to go through the large mkgcc.log and mkbinutils.log files in detail (correct me if I am wrong). I run into problems after step 15. Looking in the make.log I see: Code:
cp -f ../bin/d[agm]* /home/pgiannuzzi/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc48/scotch_6.0.0/bin cp: cannot stat `../bin/d[agm]*': No such file or directory make: [install] Error 1 (ignored) This is causing be to run into problems when I get to step 18 and try to make paraview I get: Code:
qmake not found under specified QMAKE_PATH QMAKE_PATH=/home/pgiannuzzi/OpenFOAM/ThirdPARTY-2.3.0/platforms/linux64Gcc48/qt-4.8.4/bin/qmake leaving unspecified *** Error: cannot find qmake either at $QMAKE_PATH or in current $PATH This is because there is no qt-4.8.4 directory within the linux64Gcc48 directory. Any thoughts on this one. If I havn't given you enough info, please let me know what I can provide that might help. Thanks again; Paul Last edited by wyldckat; August 11, 2014 at 12:26. Reason: Added [CODE][/CODE] |
|
August 11, 2014, 12:34 |
|
#24 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Paul,
Quote:
If there are any other errors in the "make.log" file following that one, than those are most likely the ones to be concerned about. Quote:
Best regards, Bruno
__________________
|
|||
August 11, 2014, 14:12 |
Problems Installing OpenFOAM 2.3.0 on CentOS 5.10
|
#25 |
New Member
anonymous
Join Date: Jul 2014
Posts: 3
Rep Power: 12 |
Thanks Bruno;
I skimmed through the mkqt.log and found this text at the end of the log: qcryptographichash.o qxmlstream.o qxmlutils.o-m64 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/pgiannuzzi/OpenFOAM/ThirdParty-2.3.0/qt-everywhere-opensource-src-4.8.4/mkspecs/linux-g64. Error building: Qt-4.8.4 I went looking for the Linux-g64 folder in mkspecs and it is not there. Any clues on how to tackle this one? Is there a preferred method of installing Xlib? Paul |
|
August 11, 2014, 16:07 |
|
#26 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Paul,
Sorry about that . I don't know what happened when I wrote the instructions, but somewhere along the line I forgot to write down all of the packages that are needed for CentOS 5.10. I've updated the wiki page a few minutes ago: http://openfoamwiki.net/index.php/In...EL#CentOS_5.10 But just in case, here is the complete installation command for the necessary packages: Code:
yum install openmpi openmpi-devel zlib-devel readline-devel ncurses-devel \ texinfo gstreamer-plugins-base-devel libXext-devel libGLU-devel libXt-devel \ libXrender-devel libXinerama-devel libpng-devel libXrandr-devel libXi-devel \ libXft-devel libXcursor-devel Hopefully this fixes all of the remaining problems. Best regards, Bruno
__________________
|
|
December 23, 2014, 12:19 |
Install Problems RHEL
|
#27 |
New Member
britt@alum.mit.edu
Join Date: Feb 2011
Posts: 5
Rep Power: 15 |
Hi,
Thank you for developing such detailed instructions for installation of OpenFOAM on RHEL systems. I might be a bit overzealous but I jumped straight into installing 2.3.1 rather than 2.3.0 ... I've followed your directions installing OF 2.3.1 onto A Centos 5.11 X86_64 machine. I'm getting compilation issues and it appears the problem lies in the gcc compiler not being recognized. The mkgcc.log indicates gcc-4.8.1 is installed and built but if I execute gcc --version I get nothing. If I execute gcc -v I get 4.1.2 which was initially installed. I tried adapting your sed -i -e 's=gcc\-4\.8\.2=gcc-4.8.1=' OpenFOAM-2.3.0/etc/config/settings.sh to sed -i -e 's=gcc\-4\.1\.2=gcc-4.8.1=' OpenFOAM-2.3.0/etc/config/settings.sh Again no success. I tried installing from devtoolset1.1 but again still gcc --version returns 4.1.2. Pretty sure that my issues relate to the compiler version not being recognized. Attached a zip file with log files if it would help. Appreciate any insight you can provide. All the best for the Holiday Season to everyone. Britt |
|
December 29, 2014, 21:04 |
|
#28 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Britt and welcome to posting on the forum!
Quote:
About 3-4 days after you posted your question, I managed to copy-paste-adapt the installation instructions for OpenFOAM 2.3.1, which you can now find here: http://openfoamwiki.net/index.php/In...EL#CentOS_5.10 My advice: delete the folders "OpenFOAM-2.3.1" and "ThirdParty-2.3.1" from within the folder "~/OpenFOAM". Then you might not need to run wget in step #6, but otherwise double-check if all other steps are done exactly as they are written Best regards, Bruno |
||
January 2, 2015, 15:58 |
Success
|
#29 |
New Member
britt@alum.mit.edu
Join Date: Feb 2011
Posts: 5
Rep Power: 15 |
Bruno,
Thanks for updating with the 2.3.1 instructions. I thought it was identical to what I had done previously but I guess not. At any rate it is running successfully now. Further question that may or may not fit here. No that I have it built on one machine what is the "best" method of packaging this install to roll out to the additional 13 cluster machines I have [all identical architecture?]. I'd rather not build it on each machine ? ! Thanks, Britt |
|
January 2, 2015, 19:48 |
|
#30 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Britt,
I'm glad it's working! As for the deployment in multiple machines, it might depend on the level of detail you want on the slave nodes. The critical folders (if my memory serves me right) that can simply be copied are:
Best regards, Bruno |
|
March 31, 2015, 11:59 |
paraview4.1.0-OF2.3.0 on Ubuntu 12.04
|
#31 | |
Member
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 12 |
unfortunately i faced the same problem with paraview-4.1.0 installation.
i followed the guidelines http://www.openfoam.org/archive/2.3....oad/source.php but i got this : Code:
Built: cmake-2.8.12.1 yk@yk-VirtualBox:~/OpenFOAM/ThirdParty-2.3.0$ cd $WM_THIRD_PARTY_DIR yk@yk-VirtualBox:~/OpenFOAM/ThirdParty-2.3.0$ ./makeParaView4 ParaView_SOURCE_DIR=/home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0 ParaView_BINARY_DIR=/home/yk/OpenFOAM/ThirdParty-2.3.0/build/linux64Gcc/ParaView-4.1.0 ParaView_DIR=/home/yk/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ParaView-4.1.0 sed: can't read /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Utilities/kwsys/kwsysDateStamp.cmake: No such file or directory date-stamp: Build stages selected --------------------- -config true -make true -install true --------------------- Features selected mesa false mpi false python false qt true --------------------- Version information qt 4.8.1 version 4.1.0 major 4.1 build Release MISMATCH! specified 4.1.0 found --------------------- ---- Configuring paraview-4.1.0 (major version: 4.1) MPI support : false Python support : false MESA support : false Qt dev support : true Source : /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0 Build : /home/yk/OpenFOAM/ThirdParty-2.3.0/build/linux64Gcc/ParaView-4.1.0 Target : /home/yk/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ParaView-4.1.0 Build type : Release ---- cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/yk/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ParaView-4.1.0 -DBUILD_SHARED_LIBS:BOOL=ON VTK_USE_RPATH:BOOL=OFF -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI=ON -DCMAKE_BUILD_TYPE:STRING=Release /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0 ---- CMake Error at CMakeLists.txt:31 (cmake_minimum_required): CMake 2.8.8 or higher is required. You are running version 2.8.7 -- Configuring incomplete, errors occurred! Starting make make: *** No targets specified and no makefile found. Stop. Command exited with non-zero status 2 0.00user 0.00system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 4480maxresident)k 0inputs+0outputs (0major+331minor)pagefaults 0swaps Done make Installing ParaView to /home/yk/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ParaView-4.1.0 make: *** No rule to make target `install'. Stop. --- Installation complete for paraview-4.1.0 Set environment variables: export ParaView_DIR=/home/yk/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ParaView-4.1.0 export PATH=$ParaView_DIR/bin:$PATH export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-4.1 --- Done Quote:
|
||
March 31, 2015, 17:04 |
|
#32 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
Code:
wmSET |
||
March 31, 2015, 23:01 |
OF2.3.0/1InstalltaionGuidelines
|
#33 | |
Member
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 12 |
thank you very much for timely reply. hope that someone could see this when installing OF-2.3.0 because the command wmSET is missing in the corresponding guidelines while included in the new version of 2.3.1.
PS: i am almost new to OF and linux but i've learned a lot and solverd my own problems with the help of this forum. thanks for all! Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Problem during installation of openfoam 2.3.0 on ubuntu 16.04 | jarvis | OpenFOAM Installation | 2 | March 20, 2018 09:32 |
OpenFOAM 2.3.0 + HELYX-OS - ld.so error. | astrohome | OpenFOAM Installation | 2 | July 27, 2014 17:13 |
OpenFoam 2.3.0 installation on SUSE Linux Enterprise Server 11 | sherif35 | OpenFOAM Installation | 4 | July 7, 2014 13:22 |
[Discussion] Restructuring the Installation page at openfoamwiki.net | wyldckat | OpenFOAM Installation | 16 | November 2, 2013 12:43 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |