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

OpenFoam installation environment error (using CAELinux)

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 22, 2011, 06:04
Default OpenFoam installation environment error (using CAELinux)
  #1
New Member
 
vahid
Join Date: Nov 2011
Posts: 2
Rep Power: 0
vahid_paris is on a distinguished road
Hello,

I have a problem during the openfoam installation.
I have CAElinux package containing linux ubuntu as well as openfoam.
Actually, I put the CAElinux pack in "opt" directory. I compilied the software with ./Allwmake commande, but after checking the installation with "foamInstallationtest" command, I saw the following error:

"OpenFoam environment not configured."

I used the following command to set the environment:

export FOAM_INST_DIR=/home/simuser
foamDotFile=$FOAM_INST_DIR/OpenFOAM-2.0.1/etc/bashrc
[ -f $foamDotFile ] && . $foamDotFile

I also added the following line in .bashrc file:

source /opt/openfoam201/etc/bashrc

but, still, I have the same problem. Any idea about this error?
Thanks
vahid_paris is offline   Reply With Quote

Old   November 22, 2011, 16:11
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Vahid,

Quote:
Originally Posted by vahid_paris View Post
export FOAM_INST_DIR=/home/simuser
foamDotFile=$FOAM_INST_DIR/OpenFOAM-2.0.1/etc/bashrc
[ -f $foamDotFile ] && . $foamDotFile
So you are telling ".bashrc" that OpenFOAM is parked in your home folder... And then also tell it that you parked in opt as well?
Quote:
Originally Posted by vahid_paris View Post
I also added the following line in .bashrc file:
source /opt/openfoam201/etc/bashrc
What were exactly the steps you've taken to install OpenFOAM 2.0.1 at "/opt"?

As far as I can tell, you first installed OpenFOAM as root to place it at "/opt". If so, how exactly did you call OpenFOAM's "bashrc" file while in root mode?

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
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
OpenFOAM installation on SUSE92 problems derath OpenFOAM Installation 1 April 3, 2006 06:44


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