|
[Sponsors] |
Error: Current directory is not $WM_THIRD_PARTY_DIR |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 28, 2014, 06:00 |
Error: Current directory is not $WM_THIRD_PARTY_DIR
|
#1 |
New Member
Steve
Join Date: Aug 2014
Posts: 1
Rep Power: 0 |
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. 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 Any help/suggestions much appreciated! thanks Steve |
|
August 30, 2014, 11:46 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
|
|
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 |