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

[OpenFOAM.com] Fail to build the third party dependencies, Error: not located in $WM_THIRD_PARTY_DIR

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2022, 07:05
Unhappy Fail to build the third party dependencies, Error: not located in $WM_THIRD_PARTY_DIR
  #1
New Member
 
leon
Join Date: Feb 2019
Posts: 6
Rep Power: 5
nang19960916 is on a distinguished road
I am installing openfoam2106
I downloaded the thirdParty-common from https://develop.openfoam.com/Develop...rdParty-common
When I Allwmake the ThirdParty dependencies, this error appeared
PHP Code:
(base) ./Allwmake
Error 
(Allwmake) : not located in $WM_THIRD_PARTY_DIR
    Check your OpenFOAM environment 
and installation 
This is my $WM_THIRD_PARTY_DIR
PHP Code:
(base) echo $WM_THIRD_PARTY_DIR
/home/cmwang22/openfoam/openfoam2106/ThirdPart 
This is the location of my file
PHP Code:
 pwd
/home/cnwong22/openfoam/openfoam2106/ThirdParty 
This is part of the Allwmake code that made my complication failed
PHP Code:
# Run from third-party directory only
cd "${0%/*}" || exit
wmakeCheckPwd "$WM_THIRD_PARTY_DIR" 2>/dev/null || {
    echo "Error (${0##*/
}) : not located in \$WM_THIRD_PARTY_DIR"
    
echo "    Check your OpenFOAM environment and installation"
    
exit 1
}
"${WM_THIRD_PARTY_DIR:?}"/etc/tools/ThirdPartyFunctions 
Thanks for helping.
nang19960916 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
SU2 Parallel Build Install Issue jclegg SU2 4 October 20, 2020 05:28
[waves2Foam] Problems with the compilation of the third party dependencies chia87 OpenFOAM Community Contributions 7 May 20, 2017 07:04
Building from Source on Windows using Cygwin64 ericthefatguy SU2 2 May 12, 2015 19:23
SU2 3.0 build failure waku2005 SU2 Installation 4 January 24, 2014 13:40


All times are GMT -4. The time now is 07:35.