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

[swak4Foam] ./AllwmakeAll wmake not found error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 24, 2021, 15:15
Default ./AllwmakeAll wmake not found error
  #1
New Member
 
Gennaro Della Volpe
Join Date: Mar 2021
Location: Turin
Posts: 3
Rep Power: 5
jennysins is on a distinguished road
Hi everyone, i would like to ask you for heo regarding an error encountered in the installation of swak4foam on Ubuntu 20.10 version.
I followed the instrucions of the following link https://openfoamwiki.net/index.php/Contrib/swak4Foam, and i get:


gennaro@gennaro-VirtualBox:~/openFOAM/swak4Foam$ ./AllwmakeAll

This script is rather crude. If it doesn't work try the steps by hand. And be sure to run it from the root of the swak-installation (as ./maintainanceScripts/compileRequirements.sh). Otherwise it probably won't work

Bison already installed/compiled
Bison successfully compiled
Lua already installed/compiled
Lua successfully compiled

Add /home/gennaro/openFOAM/swak4Foam/privateRequirements/bin to PATH-variable. The ./Allwmake-script will use this directory automatically

Current OpenFOAM version is .
Previously compiled for OpenFOAM ()

/home/gennaro/openFOAM/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison)

Reading variables from 'swakConfiguration'
Looking for Python 2
Looking for Python 3
Using our own Lua at /home/gennaro/openFOAM/swak4Foam/privateRequirements
Checking swak4Foam-version and generating file
Swak version is 2020.06.0
hg info: 76087ce82a32+
Using /usr/bin/bear to build compilation database
./Allwmake: riga 78: wmake: comando non trovato

Requirements for Library not satisfied. I see no sense in going on
Check the README before you go on to ask. And search: Most likely your problem occurred to 5 other people before and has been solved on the MessageBoard



How can i resolve?
ty all
jennysins is offline   Reply With Quote

Old   March 24, 2021, 19:59
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by jennysins View Post
Hi everyone, i would like to ask you for heo regarding an error encountered in the installation of swak4foam on Ubuntu 20.10 version.
I followed the instrucions of the following link https://openfoamwiki.net/index.php/Contrib/swak4Foam, and i get:


gennaro@gennaro-VirtualBox:~/openFOAM/swak4Foam$ ./AllwmakeAll

This script is rather crude. If it doesn't work try the steps by hand. And be sure to run it from the root of the swak-installation (as ./maintainanceScripts/compileRequirements.sh). Otherwise it probably won't work

Bison already installed/compiled
Bison successfully compiled
Lua already installed/compiled
Lua successfully compiled

Add /home/gennaro/openFOAM/swak4Foam/privateRequirements/bin to PATH-variable. The ./Allwmake-script will use this directory automatically

Current OpenFOAM version is .
Previously compiled for OpenFOAM ()

/home/gennaro/openFOAM/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison)

Reading variables from 'swakConfiguration'
Looking for Python 2
Looking for Python 3
Using our own Lua at /home/gennaro/openFOAM/swak4Foam/privateRequirements
Checking swak4Foam-version and generating file
Swak version is 2020.06.0
hg info: 76087ce82a32+
Using /usr/bin/bear to build compilation database
./Allwmake: riga 78: wmake: comando non trovato

Requirements for Library not satisfied. I see no sense in going on
Check the README before you go on to ask. And search: Most likely your problem occurred to 5 other people before and has been solved on the MessageBoard



How can i resolve?
ty all

You have not "activated" any OpenFOAM distro on the shell you're on (meaning: wmake is not in your path, the environment variables are not set up etc). Before compiling do whatever you usually do on a shell before you run OpenFOAM solvers and utilities
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   March 25, 2021, 02:06
Default
  #3
New Member
 
Gennaro Della Volpe
Join Date: Mar 2021
Location: Turin
Posts: 3
Rep Power: 5
jennysins is on a distinguished road
Quote:
Originally Posted by gschaider View Post
You have not "activated" any OpenFOAM distro on the shell you're on (meaning: wmake is not in your path, the environment variables are not set up etc). Before compiling do whatever you usually do on a shell before you run OpenFOAM solvers and utilities
what do you mean "not activated"? sorry, but i'm very newby to thiss stuff

UPDATE: i think i've activated the OF 2012 version, and run ./AllwmakeAll and get this:


./AllwmakeAll

This script is rather crude. If it doesn't work try the steps by hand. And be sure to run it from the root of the swak-installation (as ./maintainanceScripts/compileRequirements.sh). Otherwise it probably won't work

Bison already installed/compiled
Bison successfully compiled
Lua already installed/compiled
Lua successfully compiled

Add /home/gennaro/openFOAM/swak4Foam/privateRequirements/bin to PATH-variable. The ./Allwmake-script will use this directory automatically

Current OpenFOAM version is v2012.
This is a clean install

