Re: Compilation error for cavity3d in showCase

I have same error with palabos1.3 and Ubuntu which is update also i installed openmpi and …

cavity2d.cpp:139:16: error: ‘class plb::MultiGridManagement2D’ has no member named ‘parallelizeX’
cavity2d.cpp:149:52: error: no matching function for call to ‘plb::MultiGridLattice2D<double,


user@mays-PC:~/palabos-v1.3r0/examples/showCases/gridRefinement2d$ makepython ../../../scons/scons.py -j 2 -j 2 -f ../../../SConstruct palabosRoot=../../.. projectFiles="cavity2d.cpp" optimize=true debug=false profile=false MPIparallel=false SMPparallel=false usePOSIX=true serialCXX=g++  parallelCXX=mpicxx compileFlags="-Wall -Wnon-virtual-dtor" linkFlags="" optimFlags="-O3" debugFlags="-g" profileFlags="-pg" libraryPaths="" includePaths="." libraries=""
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o cavity2d.o -c -Wall -Wnon-virtual-dtor -O3 -DPLB_USE_POSIX -I/home/user/palabos-v1.3r0/src -I/home/user/palabos-v1.3r0/externalLibraries -I. cavity2d.cpp
g++ -o /home/user/palabos-v1.3r0/src/atomicBlock/dataProcessorWrapper2D.o -c -Wall -Wnon-virtual-dtor -O3 -DPLB_USE_POSIX -I/home/user/palabos-v1.3r0/src -I/home/user/palabos-v1.3r0/externalLibraries -I. /home/user/palabos-v1.3r0/src/atomicBlock/dataProcessorWrapper2D.cpp
g++ -o /home/user/palabos-v1.3r0/src/atomicBlock/dataProcessor3D.o -c -Wall -Wnon-virtual-dtor -O3 -DPLB_USE_POSIX -I/home/user/palabos-v1.3r0/src -I/home/user/palabos-v1.3r0/externalLibraries -I. /home/user/palabos-v1.3r0/src/atomicBlock/dataProcessor3D.cpp
g++ -o /home/user/palabos-v1.3r0/src/atomicBlock/dataProcessor2D.o -c -Wall -Wnon-virtual-dtor -O3 -DPLB_USE_POSIX -I/home/user/palabos-v1.3r0/src -I/home/user/palabos-v1.3r0/externalLibraries -I. /home/user/palabos-v1.3r0/src/atomicBlock/dataProcessor2D.cpp
g++ -o /home/user/palabos-v1.3r0/src/atomicBlock/atomicBlockSerializer3D.o -c -Wall -Wnon-virtual-dtor -O3 -DPLB_USE_POSIX -I/home/user/palabos-v1.3r0/src -I/home/user/palabos-v1.3r0/externalLibraries -I. /home/user/palabos-v1.3r0/src/atomicBlock/atomicBlockSerializer3D.cpp
g++ -o /home/user/palabos-v1.3r0/src/atomicBlock/atomicBlock3D.o -c -Wall -Wnon-virtual-dtor -O3 -DPLB_USE_POSIX -I/home/user/palabos-v1.3r0/src -I/home/user/palabos-v1.3r0/externalLibraries -I. /home/user/palabos-v1.3r0/src/atomicBlock/atomicBlock3D.cpp
g++ -o /home/user/palabos-v1.3r0/src/atomicBlock/reductiveDataProcessorWrapper2D.o -c -Wall -Wnon-virtual-dtor -O3 -DPLB_USE_POSIX -I/home/user/palabos-v1.3r0/src -I/home/user/palabos-v1.3r0/externalLibraries -I. /home/user/palabos-v1.3r0/src/atomicBlock/reductiveDataProcessorWrapper2D.cpp
g++ -o /home/user/palabos-v1.3r0/src/atomicBlock/dataProcessingFunctional2D.o -c -Wall -Wnon-virtual-dtor -O3 -DPLB_USE_POSIX -I/home/user/palabos-v1.3r0/src -I/home/user/palabos-v1.3r0/externalLibraries -I. /home/user/palabos-v1.3r0/src/atomicBlock/dataProcessingFunctional2D.cpp
cavity2d.cpp: In function ‘int main(int, char**)’:
cavity2d.cpp:139:16: error: ‘class plb::MultiGridManagement2D’ has no member named ‘parallelizeX’
cavity2d.cpp:149:52: error: no matching function for call to ‘plb::MultiGridLattice2D<double, plb::descriptors::D2Q9Descriptor>::MultiGridLattice2D(plb::MultiGridManagement2D&, std::vector<plb::BlockCommunicator2D*>, std::vector<plb::CombinedStatistics*>, plb::Dynamics<double, plb::descriptors::D2Q9Descriptor>*&, plb::plint&)’
cavity2d.cpp:149:52: note: candidates are:
/home/user/palabos-v1.3r0/src/multiGrid/multiGridLattice2D.hh:171:1: note: plb::MultiGridLattice2D<T, Descriptor>::MultiGridLattice2D(const plb::MultiGrid2D&, plb::Box2D, bool) [with T = double, Descriptor = plb::descriptors::D2Q9Descriptor, plb::MultiGrid2D = plb::MultiGrid2D]
/home/user/palabos-v1.3r0/src/multiGrid/multiGridLattice2D.hh:171:1: note:   candidate expects 3 arguments, 5 provided
/home/user/palabos-v1.3r0/src/multiGrid/multiGridLattice2D.hh:154:1: note: plb::MultiGridLattice2D<T, Descriptor>::MultiGridLattice2D(const plb::MultiGrid2D&) [with T = double, Descriptor = plb::descriptors::D2Q9Descriptor, plb::MultiGrid2D = plb::MultiGrid2D]
/home/user/palabos-v1.3r0/src/multiGrid/multiGridLattice2D.hh:154:1: note:   candidate expects 1 argument, 5 provided
/home/user/palabos-v1.3r0/src/multiGrid/multiGridLattice2D.hh:134:1: note: plb::MultiGridLattice2D<T, Descriptor>::MultiGridLattice2D(const plb::MultiGridLattice2D<T, Descriptor>&, plb::Box2D, bool) [with T = double, Descriptor = plb::descriptors::D2Q9Descriptor]
/home/user/palabos-v1.3r0/src/multiGrid/multiGridLattice2D.hh:134:1: note:   candidate expects 3 arguments, 5 provided
/home/user/palabos-v1.3r0/src/multiGrid/multiGridLattice2D.hh:111:1: note: plb::MultiGridLattice2D<T, Descriptor>::MultiGridLattice2D(const plb::MultiGridLattice2D<T, Descriptor>&) [with T = double, Descriptor = plb::descriptors::D2Q9Descriptor]
/home/user/palabos-v1.3r0/src/multiGrid/multiGridLattice2D.hh:111:1: note:   candidate expects 1 argument, 5 provided
/home/user/palabos-v1.3r0/src/multiGrid/multiGridLattice2D.hh:42:1: note: plb::MultiGridLattice2D<T, Descriptor>::MultiGridLattice2D(plb::MultiGridManagement2D, plb::Dynamics<T, Descriptor>*, plb::plint, plb::FineGridInterfaceInstantiator<T, Descriptor>*, plb::CoarseGridInterfaceInstantiator<T, Descriptor>*) [with T = double, Descriptor = plb::descriptors::D2Q9Descriptor, plb::plint = int]
/home/user/palabos-v1.3r0/src/multiGrid/multiGridLattice2D.hh:42:1: note:   no known conversion for argument 2 from ‘std::vector<plb::BlockCommunicator2D*>’ to ‘plb::Dynamics<double, plb::descriptors::D2Q9Descriptor>*’
/home/user/palabos-v1.3r0/src/multiGrid/multiGridLattice2D.hh:70:1: note: plb::MultiGridLattice2D<T, Descriptor>::MultiGridLattice2D(plb::MultiGridManagement2D, std::vector<plb::BlockCommunicator2D*>, std::vector<plb::CombinedStatistics*>, plb::Dynamics<T, Descriptor>*, plb::plint, plb::FineGridInterfaceInstantiator<T, Descriptor>*, plb::CoarseGridInterfaceInstantiator<T, Descriptor>*) [with T = double, Descriptor = plb::descriptors::D2Q9Descriptor, plb::plint = int]
/home/user/palabos-v1.3r0/src/multiGrid/multiGridLattice2D.hh:70:1: note:   candidate expects 7 arguments, 5 provided
In file included from /home/user/palabos-v1.3r0/src/multiGrid/multiGridLattice2D.h:47:0,
                 from /home/user/palabos-v1.3r0/src/multiGrid/headers2D.h:37,
                 from /home/user/palabos-v1.3r0/src/palabos2D.h:36,
                 from cavity2d.cpp:25:
