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

[swak4Foam] swak4foam installation on OpenFOAM 7

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

Like Tree8Likes
  • 1 Post By egeta
  • 1 Post By jherb
  • 2 Post By pavaninguva
  • 4 Post By PositronCascade

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 13, 2019, 11:07
Default swak4foam installation on OpenFOAM 7
  #1
New Member
 
Join Date: Dec 2019
Posts: 1
Rep Power: 0
egeta is on a distinguished road
I need to use swak4foam in Open-foam for a project. But the compilation always gives error in the same spot. I couldn't find a solution for this problem. If anyone can help it would be extremely appreciated.




Current OpenFOAM version is 7.
Previously compiled for OpenFOAM (7)

/home/egeta/OpenFOAM/OpenFOAM-7/openfoam-extend-swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison)

Reading variables from 'swakConfiguration'
Using python2.7 at /usr/bin/python2.7-config for python2
Using our own Lua at /home/egeta/OpenFOAM/OpenFOAM-7/openfoam-extend-swak4Foam/privateRequirements
Checking swak4Foam-version and generating file
Swak version is 0.4.3
hg info: e7c2de483937 (develop) tip
Bison: /home/egeta/OpenFOAM/OpenFOAM-7/openfoam-extend-swak4Foam/privateRequirements/bin/bison
Flex: /usr/bin/flex
Bison at /home/egeta/OpenFOAM/OpenFOAM-7/openfoam-extend-swak4Foam/privateRequirements/bin/bison is version 3.4 (Major 3 Minor 4)
Flex is version 2.6.4 (Minor version: 4)
OpenFOAM-version: Major 7 Minor 0 Patch -1 (-1 == x / 98) Fork: org
No change to swak4FoamParsers/foamVersion4swak.H

Please include the output above when reporting a problem in the compilation. It helps diagnosing the problem


wmake libso swak4FoamParsers
/home/egeta/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt64Opt/openfoam-extend-swak4Foam/Libraries/swak4FoamParsers/options:56: /home/egeta/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt64Opt/openfoam-extend-swak4Foam/Libraries/swak4FoamParsers/../../../rules/versionOptions: No such file or directory
/home/egeta/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt64Opt/openfoam-extend-swak4Foam/Libraries/swak4FoamParsers/options:66: /home/egeta/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt64Opt/openfoam-extend-swak4Foam/Libraries/swak4FoamParsers/../mybison: No such file or directory
/home/egeta/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt64Opt/openfoam-extend-swak4Foam/Libraries/swak4FoamParsers/options:67: /home/egeta/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt64Opt/openfoam-extend-swak4Foam/Libraries/swak4FoamParsers/../myflex: No such file or directory
make: *** No rule to make target '/home/egeta/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt64Opt/openfoam-extend-swak4Foam/Libraries/swak4FoamParsers/../myflex'. Stop.
/home/egeta/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt64Opt/openfoam-extend-swak4Foam/Libraries/swak4FoamParsers/options:56: /home/egeta/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt64Opt/openfoam-extend-swak4Foam/Libraries/swak4FoamParsers/../../../rules/versionOptions: No such file or directory
/home/egeta/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt64Opt/openfoam-extend-swak4Foam/Libraries/swak4FoamParsers/options:66: /home/egeta/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt64Opt/openfoam-extend-swak4Foam/Libraries/swak4FoamParsers/../mybison: No such file or directory
/home/egeta/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt64Opt/openfoam-extend-swak4Foam/Libraries/swak4FoamParsers/options:67: /home/egeta/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt64Opt/openfoam-extend-swak4Foam/Libraries/swak4FoamParsers/../myflex: No such file or directory
make: *** No rule to make target '/home/egeta/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt64Opt/openfoam-extend-swak4Foam/Libraries/swak4FoamParsers/../myflex'. Stop.
wmake error: file '/home/egeta/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt64Opt/openfoam-extend-swak4Foam/Libraries/swak4FoamParsers/sourceFiles' could not be created in /home/egeta/OpenFOAM/OpenFOAM-7/openfoam-extend-swak4Foam/Libraries/swak4FoamParsers
Parser library did not compile OK. No sense continuing as everything else depends on it

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

Thank you
sourav90 likes this.
egeta is offline   Reply With Quote

