Skip to content

Terminal output error while compiling example files

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Terminal output error while compiling example files

This topic contains 4 replies, has 3 voices, and was last updated by  mathias 1 week, 5 days ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #2020


    Hi everyone.
    I constantly get “./tmp/imageData/data/heatMapl2physVelocity.p”, line 5: unexpected or unrecognized token” this and this type of error messages(see image) while compiling the example files as indicated in the olb guide. It does not seem normal to me as I haven’t seen this output in the bstep2d terminal output depicted in the user guide. Does anyone have an idea of why I get this error?

    porouspoiseuille2d: (I also cannot run porouspoiseuille2d since I get a lot of error messages as seen in the picture. Only 225 steps is compiled and no vtk output.

    I also get the same error in bstep2d terminal output as in porouspoiseuille2d terminal output.

    Thanks in advance for anyone’s help.



    Hey rffan78,

    i am sorry for that annoying bug. Please change in openlb/src/io/gnuplotHeatMapWriter.hh line 155:
    fout << “}”;
    fout << “}” << “\n”;




    Hi again, I think I did what you have proposed to me but I still have exactly the same problem.
    Here are the screenshots:

    I would like to remind you that these are just unmodified example files that I am just trying to run. I am just guessing; I presume these example files are being checked before releasing the official version, so I think this may happen(just maybe) because of my ubuntu version or something like that(or maybe due to C++ compiler, I am not expert at it). Since you proposed me this solution I think you had checked it by yourself and verified. If you do not take it private, which software and the version are you using? So that we can come up with something which causes this error.

    • This reply was modified 2 weeks ago by  rffan78.
    • This reply was modified 2 weeks ago by  rffan78.


    I cannot edit the message after some time I think ,so I am writing the update as a separate reply.
    I deleted everything and extracted the zip and did what you have proposed to me. Thank you very much. I do not have this error now. However, I still have the same error which I had in porousPoiseuille2d. Here are both screenshots.

    • This reply was modified 1 week, 6 days ago by  rffan78.


    That is not an error, that is an output, telling you that something about the error of the numerical results. Best Mathias

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.