wmake: command not found
I am trying to install a custom utility for openFOAM in macos, I cannot use the wmake function even though I have installed xcode command line tools and have "make" in the /usr/bin folder
I am trying to install a custom utility for openFOAM in macos, I cannot use the wmake function even though I have installed xcode command line tools and have "make" in the /usr/bin folder
No child items are currently assigned. Use child items to break down this issue into smaller parts.
The "wmake" script is part of OpenFOAM, located as wmake/wmake in its directory structure. It is not the same as "make".
I am trying to enter the following: “wmake foam2columns” to compile the custom utility but says “wmake: command not found”
Did you source the OpenFOAM environment first? Eg, source /installation/path/openfoam/etc/bashrc
added community label
Hi, I'm not sure what you mean by sourcing, I used the same command you posted on my installation path but nothing happened, do i do it in my terminal or opening openfoam first?
your 'shell' needs to know about OpenFOAM; therefore, you need to use the shell built-in 'source' command to read and execute the content of OpenFOAM's 'bashrc' file, first.
you need to execute the command Mark provided:
source /installation/path/openfoam/etc/bashrc
but you need to change the directory path in that command /installation/path/openfoam/
to the actual path where you keep the OpenFOAM directory. for example, for my workstation that command looks like below:
source /home/kuti/OpenFOAM/base/develop/etc/bashrc
I see, i also want to ask if this can be done when i’m using docker to run openfoam. Thanks
yes, if that path exists.
Closing - looks like the user did not source their environment (ie, not a bug with OpenFOAM)
closed