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

[OpenFOAM.com] Current directory is not $WM_PROJECT_DIR????

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 14, 2020, 12:52
Talking Current directory is not $WM_PROJECT_DIR????
  #1
New Member
 
wangh
Join Date: Jul 2020
Posts: 10
Rep Power: 6
heheda is on a distinguished road
I'm trying to install OpenFOAM-2.3.1 from source on Ubuntu 18.10 (I have installed the 7th version of OpenFOAM). When I try to launch ./Allwmake I get this error:

./Allwmake: 4: ./Allwmake: 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.

please help me solve this problem,thank you very much!!!
heheda is offline   Reply With Quote

Old   September 7, 2020, 10:28
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by heheda View Post
I'm trying to install OpenFOAM-2.3.1 from source on Ubuntu 18.10 (I have installed the 7th version of OpenFOAM). When I try to launch ./Allwmake I get this error:

./Allwmake: 4: ./Allwmake: 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.

please help me solve this problem,thank you very much!!!



With these older versions you need to pay particular attention to the contents of the OpenFOAM etc/bashrc to ensure that directory location is correct (you probably need to manually edit the file).



After making those changes and sourcing the etc/bashrc file, check that the value of "$WM_PROJECT_DIR" makes sense.


Note that with such an old version of OpenFOAM, you are very likely to run into various compilation issues with newer compilers.
olesen is offline   Reply With Quote

Reply

Tags
installation, multiple version, openfoam


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
[OpenFOAM.com] swak4foam compiling issues on a cluster saj216 OpenFOAM Installation 5 January 17, 2023 17:05
how to calculate mass flow rate on patches and summation of that during the run? immortality OpenFOAM Post-Processing 104 February 16, 2021 09:46
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 18:34
[snappyHexMesh] jagged, ragged edges... ziemowitzima OpenFOAM Meshing & Mesh Conversion 138 July 24, 2012 00:41


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