|
[Sponsors] |
October 25, 2018, 07:20 |
postprocess: symbol lookup error
|
#1 |
New Member
Benjamin
Join Date: Oct 2018
Posts: 4
Rep Power: 8 |
Hi,
Apologies if I don't give enough information but I will do my best. I'm new to OpenFoam and Ubuntu as a whole. I have install OpenFOAM 2.3.0 on Ubuntu 18.04 by using the OpenFOAM 2.3.1 installation walkthrough given here: http://openfoamwiki.net/index.php/In...u#Ubuntu_18.04 All seemed to go well. I didn't get any errors. Now I've started through the v6 tutorials given here: https://cfd.direct/openfoam/user-guide/v6-cavity/ I've gotten to the point of trying postProcessing. I used to command: Code:
postProcess -list Code:
Command 'postProcess' not found, but can be installed with: sudo apt install openfoam However now, upon using the command: Code:
postProcess -list Code:
postProcess: symbol lookup error: postProcess: undefined symbol: _ZN4Foam9UOPstream5writeEl I don't think it would be a library error as I've not started messing with libraries yet so I can't have incomplete libraries causing this error. The only thing I can think it might be is that the installation of OpenFOAM was incomplete and postProcessing was not fullying installed. But by performing an install, that should of fixed it? Any help or information would be helpful and the more ELI5 the better for me (the novice) to understand. Thanks, Ben |
|
October 25, 2018, 20:07 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Nooooooo.... don't install the "openfoam" package that Ubuntu provides This is because the one that Ubuntu/Debian have provided is hard-coded to be always available after installation and does not allow having other OpenFOAM versions installed.
So, first undo the installation of the "openfoam" package, by running this command: Code:
sudo apt remove openfoam libopenfoam openfoam-examples Code:
echo $WM_PROJECT_DIR/doc/Guides-a4/UserGuide.pdf edit: I've updated the wiki pages a few days later, on the 26th of October.
__________________
Last edited by wyldckat; October 27, 2018 at 12:36. Reason: see "edit:" |
|
October 26, 2018, 14:28 |
|
#3 |
New Member
Benjamin
Join Date: Oct 2018
Posts: 4
Rep Power: 8 |
Thanks so much for the fast reply wyldckat.
I feel quite honoured that it was you who replied. I have uninstalled openfoam as you said. Would it really cause that many issues with the 2.3.0 to download it or is it more unnecessary clutter? And yes it would be very nice if at the end of the installation instruction it said where the user guide was for the particular build. I did figure out a couple hours after I posted this that postProcess didn't exist in 2.3.0. From a little searching, it was introduced in 2.4.0. I might have to use aliasing to also have a more updated version of openFoam. Thanks again, Ben [Moderator note: The part of this post that was referring to aerosolved, was moved to here: How to build/install aerosolved with OpenFOAM 2.3.0? ] Last edited by wyldckat; October 27, 2018 at 13:02. Reason: see "Moderator note:" |
|
Tags |
installation problem, library, openfoam 2.3.0, postprocesssing, ubuntu 18.04 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DPM udf error | haghshenasfard | FLUENT | 0 | April 13, 2016 07:35 |
Undeclared Identifier Errof UDF | SteveGoat | Fluent UDF and Scheme Programming | 7 | October 15, 2014 08:11 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 10:31 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |