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

Error: Current directory is not $WM_THIRD_PARTY_DIR

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 28, 2014, 06:00
Default Error: Current directory is not $WM_THIRD_PARTY_DIR
  #1
New Member
 
Steve
Join Date: Aug 2014
Posts: 1
Rep Power: 0
lapsednun is on a distinguished road
Hello. Getting V. frustrated! Assume that my environment variables must be at fault but can't see what the issue is however several hours of head banging later....

I'm a bit of a newbie at this so it's probably blindingly obvious what's wrong to those of you who know what you're doing!

So. I'm attempting to compile into /opt/OpenFOAM/OpenFOAM-2.3.0 On an Ubuntu 14.04 VM. When I run ./Allwmake from the ThirdParty-2.3.0 folder I get the error:
Code:
./Allwmake: 34: ./Allwmake: wmakeCheckPwd: not found
Error: Current directory is not $WM_THIRD_PARTY_DIR
    The environment variables are inconsistent with the installation.
    Check the OpenFOAM entries in your dot-files and source them.
I currently have set:

Code:
root@swilley-w7:/opt/OpenFOAM/OpenFOAM-2.3.0/ThirdParty-2.3.0# echo $WM_THIRD_PARTY_DIR
/opt/OpenFOAM/ThirdParty-2.3.x

root@swilley-w7:/opt/OpenFOAM/OpenFOAM-2.3.0/ThirdParty-2.3.0# echo $FOAM_INST_DIR
/opt/OpenFOAM

root@swilley-w7:/opt/OpenFOAM/OpenFOAM-2.3.0/ThirdParty-2.3.0# echo $WM_PROJECT_DIR
/opt/OpenFOAM/OpenFOAM-2.3.x
bashrc file is attached.

Any help/suggestions much appreciated!

thanks

Steve
Attached Files
File Type: txt bashrc.txt (7.2 KB, 89 views)
lapsednun is offline   Reply With Quote

Old   August 30, 2014, 11:46
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 Steve and welcome to the forum!

The problem seems to be that you have more than one OpenFOAM version already installed, most likely version 2.3.x, which is why the environment variables for the other version are colliding with 2.3.0.

Here is some reading material on this topic: http://openfoamwiki.net/index.php/In...with_the_Shell

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
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
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 04:30
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43
OpenFoam install script Error during paraFoam installation SePe OpenFOAM Installation 10 June 19, 2010 16:15
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01


All times are GMT -4. The time now is 06:37.