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

OpenFoam installation environment error (using CAELinux)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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


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 Off
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 07:55
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 19: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 07:25
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
OpenFOAM installation on SUSE92 problems derath OpenFOAM Installation 1 April 3, 2006 07:44


All times are GMT -4. The time now is 16:38.