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

$FOAM_USER_APPBIN & LIBBIN variables not set

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 15, 2010, 02:03
Default $FOAM_USER_APPBIN & LIBBIN variables not set
  #1
Member
 
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 8
rassilon is on a distinguished road
Hi Folks,

Been using OF-1.6 on a Linux Mint 8 (Helena) install for about 3 weeks with no problems.

Have started looking at compiling my own Boundary Conditions, and discovered that the $FOAM_USER_APPBIN and $FOAM_USER_LIBBIN environment variables are not set (or not valid). They appear to need to be set properly to compile new Boundary Conditions.

The results of my installation test give this:

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

$FOAM_APPBIN ...1.6/applications/bin/linux64GccDPOpt yes yes yes
$FOAM_SITE_APPBIN ...penFOAM/site/1.6/bin/linux64GccDPOpt no no
$FOAM_USER_APPBIN ...1.6/applications/bin/linux64GccDPOpt no no
$WM_DIR /home/nathan/OpenFOAM/OpenFOAM-1.6/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 ...OAM/OpenFOAM-1.6/lib/linux64GccDPOpt yes yes yes
$FOAM_SITE_LIBBIN ...penFOAM/site/1.6/lib/linux64GccDPOpt no no
$FOAM_USER_LIBBIN ...nFOAM/nathan-1.6/lib/linux64GccDPOpt no no
$MPI_ARCH_PATH ...nmpi-1.3.3/platforms/linux64GccDPOpt yes yes yes
-------------------------------------------------------------------------------

How can I initialise these two environment variables to make them valid, and where should they point when they are set up correctly?

Any help greatly appreciated...


R
rassilon is offline   Reply With Quote

Old   February 15, 2010, 04:38
Default
  #2
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
bastil is on a distinguished road
Quote:
Originally Posted by rassilon View Post
How can I initialise these two environment variables to make them valid, and where should they point when they are set up correctly?
They should be set properly after sourcing etc/bashrc. Try:

Code:
source /path/to/openfoam/etc/bashrc
echo $FOAM_USER_APPBIN
bastil is offline   Reply With Quote

Old   February 16, 2010, 21:54
Default
  #3
Member
 
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 8
rassilon is on a distinguished road
Quote:
Originally Posted by bastil View Post
They should be set properly after sourcing etc/bashrc. Try:

Code:
source /path/to/openfoam/etc/bashrc
echo $FOAM_USER_APPBIN

Hi Bastil,

Thanks for your help. It seems that the problem was that the directory locations that APPBIN and LIBBIN pointed to did not exist. I created them manually, and now they seem to work ok.

Not sure why they were missing though. Possibly a difference between the compiled version and running from binaries.


R
rassilon 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
'Set Environment Variables' for Fluent 12 DarrenC Fluent UDF and Scheme Programming 2 May 25, 2011 15:51
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Level set vs VOF steve Main CFD Forum 11 September 16, 2008 00:22
How have boundary values set for calculated variables olwi OpenFOAM Running, Solving & CFD 5 August 25, 2006 11:56
Ibm java gcc rrr OpenFOAM Installation 2 December 30, 2005 05:18


All times are GMT -4. The time now is 07:56.