|
[Sponsors] |
[swak4Foam] Basic Error when installing swak4foam with foam extend 3.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 30, 2014, 09:58 |
Basic Error when installing swak4foam with foam extend 3.0
|
#1 |
New Member
Miguel Nóbrega
Join Date: Jul 2012
Posts: 21
Rep Power: 14 |
Hi,
I'm using Ubuntu 13.10 and I've installed foam extend 3.0, using the deb binary packages available in http://wikki.gridcore.se/foam-extend/download. Then I've tried to download and install swak4foam using the instructions provided in Installation/swak4Foam/Installing On/Ubuntu. I'm getting a very strange basic error, related to some missing files: #################### .... In file included from helpers/printSwakVersion.C:43:0: helpers/printSwakVersion.H:46:21: fatal error: Pstream.H: No such file or directory #include "Pstream.H" ^ compilation terminated. In file included from helpers/switchableNotImplemented.C:43:0: helpers/switchableNotImplemented.H:47:19: fatal error: error.H: No such file or directory #include "error.H" ^ compilation terminated. In file included from helpers/DebugOStream.C:37:0: helpers/DebugOStream.H:55:21: fatal error: Pstream.H: No such file or directory #include "Pstream.H" .... ######################## I've read the all the posts I found about swak4foam installation, and in the Installation/swak4Foam/Understanding Error Messages indicates that OpenFOAM seems to be improperly installed. I followed the recommendation of reading Installation/Working with the Shell, and made all the recommend tests, and all environment variables seem to be OK. Notice that I'm getting the same error in two different computers. One has several OpenFOAM versions and another has just Foam extend 3.0. Additionally, using the find command I found the missing file (or at least one with the same name) in folder: /opt/foam/foam-extend-3.0/src/foam/db/IOstreams/Pstreams. But the compiler cannot figure out this location. Sorry to bother you with this issue, because I believe I'm making a basic mistake. But I cannot figure out which is.... Can you please help me? Cheers, Miguel |
|
March 30, 2014, 13:32 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Miguel,
Sorry for taking a while to reply to you, but I knew this would take some time to download and install the deb package and to check the solution myself. This issue apparently was reported back in January: https://sourceforge.net/apps/mantisb...iew.php?id=200 - and it hasn't been fixed yet To solve the problem, run the following commands:
...and I'm going to have to add this issue to the "known issues" list Best regards, Bruno
__________________
|
|
March 30, 2014, 20:13 |
|
#3 |
New Member
Miguel Nóbrega
Join Date: Jul 2012
Posts: 21
Rep Power: 14 |
Hi Bruno,
You don't have to be sorry. I'm very grateful for your help and support. Thanks for your clues they solved most of the problems. However there are a few errors that subsist, that are similar to these one: linux64GccDPOpt/replayTransientBC /usr/bin/ld: cannot find -liberty collect2: error: ld returned 1 exit status make[1]: *** [/home/mnobrega/foam/mnobrega-3.0/applications/bin/linux64GccDPOpt/funkySetBoundaryField] Error 1 make: *** [funkySetBoundaryField] Error 2 I'm sending in attachment the full make.log file, in case this info is not enough. Are you able to figure out the solution for this problem? Cheers, Miguel |
|
March 31, 2014, 00:49 |
|
#4 |
New Member
Miguel Nóbrega
Join Date: Jul 2012
Posts: 21
Rep Power: 14 |
Hi Bruno,
Just an additional info. I tested the procedure you suggested in the computer I have a few versions of OpenFOAM installed and I managed to compile swak4foam. The difficulty I reported previously occurred in the computer I have just foam extend 3.0. That computer is a very clean installation. Apart from a few system tools, that I've installed after Ubuntu 13.10 installation, it has only foam extend 3.0. I hope this info helps to identify the issue. Cheers, Miguel |
|
March 31, 2014, 16:04 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Miguel,
If my memory doesn't fail me, the issue of the missing "-liberty" is just a matter of running: Code:
sudo apt-get install binutils-dev Bruno
__________________
|
|
March 31, 2014, 20:26 |
|
#6 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
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 |
||
April 1, 2014, 02:47 |
|
#7 |
New Member
Miguel Nóbrega
Join Date: Jul 2012
Posts: 21
Rep Power: 14 |
Hi Bruno,
Thanks for your patience and time...I'm really grateful... swak4foam is working in both computers.... All the best, Miguel |
|
Tags |
erro, foam extend 3.0, missing files, swak4foam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
[swak4Foam] Installing swak4Foam to OpenFOAM in mac | Kaquesang | OpenFOAM Community Contributions | 22 | January 21, 2013 12:51 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 11:56 |