|
[Sponsors] |
problem in installation in OpenFOAM-2.1.x on Red Hat |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 18, 2013, 08:25 |
|
#21 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
Dear sir,
while I am executing step-11 second line ./makeParaView -qmake $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/qt-4.6.4/bin/qmake PARAVIEW_INSTALL_THIRD_PARTY_LIBRARIES:BOOL=ON at the last I am getting following thing is there any issue. I have completed all this steps. I am attaching picture of step-11 second line command. cd $WM_THIRD_PARTY_DIR ./makeParaView -qmake $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/qt-4.6.4/bin/qmake PARAVIEW_INSTALL_THIRD_PARTY_LIBRARIES:BOOL=ON cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers wmSET $FOAM_SETTINGS export PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/qt-4.6.4/bin:$PATH ./Allwclean ./Allwmake Thanks nagendra |
|
February 18, 2013, 08:32 |
|
#22 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Nagendra,
Looks like Qt didn't build properly. Two details:
Bruno
__________________
|
|
February 19, 2013, 04:36 |
|
#23 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
Thankyou sir,
After step-10 in mkqt file it showing. Error building: Qt-4.6.4 In my system while I am trying to install its showing its already installed. package libXext-devel-1.0.1-2.1 is already installed package libXrender-devel-0.9.1-3.1 is already installed package libXt-devel-1.0.2-3.2.el5 is already installed I am attaching file mkqt please let me know what to do now. Thanks nagendra |
|
February 19, 2013, 04:58 |
|
#24 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Nagendra,
I don't have my CentOS 5.1 installation with me right now. But try the following steps:
Bruno
__________________
|
|
February 19, 2013, 05:19 |
|
#25 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
thankyou sir,
After cd $WM_THIRD_PARTY_DIR/build find . -name xlib I have got ./linux64Gcc44/qt-everywhere-opensource-src-4.6.4/config.tests/x11/xlib from this directory I have called make then I got following lines I have attached. now what I need to do. Thanks nagendra |
|
February 19, 2013, 05:39 |
|
#26 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Nagendra,
Ooops, I forgot to mention that the sed commands should be executed only once... Do the following: Code:
cd $WM_THIRD_PARTY_DIR #re-fix the defaults for Qt not to use gcc or g++ by default sed -i -e 's/= gcc4444/= gcc44/' qt-everywhere-opensource-src-4.6.4/mkspecs/common/g++.conf sed -i -e 's/= g++4444/= g++44/' qt-everywhere-opensource-src-4.6.4/mkspecs/common/g++.conf ./makeQt 4.6.4 > mkqt.log 2>&1 Bruno
__________________
|
|
February 19, 2013, 07:12 |
|
#27 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
Thankyou sir
This is again giving error. This time mkqt.log file is approx 22MB so I have splited this into 4 part and sending 1st and last part of mkqt.log Thanks nagendra |
|
February 19, 2013, 07:24 |
|
#28 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
The file "ac" seems to have the answer why it did not build.
__________________
|
|
February 19, 2013, 07:39 |
|
#29 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
Dear Sir,
I have attached ab and ac files. Thanks nagendra |
|
February 19, 2013, 09:31 |
|
#30 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Nagendra,
I believe the problem is related to how your system is working, because there seems to be an existential issue of the files having a date defined in the future, which could also lead to them not yet being visible when their are needed 10 milliseconds after they were created. So, to attempt and avoid this issue, try these steps: Code:
cd $WM_THIRD_PARTY_DIR/build cd linux64Gcc44/qt-everywhere-opensource-src-4.6.4 make > mkqt.log 2>&1 Code:
make install source $WM_THIRD_PARTY_DIR/etc/tools/ThirdPartyFunctions source $WM_THIRD_PARTY_DIR/etc/tools/QtFunctions finalizeQt Bruno
__________________
|
|
February 20, 2013, 00:04 |
|
#31 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
thankyou sir,
After exexcuting these commands cd $WM_THIRD_PARTY_DIR/build cd linux64Gcc44/qt-everywhere-opensource-src-4.6.4 make > mkqt.log 2>&1 I am getting some error,I am attaching mkqt.log file. now what I will have to do. Thanks nagendra |
|
February 20, 2013, 03:34 |
|
#32 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Nagendra,
What do these commands output? Code:
ls -l /home/others/trainee/OpenFOAM/ThirdParty-2.1.x/build/linux64Gcc44/qt-everywhere-opensource-src-4.6.4 ls -l /home/others/trainee/OpenFOAM/ThirdParty-2.1.x/build/linux64Gcc44/qt-everywhere-opensource-src-4.6.4/lib Bruno
__________________
|
|
February 20, 2013, 04:31 |
|
#33 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
Dear Sir,
Output generated by these two commands I am sending. out1.log and out2.log Sir all these commands previous or current I am not runing in root mode. Thanks nagendra |
|
February 20, 2013, 05:29 |
|
#34 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Nagendra,
That file system is clearly giving us some headaches... OK, try this: Code:
cd $WM_THIRD_PARTY_DIR/build cd linux64Gcc44/qt-everywhere-opensource-src-4.6.4 make clean make > mkqt.log 2>&1 Best regards, Bruno
__________________
|
|
February 20, 2013, 07:07 |
|
#35 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
Dear sir,
Again its giving some Error. I am attaching mkqt.log file in four parts. now what I need to do. Thanks nagendra |
|
February 20, 2013, 07:20 |
|
#36 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Nagendra,
Try these commands: Code:
cd $WM_THIRD_PARTY_DIR/build cd linux64Gcc44/qt-everywhere-opensource-src-4.6.4 cd lib unlink libQtCLucene.so cp libQtCLucene.so.4.6.4 libQtCLucene.so unlink libQtCLucene.so.4 cp libQtCLucene.so.4.6.4 libQtCLucene.so.4 unlink libQtCLucene.so.4.6 cp libQtCLucene.so.4.6.4 libQtCLucene.so.4.6 cd .. make > mkqt.log 2>&1 Best regards, Bruno
__________________
|
|
February 20, 2013, 07:42 |
|
#37 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
Dear Sir,
Again Error giving I am attaching file mkqt.log Now what I need to do. Thanks nagendra |
|
February 20, 2013, 07:51 |
|
#38 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Looks like the problem wasn't what I thought.
Try this: Code:
ln -s $WM_THIRD_PARTY_DIR/build/linux64Gcc44/qt-everywhere-opensource-src-4.6.4 $WM_THIRD_PARTY_DIR/platforms/linux64Gcc44/qt-4.6.4 cd $WM_THIRD_PARTY_DIR/build cd linux64Gcc44/qt-everywhere-opensource-src-4.6.4 make > mkqt.log 2>&1 If this let things build properly, let me know.
__________________
|
|
February 20, 2013, 08:19 |
|
#39 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
Dear Sir,
mkqt.log having not any Error I think it succeed I am attaching mkqt.log file. On running following code $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/qt-4.6.4/bin/qmake --version I am getting. QMake version 2.01a Using Qt version 4.6.4 in /home/others/trainee/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc44/qt-4.6.4/lib Now what I need to do. Thanks nagendra Last edited by nagendra verma; February 20, 2013 at 08:39. |
|
February 20, 2013, 09:03 |
|
#40 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Nagendra,
OK, next steps: Code:
unlink $WM_THIRD_PARTY_DIR/platforms/linux64Gcc44/qt-4.6.4 cd $WM_THIRD_PARTY_DIR/build cd linux64Gcc44/qt-everywhere-opensource-src-4.6.4 make install source $WM_THIRD_PARTY_DIR/etc/tools/ThirdPartyFunctions source $WM_THIRD_PARTY_DIR/etc/tools/QtFunctions prefixDIR=$installBASE/qt-4.6.4 finalizeQt Then for building ParaView, start a new terminal, just in case. Then: Code:
cd $WM_THIRD_PARTY_DIR ./makeParaView -qmake $WM_THIRD_PARTY_DIR/platforms/linux64Gcc44/qt-4.6.4/bin/qmake PARAVIEW_INSTALL_THIRD_PARTY_LIBRARIES:BOOL=ON cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers wmSET $FOAM_SETTINGS export PATH=$WM_THIRD_PARTY_DIR/platforms/linux64Gcc44/qt-4.6.4/bin:$PATH ./Allwclean ./Allwmake Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Source Pack Installation OpenFOAM Version 2.1.0 on Redhat Linux | Indrajit | OpenFOAM Installation | 1 | April 1, 2012 05:39 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |
[Commercial meshers] Handling cyclic BC from gambit to openfoam for a cascade airfoil problem - OF 1.6 | maverick | OpenFOAM Meshing & Mesh Conversion | 2 | June 18, 2011 05:36 |
Installation Fluent 6.3 into Red Hat Linux System | rashid | FLUENT | 1 | March 1, 2008 09:57 |
Problem in running CFX in red hat linux | Q | CFX | 0 | March 30, 2006 10:11 |