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

Installation OpenFOAM-1.6-ext

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 5, 2011, 05:18
Default Installation OpenFOAM-1.6-ext
  #1
OFU
New Member
 
Jennifer
Join Date: Aug 2009
Location: Germany
Posts: 28
Rep Power: 7
OFU is on a distinguished road
Hello,

I tried to install OpenFOAM-1.6-ext on SuSE SLES 11, but there were some problems with the environment variables e. g. the variable of the location of the third party software. Before I tried to installe OpenFOAM-1.6-ext I installed OpenFoam-1.7.x. After downloading OpenFoam-1.6-ext and adding and sourcing the necessary line in the .bashrc, I run the foamInstallationTest script and got the following output:


Executing bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: linux-z508
OS: Linux version 2.6.27.19-5-default
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/ofu/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/ofu/OpenFOAM/ofu-1.7.x no no
$WM_THIRD_PARTY_DIR /home/ofu/OpenFOAM/ThirdParty-1.7.x yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/ofu/OpenFOAM/OpenFOAM-1.6-ext yes yes yes

$FOAM_APPBIN ...ext/applications/bin/linux64GccDPOpt no yes
$FOAM_SITE_APPBIN ...OAM/site/1.6-ext/bin/linux64GccDPOpt no no
$FOAM_USER_APPBIN ...7.x/applications/bin/linux64GccDPOpt no no
$WM_DIR .../ofu/OpenFOAM/OpenFOAM-1.6-ext/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 ...OpenFOAM-1.6-ext/lib/linux64GccDPOpt no yes
$FOAM_SITE_LIBBIN ...OAM/site/1.6-ext/lib/linux64GccDPOpt no no
$FOAM_USER_LIBBIN ...enFOAM/ofu-1.7.x/lib/linux64GccDPOpt no no
$MPI_ARCH_PATH --------- env variable not set --------- yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
WARNING: gcc version does not match gcc supplied with this release of OpenFOAM
Supplied version: 4.3.3
User version : 4.3.2
Minimum required: 4.3.1

gcc 4.3.2
WARNING: Conflicting installations:
OpenFOAM settings : /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

gzip 1.3.12 /usr/bin/gzip
tar 1.20 /bin/tar
icoFoam
WARNING: Conflicting installations:
OpenFOAM settings : /home/ofu/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linux64GccDPOpt/icoFoam
current path :
CRITICAL ERROR

-------------------------------------------------------------------------------


Summary
-------------------------------------------------------------------------------
Base configuration ok.

The foam installation contains 2 critical error(s).

Review the output for warning messages and consult
the installation guide for trouble shooting.

done.


Some variables have still the path of the OpenFoam-1.7.x installation and some were updated and have now the right path of the OpenFOAM-1.6-ext installation. E.g. the WM_THIRD_PARTY_DIR variable has the wrong value and therefore I can't execute ./Allwmake correctly.
Does anyone know, what I did wrong and how to correct it?

Thanks
Jennifer
OFU is offline   Reply With Quote

Old   January 5, 2011, 08:43
Default
  #2
Member
 
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 32
Rep Power: 8
karamiag is on a distinguished road
You have to check your .bashrc file: is there the line

. $HOME/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc

After this close the console and open a new one, it should work!
karamiag is offline   Reply With Quote

Old   January 5, 2011, 08:51
Default
  #3
OFU
New Member
 
Jennifer
Join Date: Aug 2009
Location: Germany
Posts: 28
Rep Power: 7
OFU is on a distinguished road
Hello Giovanni,

Yes, the line
. /home/ofu/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc

is in the .bashrc file and when I open a new console and run foamInstallationTest I get the output I described.
And its curios that some variables are right and other wrong.
Therefore the problem must be somewhere else, but where?
OFU is offline   Reply With Quote

Old   January 5, 2011, 09:03
Default
  #4
Member
 
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 32
Rep Power: 8
karamiag is on a distinguished road
Is the line

. $HOME/OpenFOAM/OpenFOAM-1.7.x/etc/bashrc

commented or absent in your .bashrc file?
karamiag is offline   Reply With Quote

Old   January 5, 2011, 09:08
Default
  #5
OFU
New Member
 
