postprocess: symbol lookup error
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: 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 |
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. |
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: https://www.cfd-online.com/Forums/op...m-2-3-0-a.html ] |
All times are GMT -4. The time now is 18:50. |