/home/user/palabos-v1.3r0/src/multiGrid/multiGridGenerator2D.h: At global scope:
/home/user/palabos-v1.3r0/src/multiGrid/multiGridGenerator2D.h: In instantiation of ‘plb::FineGridInterfaceInstantiator<double, plb::descriptors::D2Q9Descriptor>’:
/home/user/palabos-v1.3r0/src/multiGrid/multiGridLattice2D.hh:106:5:   instantiated from ‘plb::MultiGridLattice2D<T, Descriptor>::~MultiGridLattice2D() [with T = double, Descriptor = plb::descriptors::D2Q9Descriptor]’
cavity2d.cpp:149:52:   instantiated from here
/home/user/palabos-v1.3r0/src/multiGrid/multiGridGenerator2D.h:100:7: warning: ‘class plb::FineGridInterfaceInstantiator<double, plb::descriptors::D2Q9Descriptor>’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
/home/user/palabos-v1.3r0/src/multiGrid/multiGridGenerator2D.h: In instantiation of ‘plb::CoarseGridInterfaceInstantiator<double, plb::descriptors::D2Q9Descriptor>’:
/home/user/palabos-v1.3r0/src/multiGrid/multiGridLattice2D.hh:107:5:   instantiated from ‘plb::MultiGridLattice2D<T, Descriptor>::~MultiGridLattice2D() [with T = double, Descriptor = plb::descriptors::D2Q9Descriptor]’
cavity2d.cpp:149:52:   instantiated from here
/home/user/palabos-v1.3r0/src/multiGrid/multiGridGenerator2D.h:115:7: warning: ‘class plb::CoarseGridInterfaceInstantiator<double, plb::descriptors::D2Q9Descriptor>’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
g++ -o /home/user/palabos-v1.3r0/src/atomicBlock/atomicBlock2D.o -c -Wall -Wnon-virtual-dtor -O3 -DPLB_USE_POSIX -I/home/user/palabos-v1.3r0/src -I/home/user/palabos-v1.3r0/externalLibraries -I. /home/user/palabos-v1.3r0/src/atomicBlock/atomicBlock2D.cpp
scons: *** [cavity2d.o] Error 1
scons: building terminated because of errors.
make: *** [compile] Error 2