Skip to content

change D3Q19 to D3Q27

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1912
    lesmodel
    Member

    Hi developers,
    I hope all is well. When I simply change the D3Q19Descriptor to the D3Q27Descriptor in the example aorta3d,
    it reports no compile error in the windows using Cygwin, but when I do the same thing in the Ubuntu14.04 and 16.04, it reports compile errors like:

    make[1]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0’


    — Entering src/boundary (depend)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/boundary’
    make[2]: Nothing to be done for ‘depend’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/boundary’
    — Leaving src/boundary (depend)



    — Entering src/communication (depend)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/communication’
    make[2]: Nothing to be done for ‘depend’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/communication’
    — Leaving src/communication (depend)



    — Entering src/dynamics (depend)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/dynamics’
    make[2]: Nothing to be done for ‘depend’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/dynamics’
    — Leaving src/dynamics (depend)



    — Entering src/core (depend)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/core’
    make[2]: Nothing to be done for ‘depend’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/core’
    — Leaving src/core (depend)



    — Entering src/geometry (depend)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/geometry’
    make[2]: Nothing to be done for ‘depend’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/geometry’
    — Leaving src/geometry (depend)



    — Entering src/external/tinyxml (depend)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/external/tinyxml’
    make[2]: Nothing to be done for ‘depend’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/external/tinyxml’
    — Leaving src/external/tinyxml (depend)



    — Entering src/functors (depend)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/functors’
    make[2]: Nothing to be done for ‘depend’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/functors’
    — Leaving src/functors (depend)



    — Entering src/functors/indicator (depend)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/functors/indicator’
    make[2]: Nothing to be done for ‘depend’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/functors/indicator’
    — Leaving src/functors/indicator (depend)



    — Entering src/io (depend)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/io’
    make[2]: Nothing to be done for ‘depend’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/io’
    — Leaving src/io (depend)



    — Entering src/particles (depend)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/particles’
    make[2]: Nothing to be done for ‘depend’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/particles’
    — Leaving src/particles (depend)



    — Entering src/particles/forces (depend)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/particles/forces’
    make[2]: Nothing to be done for ‘depend’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/particles/forces’
    — Leaving src/particles/forces (depend)



    — Entering src/particles/boundaries (depend)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/particles/boundaries’
    make[2]: Nothing to be done for ‘depend’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/particles/boundaries’
    — Leaving src/particles/boundaries (depend)



    — Entering src/utilities (depend)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/utilities’
    make[2]: Nothing to be done for ‘depend’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/utilities’
    — Leaving src/utilities (depend)



    — Entering src/boundary (compile)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/boundary’
    make[2]: Nothing to be done for ‘compile’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/boundary’
    — Leaving src/boundary (compile)



    — Entering src/communication (compile)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/communication’
    make[2]: Nothing to be done for ‘compile’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/communication’
    — Leaving src/communication (compile)



    — Entering src/dynamics (compile)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/dynamics’
    make[2]: Nothing to be done for ‘compile’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/dynamics’
    — Leaving src/dynamics (compile)



    — Entering src/core (compile)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/core’
    make[2]: Nothing to be done for ‘compile’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/core’
    — Leaving src/core (compile)



    — Entering src/geometry (compile)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/geometry’
    make[2]: Nothing to be done for ‘compile’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/geometry’
    — Leaving src/geometry (compile)



    — Entering src/external/tinyxml (compile)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/external/tinyxml’
    make[2]: Nothing to be done for ‘compile’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/external/tinyxml’
    — Leaving src/external/tinyxml (compile)



    — Entering src/functors (compile)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/functors’
    make[2]: Nothing to be done for ‘compile’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/functors’
    — Leaving src/functors (compile)



    — Entering src/functors/indicator (compile)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/functors/indicator’
    make[2]: Nothing to be done for ‘compile’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/functors/indicator’
    — Leaving src/functors/indicator (compile)



    — Entering src/io (compile)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/io’
    make[2]: Nothing to be done for ‘compile’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/io’
    — Leaving src/io (compile)



    — Entering src/particles (compile)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/particles’
    make[2]: Nothing to be done for ‘compile’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/particles’
    — Leaving src/particles (compile)



    — Entering src/particles/forces (compile)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/particles/forces’
    make[2]: Nothing to be done for ‘compile’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/particles/forces’
    — Leaving src/particles/forces (compile)



    — Entering src/particles/boundaries (compile)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/particles/boundaries’
    make[2]: Nothing to be done for ‘compile’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/particles/boundaries’
    — Leaving src/particles/boundaries (compile)



    — Entering src/utilities (compile)
    make[2]: Entering directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/utilities’
    make[2]: Nothing to be done for ‘compile’.
    make[2]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0/src/utilities’
    — Leaving src/utilities (compile)


    make[1]: Leaving directory ‘/home/wlz/olb-1.0r0/olb-1.0r0’
    Link aorta3d
    g++ aorta3d.o -L../../build/precompiled/lib -lolb -o aorta3d
    aorta3d.o: In function `setBoundaryValues(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::sOffLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor>&, olb::LBconverter<double> const&, int, olb::SuperGeometry3D<double>&)’:
    aorta3d.cpp:(.text+0x42e): undefined reference to `olb::sOffLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor>::defineU(olb::SuperGeometry3D<double>&, int, olb::AnalyticalF3D<double, double>&, std::__cxx11::list<int, std::allocator<int> >)’
    aorta3d.o: In function `prepareLattice(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::LBconverter<double> const&, olb::Dynamics<double, olb::descriptors::D3Q27Descriptor>&, olb::sOnLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor>&, olb::sOffLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor>&, olb::STLreader<double>&, olb::SuperGeometry3D<double>&)’:
    aorta3d.cpp:(.text+0xc6a): undefined reference to `olb::NoDynamics<double, olb::descriptors::D3Q27Descriptor>& olb::instances::getNoDynamics<double, olb::descriptors::D3Q27Descriptor>(double)’
    aorta3d.cpp:(.text+0xc7a): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::defineDynamics(olb::SuperGeometry3D<double>&, int, olb::Dynamics<double, olb::descriptors::D3Q27Descriptor>*)’
    aorta3d.cpp:(.text+0xc8d): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::defineDynamics(olb::SuperGeometry3D<double>&, int, olb::Dynamics<double, olb::descriptors::D3Q27Descriptor>*)’
    aorta3d.cpp:(.text+0xc9a): undefined reference to `olb::NoDynamics<double, olb::descriptors::D3Q27Descriptor>& olb::instances::getNoDynamics<double, olb::descriptors::D3Q27Descriptor>(double)’
    aorta3d.cpp:(.text+0xcad): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::defineDynamics(olb::SuperGeometry3D<double>&, int, olb::Dynamics<double, olb::descriptors::D3Q27Descriptor>*)’
    aorta3d.cpp:(.text+0xd0e): undefined reference to `olb::sOffLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor>::addZeroVelocityBoundary(olb::SuperGeometry3D<double>&, int, olb::IndicatorF3D<double>&, std::__cxx11::list<int, std::allocator<int> >)’
    aorta3d.cpp:(.text+0xd39): undefined reference to `olb::NoDynamics<double, olb::descriptors::D3Q27Descriptor>& olb::instances::getNoDynamics<double, olb::descriptors::D3Q27Descriptor>(double)’
    aorta3d.cpp:(.text+0xd4c): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::defineDynamics(olb::SuperGeometry3D<double>&, int, olb::Dynamics<double, olb::descriptors::D3Q27Descriptor>*)’
    aorta3d.cpp:(.text+0xdad): undefined reference to `olb::sOffLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor>::addVelocityBoundary(olb::SuperGeometry3D<double>&, int, olb::IndicatorF3D<double>&, std::__cxx11::list<int, std::allocator<int> >)’
    aorta3d.cpp:(.text+0xddf): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::defineDynamics(olb::SuperGeometry3D<double>&, int, olb::Dynamics<double, olb::descriptors::D3Q27Descriptor>*)’
    aorta3d.cpp:(.text+0xdf2): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::defineDynamics(olb::SuperGeometry3D<double>&, int, olb::Dynamics<double, olb::descriptors::D3Q27Descriptor>*)’
    aorta3d.cpp:(.text+0xe0d): undefined reference to `olb::sOnLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor>::addPressureBoundary(olb::SuperGeometry3D<double>&, int, double)’
    aorta3d.cpp:(.text+0xe23): undefined reference to `olb::sOnLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor>::addPressureBoundary(olb::SuperGeometry3D<double>&, int, double)’
    aorta3d.cpp:(.text+0xeb9): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::defineRhoU(olb::SuperGeometry3D<double>&, int, olb::AnalyticalF3D<double, double>&, olb::AnalyticalF3D<double, double>&)’
    aorta3d.cpp:(.text+0xed9): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::iniEquilibrium(olb::SuperGeometry3D<double>&, int, olb::AnalyticalF3D<double, double>&, olb::AnalyticalF3D<double, double>&)’
    aorta3d.cpp:(.text+0xef9): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::defineRhoU(olb::SuperGeometry3D<double>&, int, olb::AnalyticalF3D<double, double>&, olb::AnalyticalF3D<double, double>&)’
    aorta3d.cpp:(.text+0xf19): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::iniEquilibrium(olb::SuperGeometry3D<double>&, int, olb::AnalyticalF3D<double, double>&, olb::AnalyticalF3D<double, double>&)’
    aorta3d.cpp:(.text+0xf39): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::defineRhoU(olb::SuperGeometry3D<double>&, int, olb::AnalyticalF3D<double, double>&, olb::AnalyticalF3D<double, double>&)’
    aorta3d.cpp:(.text+0xf59): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::iniEquilibrium(olb::SuperGeometry3D<double>&, int, olb::AnalyticalF3D<double, double>&, olb::AnalyticalF3D<double, double>&)’
    aorta3d.cpp:(.text+0xf79): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::defineRhoU(olb::SuperGeometry3D<double>&, int, olb::AnalyticalF3D<double, double>&, olb::AnalyticalF3D<double, double>&)’
    aorta3d.cpp:(.text+0xf99): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::iniEquilibrium(olb::SuperGeometry3D<double>&, int, olb::AnalyticalF3D<double, double>&, olb::AnalyticalF3D<double, double>&)’
    aorta3d.cpp:(.text+0xfa1): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::initialize()’
    aorta3d.o: In function `getResults(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::LBconverter<double>&, int, olb::Dynamics<double, olb::descriptors::D3Q27Descriptor>&, olb::SuperGeometry3D<double>&, olb::util::Timer<double>&, olb::STLreader<double>&)’:
    aorta3d.cpp:(.text+0x1329): undefined reference to `olb::SuperLatticePhysVelocity3D<double, olb::descriptors::D3Q27Descriptor>::SuperLatticePhysVelocity3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::LBconverter<double> const&, bool)’
    aorta3d.cpp:(.text+0x133c): undefined reference to `olb::SuperLatticePhysPressure3D<double, olb::descriptors::D3Q27Descriptor>::SuperLatticePhysPressure3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::LBconverter<double> const&)’
    aorta3d.cpp:(.text+0x13d1): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::getStatistics()’
    aorta3d.cpp:(.text+0x14e1): undefined reference to `olb::SuperLatticeGeometry3D<double, olb::descriptors::D3Q27Descriptor>::SuperLatticeGeometry3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::SuperGeometry3D<double>&, int)’
    aorta3d.cpp:(.text+0x14f4): undefined reference to `olb::SuperLatticeCuboid3D<double, olb::descriptors::D3Q27Descriptor>::SuperLatticeCuboid3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&)’
    aorta3d.cpp:(.text+0x1504): undefined reference to `olb::SuperLatticeRank3D<double, olb::descriptors::D3Q27Descriptor>::SuperLatticeRank3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&)’
    aorta3d.cpp:(.text+0x15c0): undefined reference to `olb::SuperEuklidNorm3D<double, olb::descriptors::D3Q27Descriptor>::SuperEuklidNorm3D(olb::SuperLatticeF3D<double, olb::descriptors::D3Q27Descriptor>&)’
    aorta3d.cpp:(.text+0x15e5): undefined reference to `olb::BlockLatticeReduction3D<double, olb::descriptors::D3Q27Descriptor>::BlockLatticeReduction3D(olb::SuperLatticeF3D<double, olb::descriptors::D3Q27Descriptor>&, double, double, double, int)’
    aorta3d.cpp:(.text+0x1746): undefined reference to `olb::BlockLatticeReduction3D<double, olb::descriptors::D3Q27Descriptor>::~BlockLatticeReduction3D()’
    aorta3d.cpp:(.text+0x17bc): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::getStatistics()’
    aorta3d.cpp:(.text+0x17e1): undefined reference to `olb::SuperLatticePhysVelocity3D<double, olb::descriptors::D3Q27Descriptor>::SuperLatticePhysVelocity3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::LBconverter<double> const&, bool)’
    aorta3d.cpp:(.text+0x17f4): undefined reference to `olb::SuperLatticePhysPressure3D<double, olb::descriptors::D3Q27Descriptor>::SuperLatticePhysPressure3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::LBconverter<double> const&)’
    aorta3d.cpp:(.text+0x19d6): undefined reference to `olb::SuperLatticePhysVelocityFlux3D<double, olb::descriptors::D3Q27Descriptor>::SuperLatticePhysVelocityFlux3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::LBconverter<double>&, olb::SuperGeometry3D<double>&, olb::IndicatorCircle3D<double>&, std::__cxx11::list<int, std::allocator<int> >, double)’
    aorta3d.cpp:(.text+0x1a8a): undefined reference to `olb::SuperLatticePhysVelocityFlux3D<double, olb::descriptors::D3Q27Descriptor>::print(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)’
    aorta3d.cpp:(.text+0x1b5b): undefined reference to `olb::SuperLatticePhysPressureFlux3D<double, olb::descriptors::D3Q27Descriptor>::SuperLatticePhysPressureFlux3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::LBconverter<double>&, olb::SuperGeometry3D<double>&, olb::IndicatorCircle3D<double>&, std::__cxx11::list<int, std::allocator<int> >, double)’
    aorta3d.cpp:(.text+0x1bfd): undefined reference to `olb::SuperLatticePhysPressureFlux3D<double, olb::descriptors::D3Q27Descriptor>::print(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)’
    aorta3d.cpp:(.text+0x1d5e): undefined reference to `olb::SuperLatticePhysVelocityFlux3D<double, olb::descriptors::D3Q27Descriptor>::SuperLatticePhysVelocityFlux3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::LBconverter<double>&, olb::SuperGeometry3D<double>&, olb::IndicatorCircle3D<double>&, std::__cxx11::list<int, std::allocator<int> >, double)’
    aorta3d.cpp:(.text+0x1e3b): undefined reference to `olb::SuperLatticePhysVelocityFlux3D<double, olb::descriptors::D3Q27Descriptor>::print(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)’
    aorta3d.cpp:(.text+0x1f1e): undefined reference to `olb::SuperLatticePhysPressureFlux3D<double, olb::descriptors::D3Q27Descriptor>::SuperLatticePhysPressureFlux3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::LBconverter<double>&, olb::SuperGeometry3D<double>&, olb::IndicatorCircle3D<double>&, std::__cxx11::list<int, std::allocator<int> >, double)’
    aorta3d.cpp:(.text+0x1fce): undefined reference to `olb::SuperLatticePhysPressureFlux3D<double, olb::descriptors::D3Q27Descriptor>::print(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)’
    aorta3d.cpp:(.text+0x2136): undefined reference to `olb::SuperLatticePhysVelocityFlux3D<double, olb::descriptors::D3Q27Descriptor>::SuperLatticePhysVelocityFlux3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::LBconverter<double>&, olb::SuperGeometry3D<double>&, olb::IndicatorCircle3D<double>&, std::__cxx11::list<int, std::allocator<int> >, double)’
    aorta3d.cpp:(.text+0x21b7): undefined reference to `olb::SuperLatticePhysVelocityFlux3D<double, olb::descriptors::D3Q27Descriptor>::print(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)’
    aorta3d.cpp:(.text+0x229e): undefined reference to `olb::SuperLatticePhysPressureFlux3D<double, olb::descriptors::D3Q27Descriptor>::SuperLatticePhysPressureFlux3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::LBconverter<double>&, olb::SuperGeometry3D<double>&, olb::IndicatorCircle3D<double>&, std::__cxx11::list<int, std::allocator<int> >, double)’
    aorta3d.cpp:(.text+0x2317): undefined reference to `olb::SuperLatticePhysPressureFlux3D<double, olb::descriptors::D3Q27Descriptor>::print(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)’
    aorta3d.cpp:(.text+0x238a): undefined reference to `olb::SuperLatticeYplus3D<double, olb::descriptors::D3Q27Descriptor>::SuperLatticeYplus3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::LBconverter<double> const&, olb::SuperGeometry3D<double>&, olb::IndicatorF3D<double>&, int)’
    aorta3d.cpp:(.text+0x23a7): undefined reference to `olb::SuperMax3D<double, olb::descriptors::D3Q27Descriptor>::SuperMax3D(olb::SuperF3D<double>&, olb::SuperGeometry3D<double>&, int)’
    aorta3d.cpp:(.text+0x23e3): undefined reference to `olb::SuperMax3D<double, olb::descriptors::D3Q27Descriptor>::operator()(double*, int const*)’
    aorta3d.cpp:(.text+0x2a3c): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::getStatistics()’
    aorta3d.cpp:(.text+0x2a92): undefined reference to `olb::SuperLatticePhysVelocity3D<double, olb::descriptors::D3Q27Descriptor>::SuperLatticePhysVelocity3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::LBconverter<double> const&, bool)’
    aorta3d.cpp:(.text+0x2aa5): undefined reference to `olb::SuperLatticePhysPressure3D<double, olb::descriptors::D3Q27Descriptor>::SuperLatticePhysPressure3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, olb::LBconverter<double> const&)’
    aorta3d.cpp:(.text+0x2c1d): undefined reference to `olb::BlockLatticeReduction3D<double, olb::descriptors::D3Q27Descriptor>::~BlockLatticeReduction3D()’
    aorta3d.o: In function `main’:
    aorta3d.cpp:(.text.startup+0x3ca): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::SuperLattice3D(olb::SuperGeometry3D<double>&)’
    aorta3d.cpp:(.text.startup+0x42f): undefined reference to `olb::BulkMomenta<double, olb::descriptors::D3Q27Descriptor>& olb::instances::getBulkMomenta<double, olb::descriptors::D3Q27Descriptor>()’
    aorta3d.cpp:(.text.startup+0x4ae): undefined reference to `olb::SmagorinskyBGKdynamics<double, olb::descriptors::D3Q27Descriptor>::SmagorinskyBGKdynamics(double, olb::Momenta<double, olb::descriptors::D3Q27Descriptor>&, double, double, double)’
    aorta3d.cpp:(.text.startup+0x4c1): undefined reference to `olb::sOnLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor>::sOnLatticeBoundaryCondition3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&)’
    aorta3d.cpp:(.text.startup+0x4cd): undefined reference to `void olb::createInterpBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor, olb::BGKdynamics<double, olb::descriptors::D3Q27Descriptor> >(olb::sOnLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor>&)’
    aorta3d.cpp:(.text.startup+0x4e8): undefined reference to `olb::sOffLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor>::sOffLatticeBoundaryCondition3D(olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>&, double)’
    aorta3d.cpp:(.text.startup+0x4f4): undefined reference to `void olb::createBouzidiBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor, olb::BGKdynamics<double, olb::descriptors::D3Q27Descriptor> >(olb::sOffLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor>&)’
    aorta3d.cpp:(.text.startup+0x6db): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::collideAndStream()’
    aorta3d.cpp:(.text.startup+0x798): undefined reference to `olb::sOffLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor>::~sOffLatticeBoundaryCondition3D()’
    aorta3d.cpp:(.text.startup+0x7a4): undefined reference to `olb::sOnLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor>::~sOnLatticeBoundaryCondition3D()’
    aorta3d.cpp:(.text.startup+0x7b0): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::~SuperLattice3D()’
    aorta3d.cpp:(.text.startup+0x8eb): undefined reference to `olb::sOffLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor>::~sOffLatticeBoundaryCondition3D()’
    aorta3d.cpp:(.text.startup+0x8f7): undefined reference to `olb::sOnLatticeBoundaryCondition3D<double, olb::descriptors::D3Q27Descriptor>::~sOnLatticeBoundaryCondition3D()’
    aorta3d.cpp:(.text.startup+0x903): undefined reference to `olb::SuperLattice3D<double, olb::descriptors::D3Q27Descriptor>::~SuperLattice3D()’
    aorta3d.o:(.rodata._ZTVN3olb18SuperLatticeFlux3DIdNS_11descriptors15D3Q27DescriptorEEE[_ZTVN3olb18SuperLatticeFlux3DIdNS_11descriptors15D3Q27DescriptorEEE]+0x20): undefined reference to `olb::SuperLatticeFlux3D<double, olb::descriptors::D3Q27Descriptor>::operator()(double*, int const*)’
    aorta3d.o:(.rodata._ZTVN3olb30SuperLatticePhysVelocityFlux3DIdNS_11descriptors15D3Q27DescriptorEEE[_ZTVN3olb30SuperLatticePhysVelocityFlux3DIdNS_11descriptors15D3Q27DescriptorEEE]+0x20): undefined reference to `olb::SuperLatticePhysVelocityFlux3D<double, olb::descriptors::D3Q27Descriptor>::operator()(double*, int const*)’
    aorta3d.o:(.rodata._ZTVN3olb30SuperLatticePhysPressureFlux3DIdNS_11descriptors15D3Q27DescriptorEEE[_ZTVN3olb30SuperLatticePhysPressureFlux3DIdNS_11descriptors15D3Q27DescriptorEEE]+0x20): undefined reference to `olb::SuperLatticePhysPressureFlux3D<double, olb::descriptors::D3Q27Descriptor>::operator()(double*, int const*)’
    aorta3d.o:(.rodata._ZTVN3olb10SuperMax3DIdNS_11descriptors15D3Q27DescriptorEEE[_ZTVN3olb10SuperMax3DIdNS_11descriptors15D3Q27DescriptorEEE]+0x20): undefined reference to `olb::SuperMax3D<double, olb::descriptors::D3Q27Descriptor>::operator()(double*, int const*)’
    collect2: error: ld returned 1 exit status
    Makefile:102: recipe for target ‘aorta3d’ failed
    make: *** [aorta3d] Error 1

    Looking forward to your reply!

    #2617
    robin.trunk
    Keymaster

    Hi lesmodel,

    which compilers do you use in cygwin and your ubuntu systems? Also, how is your configuration in the Makefile.inc? If the buildtype is set to precompiled, try switching it to generic, then run
    make cleanbuild
    and try to compile again.

    Best
    Robin

    #2618
    lesmodel
    Member

    Dear robin,
    Thanks very much for your reply, but I have another question, when I run a program in parallel in the Cygwin64,
    I use the command
    mpirun -np 8 ./cylinder2d.exe
    it reports:
    [user-PC:98680] [[12126,1],0] tcp_peer_send_blocking: send() to socket 12failed:Transport endpoint is not connected (128)
    [user-PC:98680] [[12126,1],0] tcp_peer_send_blocking: send() to socket 12failed:Transport endpoint is not connected (128)

    What’s wrong with this, thans very much!!

    #2624
    robin.trunk
    Keymaster

    Dear lesmodel,

    this seems rather like an mpi or cygwin problem than openlb, especially since with tcp newtwork protocolls seem to be involved.
    I suggets a google search for the error:
    http://stackoverflow.com/questions/34032655/cygwin-error-tcp-peer-send-blocking-send-to-socket

    Best
    Robin

    #2619
    lesmodel
    Member

    Dear Robin,
    Thanks very much for your help, one more question, in the example cylinder3d, a planeReduction is difined to use “gifWriter.write” to generate the ppm files of velocity distribution, but when defining the planeReduction, only a
    normal vector (1,0,0) is specified, how can we know which plane is referred to, that is to say, it refers to plan x=0 or someone esle? Thanks very much!!

    #2620
    robin.trunk
    Keymaster

    Hi lesmodel,

    for this constructor the origin point for the plane defaults to the center of the considered geometry.

    Best
    Robin

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.