|
[Sponsors] |
[OpenFOAM.org] openfoam-2.2.0 installation on cluster of Redhat 4.1.2-48 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 26, 2013, 13:08 |
|
#21 | |
Member
Yijiu Jiang
Join Date: Jan 2013
Location: Michigan, US
Posts: 49
Rep Power: 13 |
Quote:
Thanks Bruno, I think that's the reason. Unfortunately, I did use the option "WM_MPLIB=SYSTEMOPENMPI". The which mpirun gave me this: /usr/lib64/openmpi/bin/mpirun So, I think I need to modify the following section in $Home/OpenFoam/OpenFoam-2.2.0/etc/bashrc ------------------------------------------------------------------------------------------------------------------------------- #- MPI implementation: # WM_MPLIB = SYSTEMOPENMPI | OPENMPI | MPICH | MPICH-GM | HPMPI # | GAMMA | MPI | QSMPI | SGIMPI export WM_MPLIB=OPENMPI -------------------------------------------------------------------------------------------------------------------------------- Is this the right reason of my problem? Do you have any idea on solving this? Best regards, JYJ |
||
October 26, 2013, 13:57 |
|
#22 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi JYJ,
Here's what you should do:
Bruno
__________________
|
|
October 27, 2013, 00:26 |
|
#23 | |
Member
Yijiu Jiang
Join Date: Jan 2013
Location: Michigan, US
Posts: 49
Rep Power: 13 |
Quote:
I followed your suggestion and edited .bashrc. Now it is as the following: (jaq526 is the user's name) # .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi source $HOME/OpenFOAM/OpenFOAM-2.2.0/etc/bashrc # User specific aliases and functions module load openmpi-x86_64 source /home/jaq526/OpenFOAM/OpenFOAM-2.2.0/etc/bashrc module load openmpi-x86_64 module load openmpi-x86_64 source /home/jaq526/OpenFOAM/OpenFOAM-2.2.0/etc/bashrc WM_NCOMPPROCS=4 foamCompiler=ThirdParty WM_COMPILER=Gcc45 module load openmpi-x86_64 source /home/jaq526/OpenFOAM/OpenFOAM-2.2.0/etc/bashrc WM_NCOMPPROCS=4 foamCompiler=ThirdParty WM_COMPILER=Gcc45 Then, I re-did the steps from step 8 of the instruction. But when I conducted ./Allwmake, it gave me this: ERROR: ParaView not found in /home/jaq526/OpenFOAM/ThirdParty-2.2.0/platforms/linux64Gcc45/paraview-3.12.0 Now, I have no idea on this |
||
October 27, 2013, 04:14 |
|
#24 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
OK, first of all, let's do some clean up on the "~/.bashrc" file. Change this:
Code:
# Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi source $HOME/OpenFOAM/OpenFOAM-2.2.0/etc/bashrc # User specific aliases and functions module load openmpi-x86_64 source /home/jaq526/OpenFOAM/OpenFOAM-2.2.0/etc/bashrc module load openmpi-x86_64 module load openmpi-x86_64 source /home/jaq526/OpenFOAM/OpenFOAM-2.2.0/etc/bashrc WM_NCOMPPROCS=4 foamCompiler=ThirdParty WM_COMPILER=Gcc45 module load openmpi-x86_64 source /home/jaq526/OpenFOAM/OpenFOAM-2.2.0/etc/bashrc WM_NCOMPPROCS=4 foamCompiler=ThirdParty WM_COMPILER=Gcc45 Code:
# Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific aliases and functions module load openmpi-x86_64 source /home/jaq526/OpenFOAM/OpenFOAM-2.2.0/etc/bashrc WM_NCOMPPROCS=4 foamCompiler=ThirdParty WM_COMPILER=Gcc45
__________________
Last edited by wyldckat; October 27, 2013 at 04:15. Reason: Fixed broken [CODE] marker |
|
October 27, 2013, 09:46 |
|
#25 | |
Member
Yijiu Jiang
Join Date: Jan 2013
Location: Michigan, US
Posts: 49
Rep Power: 13 |
Quote:
Bruno, I modified the .bashrc. But there is not any message when I start a new terminal after I did the .bashrc modification. Now, the file is as follows Code:
# .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific aliases and functions module load openmpi-x86_64 source /home/jaq526/OpenFOAM/OpenFOAM-2.2.0/etc/bashrc WM_NCOMPPROCS=4 foamCompiler=ThirdParty WM_COMPILER=Gcc45 Last edited by wyldckat; October 27, 2013 at 15:38. Reason: Added [CODE][/CODE] |
||
October 27, 2013, 15:45 |
|
#26 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
I think so! Let's go by parts. First take care of confirming if OpenFOAM is well built, by following the step #8. If possible, package the "make.log" file as explained in step #9, and attach the file to your next post, because I want to confirm if everything is OK on OpenFOAM's end. Then for step #11, run makeParaView like this: Code:
./makeParaView -qmake $(which qmake-qt4) > make.pv.log 2>&1
__________________
|
||
October 28, 2013, 11:39 |
|
#27 | |
Member
Yijiu Jiang
Join Date: Jan 2013
Location: Michigan, US
Posts: 49
Rep Power: 13 |
Quote:
Hi Bruno, I re-did the steps as you told me. The make.log and make.pv.log are packaged and attached here. But seems haven't solved the problem. The error "ERROR: ParaView not found in /home/jaq526/OpenFOAM/ThirdParty-2.2.0/platforms/linux64Gcc45/paraview-3.12.0" still exits when I conduct ./Allwmake. Please help to check the log file. Thank you. |
||
October 28, 2013, 17:03 |
|
#28 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi JYJ,
qmake-qt4 wasn't found, which is why it didn't even try to build ParaView. Try running these two commands: Code:
which qmake-qt4 which qmake If the second one does show something, then you can run: Code:
./makeParaView -qmake $(which qmake) > make.pv.log 2>&1 Best regards, Bruno
__________________
|
|
October 28, 2013, 23:15 |
|
#29 | |
Member
Yijiu Jiang
Join Date: Jan 2013
Location: Michigan, US
Posts: 49
Rep Power: 13 |
Quote:
Yes, Bruno. You are right. qt-4 hasn't been built successfully. I tried to find out the problem today. I found this information in mkqt.log Code:
You might need to modify the include and library search paths by editing QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/jaq526/OpenFOAM/ThirdParty-2.2.0/qt-everywhere-opensource-src-4.6.4/mkspecs/linux-g++-64. Code:
MAKEFILE_GENERATOR = UNIX TEMPLATE = app CONFIG += qt warn_on release incremental link_prl QT += core gui QMAKE_INCREMENTAL_STYLE = sublib QMAKE_CFLAGS = -m64 QMAKE_LFLAGS = -m64 include(../common/g++.conf) include(../common/linux.conf) QMAKE_LIBDIR_X11 = /usr/X11R6/lib64 QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib64 load(qt_config) |
||
October 28, 2013, 23:27 |
|
#30 |
Member
Yijiu Jiang
Join Date: Jan 2013
Location: Michigan, US
Posts: 49
Rep Power: 13 |
Here is the mkqt.log. You can see the error which I mentioned above.
|
|
October 29, 2013, 19:01 |
|
#31 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi JYJ,
I know I've had this problem before... and it ended up in not having to do anything with the X11. Check the contents of the file "qt-everywhere-opensource-src-4.6.4/mkspecs/common/g++.conf". The references to "gcc" and "g++" should indicate "gcc44" and "g++44" or whichever name your custom build of GCC is using, such as "gcc-4.5" and "g++-4.5". Best regards, Bruno
__________________
|
|
October 30, 2013, 11:44 |
|
#32 | |
Member
Yijiu Jiang
Join Date: Jan 2013
Location: Michigan, US
Posts: 49
Rep Power: 13 |
Quote:
Bruno, This problem has been solved. I really appreciate your help in the past days. Thanks. Best regards, Yijiu |
||
June 10, 2015, 13:53 |
$MPI_ARCH_PATH ...0/platforms/linux64Gcc/openmpi-1.6.3 no yes
|
#33 |
Senior Member
Hasan K.J.
Join Date: Dec 2011
Location: Bristol, United Kingdom
Posts: 200
Rep Power: 15 |
Hello Everyone,
I have tried to install OpenFOAM on my personal Drive on my Cluster OpenFOAM 2.1.0 worked but when running simulations some simulations are just stuck on iterations I have no clue as to why (Problem 1) and here is the test Log Code:
Executing /panfs/panasas01/aero/mk14466/OpenFOAM/OpenFOAM-2.1.0/bin/foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: newblue3 OS: Linux version 2.6.32-220.23.1.el6.x86_64 ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /panfs/panasas01/aero/mk14466/OpenFOAM yes yes $WM_PROJECT_USER_DIR .../aero/mk14466/OpenFOAM/mk14466-2.1.0 no no $WM_THIRD_PARTY_DIR ...ro/mk14466/OpenFOAM/ThirdParty-2.1.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 ...aero/mk14466/OpenFOAM/OpenFOAM-2.1.0 yes yes yes $FOAM_APPBIN ...-2.1.0/platforms/linux64GccDPOpt/bin yes yes yes $FOAM_SITE_APPBIN .../2.1.0/platforms/linux64GccDPOpt/bin no no $FOAM_USER_APPBIN ...-2.1.0/platforms/linux64GccDPOpt/bin no no $WM_DIR ...k14466/OpenFOAM/OpenFOAM-2.1.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.1.0/platforms/linux64GccDPOpt/lib yes yes yes $FOAM_SITE_LIBBIN .../2.1.0/platforms/linux64GccDPOpt/lib no no $FOAM_USER_LIBBIN ...-2.1.0/platforms/linux64GccDPOpt/lib no no $MPI_ARCH_PATH ...0/platforms/linux64Gcc/openmpi-1.5.3 yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- flex 2.5.35 /usr/bin/flex gcc 4.4.7 /usr/bin/gcc gzip 1.3.12 /bin/gzip tar 1.23 /bin/tar icoFoam 2.1.0 ...M/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/icoFoam ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. Critical systems ok. Done Code:
Executing /panfs/panasas01/aero/mk14466/OpenFOAM/OpenFOAM-2.2.0/bin/foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: newblue3 OS: Linux version 2.6.32-220.23.1.el6.x86_64 ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /panfs/panasas01/aero/mk14466/OpenFOAM yes yes $WM_PROJECT_USER_DIR .../aero/mk14466/OpenFOAM/mk14466-2.2.0 no no $WM_THIRD_PARTY_DIR ...ro/mk14466/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 ...aero/mk14466/OpenFOAM/OpenFOAM-2.2.0 yes yes yes $FOAM_APPBIN ...-2.2.0/platforms/linux64GccDPOpt/bin yes yes yes $FOAM_SITE_APPBIN .../2.2.0/platforms/linux64GccDPOpt/bin no no $FOAM_USER_APPBIN ...-2.2.0/platforms/linux64GccDPOpt/bin no no $WM_DIR ...k14466/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.2.0/platforms/linux64GccDPOpt/lib yes yes yes $FOAM_SITE_LIBBIN .../2.2.0/platforms/linux64GccDPOpt/lib no no $FOAM_USER_LIBBIN ...-2.2.0/platforms/linux64GccDPOpt/lib no no $MPI_ARCH_PATH ...0/platforms/linux64Gcc/openmpi-1.6.3 no yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- flex 2.5.35 /usr/bin/flex gcc 4.4.7 /usr/bin/gcc gzip 1.3.12 /bin/gzip tar 1.23 /bin/tar icoFoam 2.2.0 ...M/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin/icoFoam ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. Critical systems ok. Done Code:
$MPI_ARCH_PATH ...0/platforms/linux64Gcc/openmpi-1.6.3 no yes how to make this an yes If you require anything else please do let me know. Thanks for your time and Efforts, Regards, Hasan K.J
__________________
"Real knowledge is to know the extent of one's ignorance." - Confucius |
|
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 |