I am compiling vlasiator for my linux mint computer to test it at first. So I git clone the latest image from https://github.com/fmihpc/vlasiator.git . Follow the instruction of https://github.com/fmihpc/vlasiator/wiki/Installing-Vlasiator and install the libraries DCCRG, Zoltan, Boost, Eigen, Vectorclass, Phiprof, VLSV, MPI and C++11 compiler with OpenMP >=3 support. Some libraries are really easy to install as they are headers only or are available from the repositories like MPI (i.e. openmpi or mpich), others require to be compiled. The problem is that after that when I actually compile vlasiator (i.e. make command), I get
sysboundary/sysboundary.cpp: In member function ‘bool SysBoundary::classifyCells(dccrg::Dccrg&)’: sysboundary/sysboundary.cpp:430:107: error: cannot convert ‘const std::vector > >’ to ‘const std::vector’ in initialization llID>* nbrs = mpiGrid.get_neighbors_of(cells[i],SYSBOUNDARIES_NEIGHBORHOOD_ID); ^ sysboundary/sysboundary.cpp:451:110: error: cannot convert ‘const std::vector > >’ to ‘const std::vector’ in initialization llID>* nbrs = mpiGrid.get_neighbors_of(cells[i],SYSBOUNDARIES_NEIGHBORHOOD_ID);
I have tried previous versions of vlasiator (e.g. 3.0 and 2.0) and I've even compiled all the libraries dependencies with different versions but I always get this same error. I am reluctant to touch the code at this stage and branch out the code. I would like to know if this is a version problem of MPI or some other libraries dependency.
Aucun commentaire:
Enregistrer un commentaire