|
[Sponsors] |
problem in installation in OpenFOAM-2.1.x on Red Hat |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 4, 2013, 03:16 |
problem in installation in OpenFOAM-2.1.x on Red Hat
|
#1 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
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 |
|
February 4, 2013, 06:16 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Nagendra and welcome to the forum!
OK, there are at least two issues:
Bruno
__________________
|
|
February 6, 2013, 08:00 |
Recompilation of OpenFOAM
|
#3 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
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 |
|
February 6, 2013, 18:39 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
February 8, 2013, 07:33 |
Error in Installation of OpenFOAM on RedHat5.1
|
#5 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
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 Last edited by nagendra verma; February 8, 2013 at 07:36. Reason: forgot to attach make4.log file |
|
February 10, 2013, 07:06 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Nagendra,
It looks like you still have two problems:
Bruno
__________________
|
|
February 12, 2013, 02:30 |
problem in Installation of OpenFOAM-2.1.1 on RHEL Server release 5.1
|
#7 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
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 Last edited by nagendra verma; February 12, 2013 at 06:00. Reason: attaching one more log file |
|
February 12, 2013, 06:06 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Nagendra,
Did you do the commands in step #6 with success? You can confirm by running the following commands:
Bruno
__________________
|
|
February 12, 2013, 06:09 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
OK, onward to the second log file:
__________________
|
|
February 12, 2013, 08:33 |
|
#10 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
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 |
|
February 12, 2013, 08:44 |
|
#11 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
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.
__________________
Last edited by wyldckat; February 12, 2013 at 17:57. Reason: see "edited 9h later" |
|
February 13, 2013, 00:33 |
log file for OpenFOAM-2.1.x Installation on RHEL 5.1
|
#12 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
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 |
|
February 13, 2013, 05:46 |
|
#13 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
February 15, 2013, 07:15 |
general query In Installation of OpenFOAM on RHEL5.1
|
#14 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
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 |
|
February 15, 2013, 08:22 |
|
#15 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
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 which g++44 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
__________________
|
|
February 17, 2013, 11:01 |
|
#16 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
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 sed -i -e 's=gcc=$(WM_CC)=' OpenFOAM-2.1.1/wmake/rules/linux64Gcc44/c sed -i -e 's=g++=$(WM_CXX)=' OpenFOAM-2.1.1/wmake/rules/linux64Gcc44/c++ 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
__________________
Last edited by wyldckat; February 17, 2013 at 14:09. Reason: see "edit:" |
|
February 18, 2013, 03:01 |
problem in Installation of OpenFOAM-2.1.1 on RHEL Server release 5.1
|
#17 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
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 |
|
February 18, 2013, 05:19 |
|
#18 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
February 18, 2013, 07:35 |
|
#19 |
New Member
nagendra verma
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
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 |
|
February 18, 2013, 07:41 |
|
#20 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
|
|
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 |