|
[Sponsors] |
February 15, 2010, 02:03 |
$FOAM_USER_APPBIN & LIBBIN variables not set
|
#1 |
Member
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 17 |
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 |
|
February 15, 2010, 04:38 |
|
#2 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
||
February 16, 2010, 21:54 |
|
#3 | |
Member
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 17 |
Quote:
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 |
||
|
|
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 16: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 01:22 |
How have boundary values set for calculated variables | olwi | OpenFOAM Running, Solving & CFD | 5 | August 25, 2006 12:56 |
Ibm java gcc | rrr | OpenFOAM Installation | 2 | December 30, 2005 05:18 |