problem in installation in OpenFOAM-2.1.x on Red Hat
1 Attachment(s)
Dear former,
I am installing OpenFOAM-2.1.x on Red Hat Enterprise Linux Server release 5.1 after calling ./Allwmake after 2 hour 1o min I have got error Target `application' not remade because of errors. please tell me what I should to do. Thanks in Advance nagendra |
Greetings Nagendra and welcome to the forum!
OK, there are at least two issues:
Bruno |
Recompilation of OpenFOAM
1 Attachment(s)
Thankyou for your reply
I have use command you tell me cd $WM_PROJECT_DIR/.. find OpenFOAM-2.1.x ThirdParty-2.1.x | xargs touch cd $WM_PROJECT_DIR ./Allwmake > make.log 2>&1 but sir I am not getting what cause error . I am quite new sir please help me. I have attached make.log file please check it . please tell me is there any dependency for installing openfoam on Red Hat Enterprise Linux Server release 5.1. I am using Gcc 4.1.2 please tell me now what I need to do. Thanks&Regards nagendra |
Hi Nagendra,
You can try following these instructions: http://openfoamwiki.net/index.php/In...HEL#CentOS_5.8 - they were tested with CentOS 5.8, so I don't know if they will work with RHEL 5.1, but they should with RHEL 5.8. In essence, it's not possible to build OpenFOAM 2.1.1/x with Gcc 4.1.2, at least not as it is usually distributed. You need to get a more recent version of Gcc, any version between Gcc 4.3.3 and 4.7.x should work. The instructions above rely on Gcc 4.4 that should be available through RHEL's package management system. The other possibility is to find what needs to be modified for OpenFOAM to build with Gcc 4.1.2. You'll have to search this forum for more information on this. But I still think the best solution would be to ask your system's administrator to install Gcc 4.4. Best regards, Bruno |
Error in Installation of OpenFOAM on RedHat5.1
1 Attachment(s)
Thanks for your reply
what you had sent me link I have followed I have try following instructions: http://openfoamwiki.net/index.php/In...HEL#CentOS_5.8 - But still I am getting some Error,I am sending make4.log file please let me know about error and what I should to do now. Thanks&Regards nagendra |
Hi Nagendra,
It looks like you still have two problems:
Bruno |
problem in Installation of OpenFOAM-2.1.1 on RHEL Server release 5.1
2 Attachment(s)
Thanks for your contineous help...
I am still getting the same error , I am sending all the steps what I have done and sending log file also. I have installed gcc44 version 4.4.7 on my system /usr/bin. Step 1- yum groupinstall 'Development Tools' Error: Unable to satisfy dependencies Error: Package rpm-devel needs rpm = 4.4.2-47.el5, this is not available. Error: Package rpm-libs needs rpm = 4.4.2-47.el5, this is not available. Error: Package elfutils-libelf conflicts with elfutils-libs > 0.125-3.el5. Error: Package python-devel needs python = 2.4.3-19.el5, this is not available. Error: Package elfutils-libelf conflicts with elfutils > 0.125-3.el5. Step 2- yum install gcc44 gcc44-c++ openmpi openmpi-devel zlib-devel Instead of gcc44-c++ I am having g++44 Step 3 – my SYSTEMOPENMPI is openmp-1.2.8 Step 4- exit and open new terminal Step 6- I have added these 7 lines in ~/.bashrc file. Then source ~/.bashrc Then wcleanAll find . | xargs touch this command does not give any error. Step -7 now running ./Allwmake > make.log 2>&1 Is there any rpm file for OpenFOAM2.1.1 available for RHEL 5.1 please help me what I shoult to do now. When I was using same process for OpenFOAM-2.1.x then its using gcc44 but giving same error I am attaching make2.log for OpenFOAM-2.1.x Thanks & Regards nagendra |
Hi Nagendra,
Did you do the commands in step #6 with success? You can confirm by running the following commands:
Bruno |
OK, onward to the second log file:
|
Thankyou for giving your precious time...
echo $WM_CC giving gcc44 echo $WM_CXX giving g++44 echo $WM_COMPILER giving Gcc44 grep gcc "OpenFOAM-2.1.1/wmake/rules/linuxGcc44/c" giving message no such file or directory grep "g++" "/OpenFOAM-2.1.1/wmake/rules/linuxGcc44/c++" giving message no such file or directory BUT, grep gcc "$HOME//OpenFOAM/OpenFOAM-2.1.1/wmake/rules/linuxGcc44/c" nothing message appear grep "g++" "$HOME/OpenFOAM/OpenFOAM-2.1.1/wmake/rules/linuxGcc44/c++" nothing message appear ************************************************** *** In OpenFOAM-2.1.x I have done following steps but getting same output.
Thanks & Regards nagendra |
Please attach the latest log file, the same way as you've done before.
I'll try to test this on CentOS 5.1 at the end of today, which will be in about 9h from now. edited 9h later: sorry, I tried to give it a shot, but I ended up downloading only the livecd and now I'm too tired to stay awake :( I'll try again tomorrow night. |
log file for OpenFOAM-2.1.x Installation on RHEL 5.1
1 Attachment(s)
sorry I could not sent yesterday...
I am attaching the latest log file. In OpenFOAM-2.1.x I have done following steps but getting same output.
nagendra |
Hi Nagendra,
I think I've spotted the issue you're having. You have RHEL 5.1 x86_64, but you're following the instructions for building the 32bit build of OpenFOAM. Look at the installation instructions again and follow the steps that specifically say "For x86_64". You probably will have to edit the file "$HOME/.bashrc" manually and remove "WM_ARCH_OPTION=32" from this line: Code:
source $HOME/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc WM_NCOMPPROCS=4 WM_COMPILER=Gcc44 WM_MPLIB=SYSTEMOPENMPI WM_ARCH_OPTION=32 Code:
source $HOME/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc WM_NCOMPPROCS=4 WM_COMPILER=Gcc44 WM_MPLIB=SYSTEMOPENMPI Good luck! Bruno |
general query In Installation of OpenFOAM on RHEL5.1
Dear sir,
In this step yum install gcc44 gcc44-c++ openmpi openmpi-devel zlib-devel instead of gcc44-c++ I am having g++44 installed on my system Is it ok or need to install gcc44-c++. Thanks&Regards nagendra |
Hi Nagendra,
The package names probably changed between RHEL 5.1 and 5.8. What matters is what the following two commands output: Code:
which gcc44 Like I wrote in the previous post, the problem seems to be that you were following the instructions for the 32bit installation (i386 or i686), instead of the 64bit installation (x86_64). Best regards, Bruno |
Hi Nagendra,
I'm currently testing the instructions on a CentOS 5.1 x86_64 and I've already detected an error in the instructions. Run the following commands: Code:
cd ~/OpenFOAM I hope by the end of the day to have sorted out the problems in the instructions. edit: Done testing. Page is up-to-date and added section specifically for CentOS 5.1: http://openfoamwiki.net/index.php/In...HEL#CentOS_5.1 Best regards, Bruno |
problem in Installation of OpenFOAM-2.1.1 on RHEL Server release 5.1
2 Attachment(s)
Thankyou sir,
whatever you have mension its taking g++44 with 64 bit but after certain line its comiplation stops automatic without any intruption. I have run two time but at same point it stops first log file is make.log second is make1.log after first compilation I have done the following commands and again run wcleanAll find . | xargs touch ./Allwmake > make1.log 2>&1 I am sending these two log files. Thanks nagendra |
Hi Nagendra,
I think it is now all built properly. There are no error messages, although there are still warnings about "skew clock time". After a bit of searching, it looks like this clock issue is possibly due to your system using NFS (or similar) for storing your OpenFOAM files. It should now all be working properly! Best regards, Bruno |
1 Attachment(s)
Thankyou Sir,
while I am executing the foamInstallationTest script (in the OpenFOAM-2.1.x/bin directory) 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 /usr/bin//gzip tar 1.15.1 /bin/tar icoFoam 2.1.x ...OpenFOAM-2.1.x/platforms/linux64Gcc44DPOpt/bin/icoFoam Sir why it is giving gcc 4.1.2 I am attaching a make file generated by command foamInstallationTest running in directory OpenFOAM-2.1.x/bin. Thanks&Regards nagendra |
Hi Nagendra,
No need to worry about it. foamInstallationTest is a basic testing script and assumes that only the default "gcc" name is used, which you used gcc44: Code:
gcc44 --version Best regards, Bruno |
1 Attachment(s)
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 |
Hi Nagendra,
Looks like Qt didn't build properly. Two details:
Bruno |
1 Attachment(s)
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 |
Hi Nagendra,
I don't have my CentOS 5.1 installation with me right now. But try the following steps:
Bruno |
1 Attachment(s)
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 |
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 Bruno |
2 Attachment(s)
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 |
The file "ac" seems to have the answer why it did not build.
|
2 Attachment(s)
Dear Sir,
I have attached ab and ac files. Thanks nagendra |
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 Code:
make install Bruno |
1 Attachment(s)
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 |
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 Bruno |
2 Attachment(s)
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 |
Hi Nagendra,
That file system is clearly giving us some headaches... OK, try this: Code:
cd $WM_THIRD_PARTY_DIR/build Best regards, Bruno |
4 Attachment(s)
Dear sir,
Again its giving some Error. I am attaching mkqt.log file in four parts. now what I need to do. Thanks nagendra |
Hi Nagendra,
Try these commands: Code:
cd $WM_THIRD_PARTY_DIR/build Best regards, Bruno |
1 Attachment(s)
Dear Sir,
Again Error giving I am attaching file mkqt.log Now what I need to do. Thanks nagendra |
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 If this let things build properly, let me know. |
1 Attachment(s)
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 |
Hi Nagendra,
OK, next steps: Code:
unlink $WM_THIRD_PARTY_DIR/platforms/linux64Gcc44/qt-4.6.4 Then for building ParaView, start a new terminal, just in case. Then: Code:
cd $WM_THIRD_PARTY_DIR Bruno |
All times are GMT -4. The time now is 02:27. |