Jennifer
Join Date: Aug 2009
Location: Germany
Posts: 28
Rep Power: 7
OFU is on a distinguished road
These are the entries in the .bashrc file which correspond to OpenFoam. All entries are commented out except the entry for OpenFoam-1.6-ext.



#*********** OpenFOAM ************************************

#*** Version 1.5
#. $HOME/OpenFOAM/OpenFOAM-1.5/etc/bashrc

#*** Version 1.6
#. $HOMEu/OpenFOAM/OpenFOAM-1.6/etc/bashrc

#*** Version 1.6-ext
. $HOME/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc

#*** Version 1.7.x
#. $HOME/OpenFOAM/OpenFOAM-1.7.x/etc/bashrc
OFU is offline   Reply With Quote

Old   January 5, 2011, 09:51
Default
  #6
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
Greetings to all!

Jennifer, I suggest that you change the lines you posted from "~/.bashrc", to something like this:
Code:
#*********** OpenFOAM ************************************

#*** Version 1.5 
alias of15='. $HOME/OpenFOAM/OpenFOAM-1.5/etc/bashrc'

#*** Version 1.6
alias of16='. $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc'

#*** Version 1.6-ext
alias of16ext='. $HOME/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc'

#*** Version 1.7.x
alias of17x='. $HOME/OpenFOAM/OpenFOAM-1.7.x/etc/bashrc'
Then start a new console/terminal. Run this to check if there are any remnants of OpenFOAM environment variables:
Code:
export | grep -i "foam"
If anything is outputted from this command (as long it's not an error message), then there is still some rogue line lying around in "~/.bashrc"!

When all is fixed and working, then whenever you start a new console or terminal, you can choose which OpenFOAM version you want, by running of17x or of16ext and so on. Keep in mind that you can only use each alias command in a new console/terminal, otherwise you will get the crazy environment like the one you are getting right now!

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 11, 2011, 16:57
Default
  #7
Member
 
Claudio
Join Date: Mar 2010
Posts: 57
Rep Power: 7
claco is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings to all!

Jennifer, I suggest that you change the lines you posted from "~/.bashrc", to something like this:
Code:
#*********** OpenFOAM ************************************

#*** Version 1.5 
alias of15='. $HOME/OpenFOAM/OpenFOAM-1.5/etc/bashrc'

#*** Version 1.6
alias of16='. $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc'

#*** Version 1.6-ext
alias of16ext='. $HOME/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc'

#*** Version 1.7.x
alias of17x='. $HOME/OpenFOAM/OpenFOAM-1.7.x/etc/bashrc'
Then start a new console/terminal. Run this to check if there are any remnants of OpenFOAM environment variables:
Code:
export | grep -i "foam"
If anything is outputted from this command (as long it's not an error message), then there is still some rogue line lying around in "~/.bashrc"!

When all is fixed and working, then whenever you start a new console or terminal, you can choose which OpenFOAM version you want, by running of17x or of16ext and so on. Keep in mind that you can only use each alias command in a new console/terminal, otherwise you will get the crazy environment like the one you are getting right now!

Best regards,
Bruno

Dear Sir,

can You kindly tell me where I can get Openfoam 1.6-ext and the other required files?
Moreover, can You kindly tell me (briefly) How can i successfully install the package on my Ubuntu 10.04 LTS platform?


Thank You in advance.

Claudio Comis
claco is offline   Reply With Quote

Old   February 11, 2011, 19:00
Default
  #8
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
Greetings Claudio,

You didn't need to ask this more than in one thread! If you did feel that need, then it's very likely you're not trying hard enough to look for the answer

OK, the easy peasy installation instructions: OpenFOAM-dev-1.5 or OpenFOAM-1.6-ext under Ubuntu Lucid 10.04 LTS

The BIY instructions: Extend Project Release 1.6-ext - only read the first post.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 12, 2011, 06:39
Default
  #9
Member
 
Claudio
Join Date: Mar 2010
Posts: 57
Rep Power: 7
claco is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings Claudio,

You didn't need to ask this more than in one thread! If you did feel that need, then it's very likely you're not trying hard enough to look for the answer

OK, the easy peasy installation instructions: OpenFOAM-dev-1.5 or OpenFOAM-1.6-ext under Ubuntu Lucid 10.04 LTS

The BIY instructions: Extend Project Release 1.6-ext - only read the first post.

Best regards,
Bruno

Dear Bruno,

I must confess You that I have already try with the instructions given at : OpenFOAM-dev-1.5 or OpenFOAM-1.6-ext under Ubuntu Lucid 10.04 LTS ; however this package does not contain tutorials and other solvers I need.
Moreover, I downloaded the package from SourceForge server. It semmes to be complete. I compiled it but 2 errors occurs at the end of the compilation ( It takes me 2 hours). The messages regard some missing package (lincompressibleRasmodel and so on).


Best,

Claudio
claco is offline   Reply With Quote

Old   February 12, 2011, 09:26
Default
  #10
Senior Member
 
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 8
boger is on a distinguished road
What are the tutorials? What are the solvers? What are the error messages?
__________________
David A. Boger
boger is offline   Reply With Quote

Old   February 14, 2011, 14:36
Default
  #11
Member
 
Claudio
Join Date: Mar 2010
Posts: 57
Rep Power: 7
claco is on a distinguished road
Dear All,


I installed version 1.6 ext, and the enclosed log file is the result of the foamInstallationTest.

Can You kindly help me please?

I followed step-by-step the instructions contained in the README file.

Executing /opt/OpenFOAM/OpenFOAM-1.6-ext/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: claudio-laptop
OS: Linux version 2.6.32-29-generic
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /opt/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /root/OpenFOAM/root-1.6-ext no no
$WM_THIRD_PARTY_DIR ...OpenFOAM/OpenFOAM-1.6-ext/ThirdParty yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /opt/OpenFOAM/OpenFOAM-1.6-ext yes yes yes

$FOAM_APPBIN ...ext/applications/bin/linux64GccDPOpt yes yes yes
$FOAM_SITE_APPBIN ...OAM/site/1.6-ext/bin/linux64GccDPOpt no no
$FOAM_USER_APPBIN ...ext/applications/bin/linux64GccDPOpt no no
$WM_DIR /opt/OpenFOAM/OpenFOAM-1.6-ext/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 ...OpenFOAM-1.6-ext/lib/linux64GccDPOpt yes yes yes
$FOAM_SITE_LIBBIN ...OAM/site/1.6-ext/lib/linux64GccDPOpt no no
$FOAM_USER_LIBBIN ...OAM/root-1.6-ext/lib/linux64GccDPOpt no no
$MPI_ARCH_PATH --------- env variable not set --------- yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
WARNING: gcc version does not match gcc supplied with this release of OpenFOAM
Supplied version: 4.3.3
User version : 4.4.3
Minimum required: 4.3.1

gcc 4.4.3
WARNING: Conflicting installations:
OpenFOAM settings : /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

gzip 1.3.12 /bin/gzip
tar 1.22 /bin/tar
icoFoam ...nFOAM-1.6-ext/applications/bin/linux64GccDPOpt/icoFoam
-------------------------------------------------------------------------------


Summary
-------------------------------------------------------------------------------
Base configuration ok.

The foam installation contains 1 critical error(s).

Review the output for warning messages and consult
the installation guide for trouble shooting.

done.




Thank You in advance.

Claudio


P.S.: I use the UBUNTU 10.04 LTS version, updated.
claco is offline   Reply With Quote

Old   February 14, 2011, 18:50
Default
  #12
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 Claudio,

Quote:
Originally Posted by claco View Post
gcc 4.4.3
WARNING: Conflicting installations:
OpenFOAM settings : /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR
This is a bogus warning... which I believe has already been fixed in 1.7.x, but the fix hasn't reached 1.6-ext yet. In other words, this is not a critical error and it will not affect OpenFOAM's build process.

For us to get a better understanding of what went wrong with your build process, please run Allwmake again like this:
Code:
./Allwmake > make.log 2>&1
tar -czf make.log.tar.gz make.log
Then attach the file "make.log.tar.gz" to your next post.

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
OpenFOAM 1.6 installation in Debian 5.06 lenny IA64 icingfish OpenFOAM Installation 8 October 8, 2010 02:42
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 7 January 19, 2010 16:39
OpenFOAM 1.6 installation in Ubuntu 9.1 jsm OpenFOAM Installation 4 January 3, 2010 23:53
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


All times are GMT -4. The time now is 14:34.