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

[swak4Foam] Problems with compilation of swak4foam on Debian with OpenFOAM-7

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2019, 17:11
Default Problems with compilation of swak4foam on Debian with OpenFOAM-7
  #1
New Member
 
Francesca Mangani
Join Date: Oct 2019
Posts: 5
Rep Power: 2
FrancescaMangani is on a distinguished road
Good evening,

I'm trying to install swak4foam downloading the source codes but I have problems with the compilation. I'm following instructions from



https://openfoamwiki.net/index.php/I...tion/swak4Foam


When I run the compilation with



./Allwmake > log.make 2>&1


what I obtain in my log file is:







Current OpenFOAM version is .
Previously compiled for OpenFOAM ()
Reading variables from 'swakConfiguration'
Using python2.7 at /usr/bin/python2.7-config for python2
swakConfiguration: riga 34: pkg-config: comando non trovato
Checking swak4Foam-version and generating file
Swak version is 0.4.3
hg info: e7c2de483937 (develop) tip
./Allwmake: riga 70: 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






(I'm installing swak4foam development version because I think that the others won't work in the latest openfoam-7, but I'm not sure)


If someone help me in some way I would be very grateful to him!


Please ask any information if necessary.


Thanks



Francesca
FrancescaMangani is offline   Reply With Quote

Old   October 2, 2019, 08:24
Default
  #2
Member
 
Piotr Ładyński
Join Date: Apr 2017
Posts: 38
Rep Power: 4
piotr.mecht is on a distinguished road
Quote:
Originally Posted by FrancescaMangani View Post
Good evening,

I'm trying to install swak4foam downloading the source codes but I have problems with the compilation. I'm following instructions from

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

Check if you have your bulding dependecies satisfied. All libraries with version not older, than required

https://openfoamwiki.net/index.php/I...g_dependencies


E.g. required version of Bison for development version is not often available in linux repos by default (especialy in outdated debian repos), so you have to download it e.g. from gnu bison project website.
piotr.mecht is offline   Reply With Quote

Old   October 2, 2019, 08:55
Default
  #3
New Member
 
Francesca Mangani
Join Date: Oct 2019
Posts: 5
Rep Power: 2
FrancescaMangani is on a distinguished road
Quote:
Originally Posted by piotr.mecht View Post
Check if you have your bulding dependecies satisfied. All libraries with version not older, than required

https://openfoamwiki.net/index.php/I...g_dependencies


E.g. required version of Bison for development version is not often available in linux repos by default (especialy in outdated debian repos), so you have to download it e.g. from gnu bison project website.





Thanks for your reply, I've just solved simply running openfoam before running the ./Allwmake command!


However I have some errors maybe due to some wrong directory.... so maybe now the compilation is done but not perfectly complete.


(I uploaded the new Log file)



Maybe this is due to the fact that I have OpenFoam 7 ? and some directories have changed?
Attached Files
File Type: txt Log.txt (19.7 KB, 4 views)
FrancescaMangani is offline   Reply With Quote

Old   October 22, 2019, 16:39
Default Error : wmake: command not found
  #4
New Member
 
Ali_Rahnama
Join Date: Jul 2019
Posts: 2
Rep Power: 0
peaceshielder is on a distinguished road
Hi everyone!
I'm a newcomer. I installed OF6 and OF7 on Ubuntu 18.04LTS. I've tried many times to install swak4foam. I faced an error like Francesca's first post:




Previously compiled for OpenFOAM ()
Reading variables from 'swakConfiguration'
swakConfiguration: line 1: cygpath: command not found
swakConfiguration: line 1: cygpath: command not found
sed: -e expression #1, char 0: no previous regular expression
Checking swak4Foam-version and generating file
Swak version is 0.4.2
./Allwmake: line 63: wmake: command not found




Version of bison is 3.4
What should I do?
peaceshielder is offline   Reply With Quote

Old   October 23, 2019, 04:35
Default Installed after lots of attempts
  #5
New Member
 
Ali_Rahnama
Join Date: Jul 2019
Posts: 2
Rep Power: 0
peaceshielder is on a distinguished road
After many times attempts, it has installed.
I don't know what was the matter, but prior to install, I restart Ubuntu and only run the OpenFoam.

I installed on OF6. I will try to install on OF7 later.
peaceshielder is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[swak4Foam] Swak4FOAM installation for OpenFOAM v1806 exx110 OpenFOAM Community Contributions 0 March 14, 2019 12:54
[waves2Foam] Problems with the compilation of the third party dependencies chia87 OpenFOAM Community Contributions 7 May 20, 2017 07:04
[foam-extend.org] problems with openFoam extend 3.0 installation AmirBaqa1987 OpenFOAM Installation 1 December 20, 2016 20:17
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 04:19
[waves2Foam] Problems in Operating waveDyMFoam in openfoam 2.3.1 zhxter OpenFOAM Community Contributions 2 May 18, 2015 21:57


All times are GMT -4. The time now is 18:23.