Problems to compile Kokkos

#1

Hello guys, I’ve already cloned kokkos in my docker container but when I tried to compile it I got the following error messages:
image

I have the 2.8 Cmake version so should I update it to the 3.10 version?
And How can I overcome the first error about the tribits_supackage?

could you please help me?

#2

Please provide more details on the docker image you are using? and the steps involved in compiling KOKKOS.

#3

Thanks for replying,
I used the docker image quay.io/cbgeo/lem
Then I cloned KOKKOS by using git clone https://github.com/kokkos/kokkos.git
and used the command cd cmake_build/ cmake -DCMAKE_BUILD_TYPE=Release … to compile it but it did not work

#4

Could you share the output of cmake command. Also, make sure you are running cmake in build directory.

#5

Try https://quay.io/repository/cbgeo/kokkos?tag=latest&tab=tags. Run the following steps to compile KOKKOS

  • Clone KOKKOS: git clone https://github.com/kokkos/kokkos.git
  • cd kokkos and mkdir build && cd build
  • Run Cmake cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++ ..
  • Compile using make -j.

Please share the CMake and make file logs.

#6

Thanks for replying,
I tried by using this command sudo docker pull quay.io/repository/cbgeo/kokkos
But I got the next error message
Error response from daemon: Get https://quay.io/v2/repository/cbgeo/kokkos/manifests/latest: name invalid: Nested repositories are not supported.
What shall I do?

#7

To pull the Kokkos image, you need to do sudo docker pull quay.io/cbgeo/kokkos not sudo docker pull quay.io/repository/cbgeo/kokkos

#8

I think it worked


Thank you so much

closed #9