Old   December 16, 2019, 16:01
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 568
Rep Power: 16
jherb is on a distinguished road
From where have you taken the source code? You propably must use the develop branch from here (see https://openfoamwiki.net/index.php/C...am#Development)
http://hg.code.sf.net/p/openfoam-extend/swak4Foam

or you can use the un-offical git mirror:
https://github.com/Unofficial-Extend...anches/develop
pavaninguva likes this.
jherb is offline   Reply With Quote

Old   December 17, 2019, 16:46
Default
  #3
HPE
Senior Member
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 619
Rep Power: 7
HPE is on a distinguished road
From my observation through GitLab repo, swak is embedded into the new OpenFOAM version1912, though not sure. So till the end of the month, you may not need to install a separate swak anymore, but I might be wrong as well. Let's see.
HPE is offline   Reply With Quote

Old   December 18, 2019, 12:39
Default
  #4
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 568
Rep Power: 16
jherb is on a distinguished road
OpenFOAM-7 is the "Foundation" version of OpenFOAM and does not include swak4foam. OpenFOAM v1912 is the "ESI" version of OpenFOAM and different from OpenFOAM-7. So depending on which version/development line of OpenFOAM you use, you might or might not need to download swak4foam separately.
jherb is offline   Reply With Quote

Old   December 18, 2019, 13:28
Default
  #5
HPE
Senior Member
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 619
Rep Power: 7
HPE is on a distinguished road
yes, i know all. i was sarcastic only.
HPE is offline   Reply With Quote

Old   January 14, 2020, 06:21
Default
  #6
New Member
 
Pavan Inguva
Join Date: Dec 2019
Location: Singapore
Posts: 7
Rep Power: 2
pavaninguva is on a distinguished road
I managed to compile swak4Foam with openFoam 7, but I havent tested it fully. This is what I did:

```
git clone https://github.com/Unofficial-Extend...k4Foam-dev.git swak4Foam
```

Check out to the development branch:
```
cd swak4Foam
git checkout branches/develop
cd ..
```

I tried compiling it at this stage normally, but I had similar issues with all the requirements not being complete, so it seems this option can be used, but it took forever on a single processor:
```
./AllwmakeAll
```

And at the end to generate a summary log.make for posterity sake, I ran:
```
./Allwmake > log.make 2>&1
```

This seems to work fine as I can access the various tools such as `funkySetFields` from the commandline by simply pressing tab.

Hope this helps!
rasool_soofi and sourav90 like this.
pavaninguva is offline   Reply With Quote

Old   May 11, 2020, 15:57
Default
  #7
New Member
 
Saikumar Reddy Y
Join Date: May 2020
Posts: 6
Rep Power: 2
Saikumar Bunni is on a distinguished road
Were you able to solve this problem? I couldn't install swak4Foam in OF v7.
Saikumar Bunni is offline   Reply With Quote

Old   May 14, 2020, 11:14
Default
  #8
Member
 
Hasan Celik
Join Date: Sep 2016
Posts: 50
Rep Power: 5
PositronCascade is on a distinguished road
Hello everyone. I was able to install swak4foam a month ago, by following #6 . I had to re-install my system today and I couldn't install it by following the same steps. I had many IOObject errors. develop branch had a new commit 8 days ago, if I am not mistaken. So, maybe, the problem is related with that commit. Anyway, I was able to install it using of7 branch as follows:

Code:
git clone https://github.com/Unofficial-Extend...k4Foam-dev.git swak4Foam

cd swak4Foam

git checkout branches/feature/port/of7 

./AllwmakeAll
PositronCascade is offline   Reply With Quote

Old   May 15, 2020, 09:30
Thumbs up Finally it worked for me (OF v7)
  #9
New Member
 
Saikumar Reddy Y
Join Date: May 2020
Posts: 6
Rep Power: 2
Saikumar Bunni is on a distinguished road
Quote:
Originally Posted by PositronCascade View Post
Hello everyone. I was able to install swak4foam a month ago, by following #6 . I had to re-install my system today and I couldn't install it by following the same steps. I had many IOObject errors. develop branch had a new commit 8 days ago, if I am not mistaken. So, maybe, the problem is related with that commit. Anyway, I was able to install it using of7 branch as follows:

Code:
git clone https://github.com/Unofficial-Extend...k4Foam-dev.git swak4Foam

cd swak4Foam

git checkout branches/feature/port/of7 

./AllwmakeAll

Oh thanks that works now for OF v7
Saikumar Bunni is offline   Reply With Quote

Reply

Tags
swak4foam error

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 PROBLEM steven123 OpenFOAM Community Contributions 33 May 10, 2019 07:09
[swak4Foam] Swak4FOAM installation for OpenFOAM v1806 exx110 OpenFOAM Community Contributions 0 March 14, 2019 11:54
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 06:15
[Discussion] Restructuring the Installation page at openfoamwiki.net wyldckat OpenFOAM Installation 16 November 2, 2013 11:43
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55


All times are GMT -4. The time now is 19:53.