CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

postprocess: symbol lookup error

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2018, 07:20
Default postprocess: symbol lookup error
  #1
New Member
 
Benjamin
Join Date: Oct 2018
Posts: 4
Rep Power: 8
BenAsbo626 is on a distinguished road
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
and the error greeting me was:

Code:
Command 'postProcess' not found, but can be installed with:

sudo apt install openfoam
Which I installed. (I found this confusing but thought it couldn't damage the progress I had already made, as seems that it hasn't).
However now, upon using the command:

Code:
postProcess -list
I get the following error:

Code:
postProcess: symbol lookup error: postProcess: undefined symbol: _ZN4Foam9UOPstream5writeEl
I have googled the error to try and figure it out and it seems like most symbol lookup errors are library issues. But as I'm so novice, I'm not sure what this means or how to fix it. It seems confusing that it doesn't even want to perform the list command which makes me wonder if its an installation error.

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
BenAsbo626 is offline   Reply With Quote

Old   October 25, 2018, 20:07
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
Second, the actual User Guide to be used with versions 2.3.0 and 2.3.1 should be the document that is provided with the installation. You can find it by running this command:
Code:
echo $WM_PROJECT_DIR/doc/Guides-a4/UserGuide.pdf
I will have to update all of the installation wiki pages and fix that last step instruction, because the more recent User Guides are not applicable to the older OpenFOAM versions... therefore, the postProcess application is not available in OpenFOAM 2.3.0/1.

edit: I've updated the wiki pages a few days later, on the 26th of October.
BenAsbo626 likes this.
__________________

Last edited by wyldckat; October 27, 2018 at 12:36. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   October 26, 2018, 14:28
Default
  #3
New Member
 
Benjamin
Join Date: Oct 2018
Posts: 4
Rep Power: 8
BenAsbo626 is on a distinguished road
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:"
BenAsbo626 is offline   Reply With Quote

Reply

Tags
installation problem, library, openfoam 2.3.0, postprocesssing, ubuntu 18.04


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 10:51.