CMake Error at CMakeLists.txt:208 (find_package)

Dear Lammps experts,

I am going to install the KSPACE package on lammps-june2019. Actually when I apply the below command in order to install all packages, I will face with this error:

cmake -C …/cmake/presets/all_on.cmake [OPTIONS] …/cmake


CMake Error at CMakeLists.txt:208 (find_package):
By not providing “FindADIOS2.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “ADIOS2”, but
CMake did not find one.

Could not find a package configuration file provided by “ADIOS2” with any
of the following names:


Add the installation prefix of “ADIOS2” to CMAKE_PREFIX_PATH or set
“ADIOS2_DIR” to a directory containing one of the above files. If “ADIOS2”
provides a separate development package or SDK, be sure it has been

So, it seems that cmake package is not update and I should update it. am I correct?

Yours Sincrely,

No, you are wrong. Please read the documentation more carefully.

You may use make command because it’s quite simpler to use as compared to cmake.
“make yes-kspace”

Ok, thanks.

I have just re-build lammps as per and the problem has been solved . but new -users please be careful, before "make mpi "command, mpi module shall be loaded first !!! (I have not found it in the document)

best regards,