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

Allwmake path error

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 6, 2012, 14:24
Unhappy Allwmake path error
  #1
New Member
 
David
Join Date: Mar 2012
Posts: 17
Rep Power: 14
kiski is on a distinguished road
Hi all,
I have problems with the environment variables when running ./Allwmake. I know this problem has been posted many times, but I can't solve it. I am quite new in Ubuntu, so I apply for patiennce

I have tried to install open foam in two directories (I prefer /usr/local but I also tried in Home):
/usr/local/OpenFoam (and make a chown for permisions)
~/OpenFoam


In none of them worked out. I followed this steps

1. I downloaded openFoam and ThirdParty Source Packs in the mentioned directories above
2. I unpacked
tar xzf OpenFOAM-2.1.0.tgz
tar xzf
ThirdParty-2.1.0.tgz
3. I installed all the dependencies for ubuntu 11.04
http://www.openfoam.org/download/source.php
4. I hadded the line below to the end of ~/.bashrc file (I will only continue posting the installation in my home directory)
...
source $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc

5. I tried typing "source $HOME/.bashrc" in terminal but responds "No such a file or directory". I tried with "source ~/.bashrc" and the same output. I don't know why.

6. I execute the foamSystemCheck script and it is fine
System check: PASS
==================
Continue OpenFOAM installation.

7. Now, I put this in the Terminal
...Aspire-5742:~/OpenFoam/OpenFOAM-2.1.0$ ./Allwmake
./Allwmake: 9: wmakeCheckPwd: not found
Error: Current directory is not $WM_PROJECT_DIR
The environment variables are inconsistent with the installation.
Check the OpenFOAM entries in your dot-files and source them.

I have looked arround in posts and tried several things on my own, but I feel useless.
Can anybody help me, please?
kiski is offline   Reply With Quote

 

Tags
allwmake, installation, ubuntu 11.04


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
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 13:21
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 11:39
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
user defined function cfduser CFX 0 April 29, 2006 10:58


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