|
[Sponsors] |
[waves2Foam] Error: "The directory path WAVES_DIR=:/home/waves2Foam does not exist." |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 27, 2014, 06:46 |
Error: "The directory path WAVES_DIR=:/home/waves2Foam does not exist."
|
#1 |
New Member
Dmitrijs Gavrilovs-Stepanovs
Join Date: Jun 2014
Posts: 15
Rep Power: 12 |
Hi everyone,
I am new to Linux and OpenFOAM, so it is extremely painful for me to configure it correctly. I am trying to install waves2Foam toolbox at the moment, I followed the instructions, but when I try to execute Allwmake file, it gives me an error message: ~~~~~~~~ FATAL ERROR. The directory path WAVES_DIR=:/home/waves2Foam does not exist. Correct the path in bin/bashrc This means that you should correct the environmental variable $WAVES_DIR such that it is pointed (in absolute sense) to the path, where waves2Foam is located. Please note that once bin/bashrc is created, bin/bashrc.org is only an inactive file. The latter is also the only of the two files, which is updated through the SVN-repository. EXITING ~~~~~~~~~~~~ I know that I have to change the path in the bashrc for the WAVES_DIR variable, my question is what is the right path if my waves2Foam folder is just in my home directory? I have tried /home/waves2Foam , but it did not work. Thank you very much in advance! |
|
June 27, 2014, 07:36 |
|
#2 |
New Member
Dmitrijs Gavrilovs-Stepanovs
Join Date: Jun 2014
Posts: 15
Rep Power: 12 |
Hi again!
Please ignore the previous post since I figured it out! |
|
June 27, 2014, 09:40 |
|
#3 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
Dmitrijs, could you please explain how you did it?
|
|
June 27, 2014, 09:53 |
|
#4 |
New Member
Dmitrijs Gavrilovs-Stepanovs
Join Date: Jun 2014
Posts: 15
Rep Power: 12 |
OK, so you just go to the wave2Foam directory which should be in your HOME directory. Then you go to /bin and select bashrc file. In that file find label ### USER DEFINED ENVIRONMENTAL VARIABLES and find 'export WAVES_DIR=<some location>' just under it. This is the path you need to correct. I changed it to:
export WAVES_DIR=$HOME/waves2Foam and it worked. Hope it will work for you too! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops | avinashjagdale | OpenFOAM Meshing & Mesh Conversion | 53 | March 8, 2019 10:42 |
LEMOS InflowGenerator | r_gordon | OpenFOAM Running, Solving & CFD | 103 | December 18, 2018 01:58 |
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 | tlcoons | OpenFOAM Installation | 13 | April 20, 2016 18:34 |
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' | mfiandor | OpenFOAM Installation | 2 | January 25, 2010 10:50 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |