|
[Sponsors] |
[swak4Foam] swak4Foam 0.4.2 with foam-extend-4.1 Installation Issue |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Mike Tree
Join Date: Feb 2016
Location: Charlotte, NC
Posts: 36
Rep Power: 9 ![]() |
I'm attempting to install swak4Foam 0.4.2 with foam-extend-4.1 and am running into compilation errors. I'm attempting install on the following linux release:
Code:
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch Distributor ID: Scientific Description: Scientific Linux release 7.6 (Nitrogen) Release: 7.6 Codename: Nitrogen A log.make file is attached from me attempting to run ./Allwmake within the /ThirdParty/rpmBuild/BUILD/swak4Foam-0.4.2 directory. It appears I just missed a small issue: Error on foam-extend build/comilation. Maybe this is the reason the log.make file is reporting that I actually have swak4Foam-0.4.1? I don't care between these two versions. I just want something that works. Any help is most appreciated! |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,969
Blog Entries: 45
Rep Power: 127 ![]() ![]() ![]() ![]() ![]() ![]() |
Quick answer: Looks like the wrong swak4Foam version was checked out... try:
Code:
cd $WM_THIRD_PARTY_DIR cd rpmBuild/BUILD/swak4Foam-0.4.2 ./Allwclean hg update --clean . hg checkout version_0.4.2_v2.x ./Allwmake > log.make 2>&1 ./Allwmake > log.make.2nd 2>&1 And this is assuming that Mercurial is installed and is what you're using...
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Mike Tree
Join Date: Feb 2016
Location: Charlotte, NC
Posts: 36
Rep Power: 9 ![]() |
wyldckat,
Can't thank you enough for your ever-present, prompt responses. I am not able to use hg. I'm not system admin, and it's not installed on my system. So, I was using svn. Digging a bit deeping on sourceforge, I learned that svn only allows me up to version 0.4.1. So, without the ability to clone into the repo directly through hg, I downloaded the latest commit from sourceforge via a .zip file (https://sourceforge.net/p/openfoam-e.../0.4.2/~/tree/). I blew away my old swak4foam-0.4.2 directory and replaced it with the unzipped version of this zip file. I then renamed that directory to swak4foam-0.4.2_v2.x. From here I ran an ./Allwclean, and then proceeded with an ./Allwmake. I tried to soft link swakConfiguration.automatic to see if I could get lucky, but from the log.make file it doesn't appear that it worked. From the rest of the log.make and log.make.2nd files, it appears everything should be in order, correct? If so, all that's left is to test out one of the examples. Thanks again! |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,969
Blog Entries: 45
Rep Power: 127 ![]() ![]() ![]() ![]() ![]() ![]() |
Quick answer: You're welcome, nice that you went with the ZIP package and that everything is looking good!
The second log file tells us that everything is (mostly) just fine... it's just that the Python based features will not work, but that's rarely used anyway ![]() If by any chance you do need Python support to use with swak4Foam... then we might have to do some custom builds of Python or you will have to ask your administrator to install a complete Python installation... although Python is likely accessible with a module load command... try running: Code:
module avail |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
|
wyldckat,
Thanks a lot for this. I'm new to Ubuntu and wanted to know what the characters 2>&1 mean in the command: ./Allwmake > log.make 2>&1 I know that > log.make writes the terminal output to log.make file but what's the utility of writing 2>&1 after that? |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 405
Rep Power: 13 ![]() |
I believe it redirects stderr to stdout. This way log.make contains both the standard output and the error messages.
stderr is 2 and stdout is 1. Please see for more information and context: Wikipedia - Redirection (computing) |
|
![]() |
![]() |
![]() |
![]() |
#7 |
Member
Mohammad Reza
Join Date: Sep 2015
Posts: 42
Rep Power: 9 ![]() |
Hello All,
I have difficulty compiling swak4foam on foam-extend-4.1-20200408. I have tried both mercurial package installation and also from swak4foam repository. I am facing errors like these: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
What should I try? Regards, Mohammadreza |
|
![]() |
![]() |
![]() |
Tags |
foam-extend, installation issue, swak4foam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 07:15 |
A problem with immersed boundary method running in parallel in foam -extend 4.1 | kinakamichibun | OpenFOAM Bugs | 0 | November 8, 2018 05:03 |
[OpenFOAM.org] Open FOAM 4.1 installation on Ubuntu 17.04 (32 bit). | Openguy | OpenFOAM Installation | 2 | September 7, 2017 10:33 |
decomposePar is missing a library | whk1992 | OpenFOAM Pre-Processing | 8 | March 7, 2015 07:53 |
[swak4Foam] Basic Error when installing swak4foam with foam extend 3.0 | mnobrega | OpenFOAM Community Contributions | 6 | April 1, 2014 01:47 |