|
[Sponsors] |
[swak4Foam] Foam-extend-3.2 and swak4foam...problem with link to triSurface |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Nate
Join Date: Oct 2013
Location: Amherst, MA
Posts: 13
Rep Power: 12 ![]() |
Hi All,
Complied foam 3.2 (from github extend mirror) on a cluster recently and all went fine, until I got to swak4foam...then one major issue came up: - Seems that between 3.1 and 3.2 the "triSurface" source code moved from the root of "src" into "meshTools" where it was combined with another folder named "triSurface" - This is confusing to swak, which is trying to link directly to the triSurface library...but it is now in meshTools... - My hack to fix it was to both put a symbolic link in the "src" directory for "triSurface" pointing to the folder in mesh tools, as well as remove the "-ltriSurface" from all the swak libraries' Make/options files. This seems to make swak happy, and the final compile is happening now. Has anyone else run into this? What's the more permanent fix that keeps swak happy with all the versions of foam-extend? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Milad Setareh
Join Date: Oct 2012
Location: Tehran, Iran
Posts: 35
Rep Power: 13 ![]() |
ok. I have the same problem.
![]() |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Nate
Join Date: Oct 2013
Location: Amherst, MA
Posts: 13
Rep Power: 12 ![]() |
I'm using swak4Foam-0.3.2 which is the version included in the third party rpm build with foam-extend-3.2 on the github mirror. Thanks!
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi ndev,
OK, I've spotted the origin of the problem. What happened is that you possibly do not have Mercurial installed, which resulted in the script "AllMake.stage5" going for the secondary solution that relies on the SVN repository. Problem is that the current 0.3.2 version on the SVN repository isn't as up-to-date as the Mercurial version, as Bernhard somewhat mentioned on Twitter: https://twitter.com/swakPyFoam/statu...97349514776577 If you are using Ubuntu, you can install Mercurial with the following command: Code:
sudo apt-get install mercurial Code:
foam3rdParty rm -r ./rpmBuild/BUILD/swak4Foam-0.3.2 ./AllMake.stage5 > log.swak4Foam 2>&1 Bruno |
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Nate
Join Date: Oct 2013
Location: Amherst, MA
Posts: 13
Rep Power: 12 ![]() |
Great! I'm on a cluster where I don't have access to software/module installation, but I'll definitely ask the admins to add Mercurial for next time! I guess I just assumed that Mercurial and SVN were two different ways to get at the same code! Thank you for clarifying this!
|
|
![]() |
![]() |
![]() |
![]() |
#7 | |
New Member
Jesse Wang
Join Date: Dec 2014
Posts: 1
Rep Power: 0 ![]() |
Quote:
I followed your instruction about the re-installation of swak4Foam, but still the problem couldn't be fixed. "icoIbFoam: error while loading shared libraries: libtriSurface.so: cannot open shared object file: No such file or directory" This error message happens when I tried to run a solver from foam 3.2 standard database. As well, I tried to compile my solver based on this foam 3.2, errors reveal that ltrisurface.so is missing. ps. I have compiled the foam 3.2 again, after the installation of mercurial. Best Regards, Jesse |
||
![]() |
![]() |
![]() |
![]() |
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings Jesse,
Whatever problem that is, it's not related to swak4Foam itself. Please run the following commands: Code:
foam ./Allwmake > log.make 2>&1 gzip < log.make > log.make.gz In addition, please tell me what the following commands give you: Code:
gcc --version g++ --version Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Problem to calculate grad(U) using swak4Foam | Hugoles | OpenFOAM Community Contributions | 12 | November 24, 2020 10:28 |
InterDyMFoam+simpleFunctionObject | Elham | OpenFOAM Running, Solving & CFD | 5 | July 10, 2017 11:59 |
[swak4Foam] Problem with triSurface.so and swak4Foam | PieterjanR | OpenFOAM Community Contributions | 2 | November 21, 2016 09:54 |
[swak4Foam] Basic Error when installing swak4foam with foam extend 3.0 | mnobrega | OpenFOAM Community Contributions | 6 | April 1, 2014 01:47 |
[swak4Foam] fails in parallel with -otherTime? | Phicau | OpenFOAM Community Contributions | 3 | June 26, 2013 13:00 |