Skip to content

Reply To: D3Q27 lattice

#4497
sharkskinz3
Participant

Hi Mathias,

thank you for your reply.

I am compiling the laminar cylinder3d example.
The errors I get (and there are a lot of them) are at the link stage, for example:

cylinder3d.cpp:(.text.startup+0x74e): undefined reference to `olb::sOnLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27<> >::~sOnLatticeBoundaryCondition3D()’

I am not sure that I am compiling in generic mode. During compilation, the flag -DOLB_PRECOMPILED is passed, so I assume I am using pre-compiled libraries.

I could not find a reference in the user guide for compiling in generic mode; is this a command line switch, or do I need to modify one of the make files (global.mk?)?

Thank you for your help.

sk3