|
[Sponsors] |
[swak4Foam] ./AllwmakeAll wmake not found error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 24, 2021, 16:15 |
./AllwmakeAll wmake not found error
|
#1 |
New Member
Gennaro Della Volpe
Join Date: Mar 2021
Location: Turin
Posts: 3
Rep Power: 5 |
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 |
|
March 24, 2021, 20:59 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
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 |
||
March 25, 2021, 03:06 |
|
#3 | |
New Member
Gennaro Della Volpe
Join Date: Mar 2021
Location: Turin
Posts: 3
Rep Power: 5 |
Quote:
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 06:02. |
||
March 25, 2021, 16:28 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
"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 |
||
March 26, 2021, 05:14 |
|
#5 | |
New Member
Gennaro Della Volpe
Join Date: Mar 2021
Location: Turin
Posts: 3
Rep Power: 5 |
Quote:
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? |
||
March 29, 2021, 15:59 |
|
#6 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
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
__________________
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 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error compiling modified applications | yvyan | OpenFOAM Programming & Development | 21 | March 1, 2016 05:53 |
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x | Saxwax | OpenFOAM Installation | 25 | November 29, 2013 06:34 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 08:24 |
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 | flakid | OpenFOAM Installation | 16 | December 28, 2010 09:48 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 18:38 |