CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

problem in installation in OpenFOAM-2.1.x on Red Hat

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 18, 2013, 08:25
Default
  #21
New Member
 
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 4
nagendra verma is on a distinguished road
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
Attached Images
File Type: jpg step-11-secondline.jpg (33.5 KB, 3 views)
nagendra verma is offline   Reply With Quote

Old   February 18, 2013, 08:32
Default
  #22
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Nagendra,

Looks like Qt didn't build properly. Two details:
  1. Make sure that the "libX*" packages are installed, as documented on step #1 for CentOS 5.1: http://openfoamwiki.net/index.php/In...HEL#CentOS_5.1
  2. Check if CMake was properly built, by running:
    Code:
    cmake --version
    It should show you the version "2.8.7". If not, do step #9 again.
  3. Check if Qt was properly built, by checking the contents of the file "mkqt.log" that should be in the folder "ThirdParty-2.1.x". Or by running:
    Code:
    $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/qt-4.6.4/bin/qmake --version
    If not, do step #10 again.
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 19, 2013, 04:36
Default
  #23
New Member
 
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 4
nagendra verma is on a distinguished road
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
Attached Files
File Type: zip mkqt.zip (16.5 KB, 1 views)
nagendra verma is offline   Reply With Quote

Old   February 19, 2013, 04:58
Default
  #24
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Nagendra,

I don't have my CentOS 5.1 installation with me right now. But try the following steps:
  1. Find the folder "config.tests/x11/xlib/":
    Code:
    cd $WM_THIRD_PARTY_DIR/build
    find . -name xlib
  2. Go into that folder and run:
    Code:
    make
  3. It should indicate which library is still missing.
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 19, 2013, 05:19
Default
  #25
New Member
 
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 4
nagendra verma is on a distinguished road
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
Attached Files
File Type: zip make3.zip (337 Bytes, 1 views)
nagendra verma is offline   Reply With Quote

Old   February 19, 2013, 05:39
Default
  #26
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 19, 2013, 07:12
Default
  #27
New Member
 
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 4
nagendra verma is on a distinguished road
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
Attached Files
File Type: zip aa.zip (20.2 KB, 1 views)
File Type: zip ad.zip (2.0 KB, 1 views)
nagendra verma is offline   Reply With Quote

Old   February 19, 2013, 07:24
Default
  #28
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
The file "ac" seems to have the answer why it did not build.
wyldckat is offline   Reply With Quote

Old   February 19, 2013, 07:39
Default
  #29
New Member
 
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 4
nagendra verma is on a distinguished road
Dear Sir,

I have attached ab and ac files.



Thanks
nagendra
Attached Files
File Type: zip ab.zip (89.0 KB, 1 views)
File Type: zip ac.zip (93.2 KB, 2 views)
nagendra verma is offline   Reply With Quote

Old   February 19, 2013, 09:31
Default
  #30
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
Check the "mkqt.log" file when it finishes. If it does not have any errors, then for finishing the Qt installation, run:
Code:
make install
source $WM_THIRD_PARTY_DIR/etc/tools/ThirdPartyFunctions
source $WM_THIRD_PARTY_DIR/etc/tools/QtFunctions
finalizeQt
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 20, 2013, 00:04
Default
  #31
New Member
 
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 4
nagendra verma is on a distinguished road
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
Attached Files
File Type: zip mkqt.zip (2.2 KB, 2 views)
nagendra verma is offline   Reply With Quote

Old   February 20, 2013, 03:34
Default
  #32
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 20, 2013, 04:31
Default
  #33
New Member
 
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 4
nagendra verma is on a distinguished road
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
Attached Files
File Type: zip out1.zip (435 Bytes, 3 views)
File Type: zip out2.zip (1.2 KB, 4 views)
nagendra verma is offline   Reply With Quote

Old   February 20, 2013, 05:29
Default
  #34
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
It will make Qt rebuild and hopefully this time it will find said files.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 20, 2013, 07:07
Default
  #35
New Member
 
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 4
nagendra verma is on a distinguished road
Dear sir,


Again its giving some Error.
I am attaching mkqt.log file in four parts.
now what I need to do.

Thanks
nagendra
Attached Files
File Type: zip aa.zip (87.2 KB, 0 views)
File Type: zip ab.zip (62.9 KB, 0 views)
File Type: zip ac.zip (63.3 KB, 1 views)
File Type: zip ad.zip (58.3 KB, 1 views)
nagendra verma is offline   Reply With Quote

Old   February 20, 2013, 07:20
Default
  #36
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
This basically replaces the links with the real file, for said missing library.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 20, 2013, 07:42
Default
  #37
New Member
 
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 4
nagendra verma is on a distinguished road
Dear Sir,
Again Error giving I am attaching file mkqt.log
Now what I need to do.


Thanks
nagendra
Attached Files
File Type: zip mkqt.zip (2.2 KB, 1 views)
nagendra verma is offline   Reply With Quote

Old   February 20, 2013, 07:51
Default
  #38
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
It will create a symbolic link to the final folder available ahead of time.
If this let things build properly, let me know.
wyldckat is offline   Reply With Quote

Old   February 20, 2013, 08:19
Default
  #39
New Member
 
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 4
nagendra verma is on a distinguished road
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
Attached Files
File Type: zip mkqt.zip (38.6 KB, 1 views)

Last edited by nagendra verma; February 20, 2013 at 08:39.
nagendra verma is offline   Reply With Quote

Old   February 20, 2013, 09:03
Default
  #40
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
This should be enough for finishing the installation of Qt.

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
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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 04:39
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
Handling cyclic BC from gambit to openfoam for a cascade airfoil problem - OF 1.6 maverick OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 June 18, 2011 04: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 09:11


All times are GMT -4. The time now is 20:32.