/home/gennaro/openFOAM/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison)

Reading variables from 'swakConfiguration'
Looking for Python 2
Looking for Python 3
Using our own Lua at /home/gennaro/openFOAM/swak4Foam/privateRequirements
Checking swak4Foam-version and generating file
Swak version is 2020.06.0
hg info: 76087ce82a32+
Using /usr/bin/bear to build compilation database
./Allwmake: riga 78: wmake: comando non trovato

Requirements for Library not satisfied. I see no sense in going on
Check the README before you go on to ask. And search: Most likely your problem occurred to 5 other people before and has been solved on the MessageBoard



any suggestion?

Last edited by jennysins; March 25, 2021 at 05:02.
jennysins is offline   Reply With Quote

Old   March 25, 2021, 15:28
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by jennysins View Post
what do you mean "not activated"? sorry, but i'm very newby to thiss stuff

UPDATE: i think i've activated the OF 2012 version, and run ./AllwmakeAll and get this:


./AllwmakeAll

This script is rather crude. If it doesn't work try the steps by hand. And be sure to run it from the root of the swak-installation (as ./maintainanceScripts/compileRequirements.sh). Otherwise it probably won't work

Bison already installed/compiled
Bison successfully compiled
Lua already installed/compiled
Lua successfully compiled

Add /home/gennaro/openFOAM/swak4Foam/privateRequirements/bin to PATH-variable. The ./Allwmake-script will use this directory automatically

Current OpenFOAM version is v2012.
This is a clean install

/home/gennaro/openFOAM/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison)

Reading variables from 'swakConfiguration'
Looking for Python 2
Looking for Python 3
Using our own Lua at /home/gennaro/openFOAM/swak4Foam/privateRequirements
Checking swak4Foam-version and generating file
Swak version is 2020.06.0
hg info: 76087ce82a32+
Using /usr/bin/bear to build compilation database
./Allwmake: riga 78: wmake: comando non trovato

Requirements for Library not satisfied. I see no sense in going on
Check the README before you go on to ask. And search: Most likely your problem occurred to 5 other people before and has been solved on the MessageBoard



any suggestion?

"Activated" means sourcing the bashrc that sets up the environment. But you seem to have figured that out because in your new error message the OF-version is installed. I assume that the "commando no trovato" means "command not found". wmake is part of OF and essential for compiling ANYTHING on OpenFOAM. I assume that you installed some binary-package where it was left off to save space (the sources probably too). Have a look whether there is an additional package with devel/develop in the name and install that (I have no other explanation for a missing wmake)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   March 26, 2021, 04:14
Default
  #5
New Member
 
Gennaro Della Volpe
Join Date: Mar 2021
Location: Turin
Posts: 3
Rep Power: 5
jennysins is on a distinguished road
Quote:
Originally Posted by gschaider View Post
"Activated" means sourcing the bashrc that sets up the environment. But you seem to have figured that out because in your new error message the OF-version is installed. I assume that the "commando no trovato" means "command not found". wmake is part of OF and essential for compiling ANYTHING on OpenFOAM. I assume that you installed some binary-package where it was left off to save space (the sources probably too). Have a look whether there is an additional package with devel/develop in the name and install that (I have no other explanation for a missing wmake)
i've tryed to input these commands:

sudo apt-get install openfoam2012
sudo apt-get install openfoam2012-dev
sudo apt-get install openfoam2012-tutorials
sudo apt-get install openfoam2012-default
sudo apt-get install openfoam2012-tools

to be sure that i've installed all packages, but i got the same command line error that i report above.

p.s. in the usr/lib/openfoam/openfoam2012, there is wmake directory, so why is still not work the ./AllwmakeAll command?
jennysins is offline   Reply With Quote

Old   March 29, 2021, 14:59
Default
  #6
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by jennysins View Post
i've tryed to input these commands:

sudo apt-get install openfoam2012
sudo apt-get install openfoam2012-dev
sudo apt-get install openfoam2012-tutorials
sudo apt-get install openfoam2012-default
sudo apt-get install openfoam2012-tools

to be sure that i've installed all packages, but i got the same command line error that i report above.

p.s. in the usr/lib/openfoam/openfoam2012, there is wmake directory, so why is still not work the ./AllwmakeAll command?

And the actual wmake utility is in the directory. Usually it is in the PATH-variable and therefore found. I guess it is a problem with the apt-packages (can't tell. I don't use them)
Try export
Code:
export PATH=wmakedir:$PATH
(with wmakedir being the path to the wmake-directory). That should fix things for the current shell
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider 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
error compiling modified applications yvyan OpenFOAM Programming & Development 21 March 1, 2016 04:53
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x Saxwax OpenFOAM Installation 25 November 29, 2013 05:34
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 07:24
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 08:48
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 17:38


All times are GMT -4. The time now is 01:32.