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

[waves2Foam] Error: "The directory path WAVES_DIR=:/home/waves2Foam does not exist."

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Dmitrjs

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 27, 2014, 05:46
Default 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: 11
Dmitrjs is on a distinguished road
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!
Dmitrjs is offline   Reply With Quote

Old   June 27, 2014, 06:36
Default
  #2
New Member
 
Dmitrijs Gavrilovs-Stepanovs
Join Date: Jun 2014
Posts: 15
Rep Power: 11
Dmitrjs is on a distinguished road
Hi again!
Please ignore the previous post since I figured it out!
Dmitrjs is offline   Reply With Quote

Old   June 27, 2014, 08:40
Default
  #3
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22
vasava will become famous soon enough
Dmitrijs, could you please explain how you did it?
vasava is offline   Reply With Quote

Old   June 27, 2014, 08:53
Default
  #4
New Member
 
Dmitrijs Gavrilovs-Stepanovs
Join Date: Jun 2014
Posts: 15
Rep Power: 11
Dmitrjs is on a distinguished road
Quote:
Originally Posted by vasava View Post
Dmitrijs, could you please explain how you did it?
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!
west barkley likes this.
Dmitrjs 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
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
LEMOS InflowGenerator r_gordon OpenFOAM Running, Solving & CFD 103 December 18, 2018 00:58
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 17:34
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 09:50
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30


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