|
[Sponsors] |
[swak4Foam] Install swak4Foam on OpenFOAM1.7.1 on Ubuntu 13.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 24, 2013, 05:30 |
Install swak4Foam on OpenFOAM1.7.1 on Ubuntu 13.04
|
#1 |
New Member
Join Date: Dec 2013
Posts: 1
Rep Power: 0 |
I’d liked to use OpenFOAM1.7.1 on Ubuntu 13.04/13.10.
And I need to use user defined library swak4Foam. I installed OpenFOAM1.7.1 on Ubuntu 13.04 successfully but I couldn’t install swak4Foam. Here is the specific steps of installation: ----------------------------- Step1: Install svn, bison sudo apt-get install subversion sudo apt-get install bison Step2: Add OpenFOAM1.7.1 to openfoam install list sudo su gedit /etc/apt/sources.list.d/openfoam.list "SAVE THE TEXT AFTER REWRITE AS BELOW" deb http://www.openfoam.org/download/ubuntu maverick main sudo apt-get update Step3: Install OpenFOAM sudo apt-get install openfoam171 gedit ~/.bashrc "ADD THE LINE BELOW" . /opt/openfoam171/etc/bashrc Step4: Download swak4Foam run cd ../ svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_1.7/libraries/swak4Foam/ Step5: Install swak4Foam cd swak4Foam . Allwmake ----------------------------- Through Step1-4 I have no problem, but I got error message like the attached log file at Step5 and cannot continue installation. I'd like to know the reason/cause of the error. I'd like to know if it's possible to solve this problem or I have to downgrade Ubuntu. If calculation runs, are the simulation results trustworthy? Thank you for your help. |
|
December 25, 2013, 07:08 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings kobayashi and welcome to the forum!
Is there any chance you can change to OpenFOAM 1.7.x? Because 1.7.1 is really old by now and there were several modifications made after 1.7.1 was released and are available in 1.7.x. If you cannot switch to the more recent OpenFOAM 1.7.x, I'll try to have a better look into this. Better yet would be if you could use the latest OpenFOAM 2.2 series, but I suppose you cannot do so. Best regards, Bruno
__________________
|
|
January 5, 2014, 18:33 |
|
#3 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Seems that the compiler on your system (you're using binaries that were compiled on a much older system) doesn't like the call of methods of a parent class in a template without this-> before it (he even says so). In fact: when checking wit 2.2.x the "insert()"-calls were replaced with "this->insert()" in HashPtrTableIO.C. You can try fixing that there, but I'm afraid you'll run into similar problems later. But as I said: this is not a swak-problem. You'll have to fix your OpenFOAM-sources
__________________
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 |
||
Tags |
error, installation, openfoam 1.7.1, swak4foam, ubuntu 13.04 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Problems to install openfoam-2.4.0 on Ubuntu 16.04.01LTS | matheusmonjon | OpenFOAM Installation | 3 | February 25, 2017 15:46 |
[swak4Foam] [OpenFOAM] [2.3.1] Install swak4Foam in Ubuntu 16.04.01 with errors | ycui | OpenFOAM Community Contributions | 2 | November 14, 2016 08:41 |
[swak4Foam] Installing swak4Foam 0.4.0 on ubuntu 14.04 | JFM | OpenFOAM Community Contributions | 1 | October 30, 2016 10:43 |
Environment errors with .deb install and ubuntu 13.04 64 bit | jonathanbyrn | OpenFOAM Installation | 14 | September 26, 2013 06:22 |
How to Install OpenFOAM on 64 Ubuntu 9.04 | hansel | OpenFOAM Installation | 62 | March 19, 2010 15:43 |