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

Gentoo Environment Variables

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 20, 2009, 12:20
Default Gentoo Environment Variables
  #1
Member
 
Scott
Join Date: Sep 2009
Posts: 30
Rep Power: 7
scottneh is on a distinguished road
Hello, I ma installing OpenFOAM on a Gentoo machine and can't seem to get the environment variables right. Gentoo is a little different then what is posted in the installation instructions so I created a file called 99OpenFOAM in my /etc/env.d/ directory and ran env-update. In that file I put:

# /etc/env.d/99OpenFOAM

PATH="/programs/OpenFOAM/OpenFOAM-1.6/bin"
ROOTPATH="/programs/OpenFOAM/OpenFOAM-1.6/bin"
LDPATH="/programs/OpenFOAM/OpenFOAM-1.6/lib"
FOAM_INST_DIR="/programs/OpenFOAM/OpenFOAM-1.6/etc/bashrc"
CC="gcc"
CXX="g++"

and when I ran 'foamInstallationTest' I get

Executing /programs/OpenFOAM/OpenFOAM-1.6/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------

FATAL ERROR: OpenFOAM environment not configured.

Please refer to the installation section of the README file:
<OpenFOAM installation dir>/OpenFOAM-1.6/README
to source the OpenFOAM environment.

Has anyone here installed OpenFOAM on a gentoo machine before?

Thanks
Scott
scottneh is offline   Reply With Quote

Old   September 20, 2009, 12:21
Default
  #2
Member
 
Scott
Join Date: Sep 2009
Posts: 30
Rep Power: 7
scottneh is on a distinguished road
BTW, I did an 'env-update' after editing 99OpenFOAM
scottneh 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
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
Setting Environment Variables PETER P. CFX 1 August 3, 2008 18:33
MPI Environment Variables braennstroem OpenFOAM Installation 8 February 8, 2008 10:19
How to set environment variables kanishka OpenFOAM Installation 1 September 4, 2005 10:15
environment variables version 3.2 F.K. CD-adapco 15 June 28, 2004 12:41


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