How To Install kokkos-devel on Rocky Linux 8

In this tutorial we learn how to install kokkos-devel on Rocky Linux 8. kokkos-devel is Development package for kokkos packages

Introduction

In this tutorial we learn how to install kokkos-devel on Rocky Linux 8.

What is kokkos-devel

Kokkos Core implements a programming model in C++ for writing performance portable applications targeting all major HPC platforms. For that purpose it provides abstractions for both parallel execution of code and data management. Kokkos is designed to target complex node architectures with N-level memory hierarchies and multiple types of execution resources. It currently can use OpenMP, Pthreads and CUDA as backend programming models. This package contains the development files of kokkos.

We can use yum or dnf to install kokkos-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install kokkos-devel.

Install kokkos-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install kokkos-devel using dnf by running the following command:

sudo dnf -y install kokkos-devel

Install kokkos-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install kokkos-devel using yum by running the following command:

sudo yum -y install kokkos-devel

How To Uninstall kokkos-devel on Rocky Linux 8

To uninstall only the kokkos-devel package we can use the following command:

sudo dnf remove kokkos-devel

kokkos-devel Package Contents on Rocky Linux 8

/usr/bin/nvcc_wrapper
/usr/include/kokkos
/usr/include/kokkos/Cuda
/usr/include/kokkos/Cuda/KokkosExp_Cuda_IterateTile.hpp
/usr/include/kokkos/Cuda/KokkosExp_Cuda_IterateTile_Refactor.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_Alloc.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_Atomic_Intrinsics.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_Atomic_Intrinsics_Restore_Builtins.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_BlockSize_Deduction.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_Error.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_Instance.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_KernelLaunch.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_Locks.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_Parallel.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_ReduceScan.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_Task.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_Team.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_UniqueToken.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_Vectorization.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_Version_9_8_Compatibility.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_View.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_ViewCopyETIAvail.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_ViewCopyETIDecl.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_WorkGraphPolicy.hpp
/usr/include/kokkos/Cuda/Kokkos_Cuda_abort.hpp
/usr/include/kokkos/HPX
/usr/include/kokkos/HPX/Kokkos_HPX_ChunkedRoundRobinExecutor.hpp
/usr/include/kokkos/HPX/Kokkos_HPX_Task.hpp
/usr/include/kokkos/HPX/Kokkos_HPX_ViewCopyETIAvail.hpp
/usr/include/kokkos/HPX/Kokkos_HPX_ViewCopyETIDecl.hpp
/usr/include/kokkos/HPX/Kokkos_HPX_WorkGraphPolicy.hpp
/usr/include/kokkos/KokkosAlgorithms_config.h
/usr/include/kokkos/KokkosCore_config.h
/usr/include/kokkos/KokkosExp_MDRangePolicy.hpp
/usr/include/kokkos/Kokkos_AnonymousSpace.hpp
/usr/include/kokkos/Kokkos_Array.hpp
/usr/include/kokkos/Kokkos_Atomic.hpp
/usr/include/kokkos/Kokkos_Bitset.hpp
/usr/include/kokkos/Kokkos_Complex.hpp
/usr/include/kokkos/Kokkos_Concepts.hpp
/usr/include/kokkos/Kokkos_CopyViews.hpp
/usr/include/kokkos/Kokkos_Core.hpp
/usr/include/kokkos/Kokkos_Core_fwd.hpp
/usr/include/kokkos/Kokkos_Crs.hpp
/usr/include/kokkos/Kokkos_Cuda.hpp
/usr/include/kokkos/Kokkos_CudaSpace.hpp
/usr/include/kokkos/Kokkos_DualView.hpp
/usr/include/kokkos/Kokkos_DynRankView.hpp
/usr/include/kokkos/Kokkos_DynamicView.hpp
/usr/include/kokkos/Kokkos_ErrorReporter.hpp
/usr/include/kokkos/Kokkos_ExecPolicy.hpp
/usr/include/kokkos/Kokkos_Extents.hpp
/usr/include/kokkos/Kokkos_Functional.hpp
/usr/include/kokkos/Kokkos_Future.hpp
/usr/include/kokkos/Kokkos_HBWSpace.hpp
/usr/include/kokkos/Kokkos_HPX.hpp
/usr/include/kokkos/Kokkos_HostSpace.hpp
/usr/include/kokkos/Kokkos_Layout.hpp
/usr/include/kokkos/Kokkos_Macros.hpp
/usr/include/kokkos/Kokkos_MasterLock.hpp
/usr/include/kokkos/Kokkos_MemoryPool.hpp
/usr/include/kokkos/Kokkos_MemoryTraits.hpp
/usr/include/kokkos/Kokkos_NumericTraits.hpp
/usr/include/kokkos/Kokkos_OffsetView.hpp
/usr/include/kokkos/Kokkos_OpenMP.hpp
/usr/include/kokkos/Kokkos_OpenMPTarget.hpp
/usr/include/kokkos/Kokkos_OpenMPTargetSpace.hpp
/usr/include/kokkos/Kokkos_Pair.hpp
/usr/include/kokkos/Kokkos_Parallel.hpp
/usr/include/kokkos/Kokkos_Parallel_Reduce.hpp
/usr/include/kokkos/Kokkos_PointerOwnership.hpp
/usr/include/kokkos/Kokkos_Profiling_ProfileSection.hpp
/usr/include/kokkos/Kokkos_Qthreads.hpp
/usr/include/kokkos/Kokkos_ROCm.hpp
/usr/include/kokkos/Kokkos_ROCmSpace.hpp
/usr/include/kokkos/Kokkos_Random.hpp
/usr/include/kokkos/Kokkos_ScatterView.hpp
/usr/include/kokkos/Kokkos_ScratchSpace.hpp
/usr/include/kokkos/Kokkos_Serial.hpp
/usr/include/kokkos/Kokkos_Sort.hpp
/usr/include/kokkos/Kokkos_StaticCrsGraph.hpp
/usr/include/kokkos/Kokkos_TaskPolicy.hpp
/usr/include/kokkos/Kokkos_TaskScheduler.hpp
/usr/include/kokkos/Kokkos_TaskScheduler_fwd.hpp
/usr/include/kokkos/Kokkos_Threads.hpp
/usr/include/kokkos/Kokkos_Timer.hpp
/usr/include/kokkos/Kokkos_UniqueToken.hpp
/usr/include/kokkos/Kokkos_UnorderedMap.hpp
/usr/include/kokkos/Kokkos_Vector.hpp
/usr/include/kokkos/Kokkos_Vectorization.hpp
/usr/include/kokkos/Kokkos_View.hpp
/usr/include/kokkos/Kokkos_WorkGraphPolicy.hpp
/usr/include/kokkos/Kokkos_hwloc.hpp
/usr/include/kokkos/OpenMP
/usr/include/kokkos/OpenMP/Kokkos_OpenMP_Exec.hpp
/usr/include/kokkos/OpenMP/Kokkos_OpenMP_Parallel.hpp
/usr/include/kokkos/OpenMP/Kokkos_OpenMP_Task.hpp
/usr/include/kokkos/OpenMP/Kokkos_OpenMP_Team.hpp
/usr/include/kokkos/OpenMP/Kokkos_OpenMP_ViewCopyETIAvail.hpp
/usr/include/kokkos/OpenMP/Kokkos_OpenMP_ViewCopyETIDecl.hpp
/usr/include/kokkos/OpenMP/Kokkos_OpenMP_WorkGraphPolicy.hpp
/usr/include/kokkos/OpenMPTarget
/usr/include/kokkos/OpenMPTarget/Kokkos_OpenMPTarget_Exec.hpp
/usr/include/kokkos/OpenMPTarget/Kokkos_OpenMPTarget_Parallel.hpp
/usr/include/kokkos/OpenMPTarget/Kokkos_OpenMPTarget_Task.hpp
/usr/include/kokkos/Qthreads
/usr/include/kokkos/Qthreads/Kokkos_QthreadsExec.hpp
/usr/include/kokkos/Qthreads/Kokkos_Qthreads_Parallel.hpp
/usr/include/kokkos/Qthreads/Kokkos_Qthreads_Task.hpp
/usr/include/kokkos/Qthreads/Kokkos_Qthreads_TaskQueue.hpp
/usr/include/kokkos/Qthreads/Kokkos_Qthreads_TaskQueue_impl.hpp
/usr/include/kokkos/ROCm
/usr/include/kokkos/ROCm/KokkosExp_ROCm_IterateTile_Refactor.hpp
/usr/include/kokkos/ROCm/Kokkos_ROCm_Atomic.hpp
/usr/include/kokkos/ROCm/Kokkos_ROCm_Config.hpp
/usr/include/kokkos/ROCm/Kokkos_ROCm_Exec.hpp
/usr/include/kokkos/ROCm/Kokkos_ROCm_Invoke.hpp
/usr/include/kokkos/ROCm/Kokkos_ROCm_Join.hpp
/usr/include/kokkos/ROCm/Kokkos_ROCm_Parallel.hpp
/usr/include/kokkos/ROCm/Kokkos_ROCm_Reduce.hpp
/usr/include/kokkos/ROCm/Kokkos_ROCm_ReduceScan.hpp
/usr/include/kokkos/ROCm/Kokkos_ROCm_Scan.hpp
/usr/include/kokkos/ROCm/Kokkos_ROCm_Task.hpp
/usr/include/kokkos/ROCm/Kokkos_ROCm_Tile.hpp
/usr/include/kokkos/ROCm/Kokkos_ROCm_Vectorization.hpp
/usr/include/kokkos/ROCm/Kokkos_ROCm_ViewCopyETIAvail.hpp
/usr/include/kokkos/ROCm/Kokkos_ROCm_ViewCopyETIDecl.hpp
/usr/include/kokkos/ROCm/hc_math_std.hpp
/usr/include/kokkos/Serial
/usr/include/kokkos/Serial/Kokkos_Serial_ViewCopyETIAvail.hpp
/usr/include/kokkos/Serial/Kokkos_Serial_ViewCopyETIDecl.hpp
/usr/include/kokkos/Threads
/usr/include/kokkos/Threads/Kokkos_ThreadsExec.hpp
/usr/include/kokkos/Threads/Kokkos_ThreadsTeam.hpp
/usr/include/kokkos/Threads/Kokkos_Threads_Parallel.hpp
/usr/include/kokkos/Threads/Kokkos_Threads_ViewCopyETIAvail.hpp
/usr/include/kokkos/Threads/Kokkos_Threads_ViewCopyETIDecl.hpp
/usr/include/kokkos/Threads/Kokkos_Threads_WorkGraphPolicy.hpp
/usr/include/kokkos/eti
/usr/include/kokkos/eti/Cuda
/usr/include/kokkos/eti/HPX
/usr/include/kokkos/eti/OpenMP
/usr/include/kokkos/eti/ROCm
/usr/include/kokkos/eti/Serial
/usr/include/kokkos/eti/Threads
/usr/include/kokkos/eti/common
/usr/include/kokkos/eti/common/Kokkos_ViewFillCopyETIAvail_Macros.hpp
/usr/include/kokkos/eti/common/Kokkos_ViewFillCopyETIDecl_Macros.hpp
/usr/include/kokkos/impl
/usr/include/kokkos/impl/KokkosExp_Host_IterateTile.hpp
/usr/include/kokkos/impl/KokkosExp_ViewMapping.hpp
/usr/include/kokkos/impl/Kokkos_AnalyzePolicy.hpp
/usr/include/kokkos/impl/Kokkos_Atomic_Assembly.hpp
/usr/include/kokkos/impl/Kokkos_Atomic_Compare_Exchange_Strong.hpp
/usr/include/kokkos/impl/Kokkos_Atomic_Compare_Exchange_Weak.hpp
/usr/include/kokkos/impl/Kokkos_Atomic_Decrement.hpp
/usr/include/kokkos/impl/Kokkos_Atomic_Exchange.hpp
/usr/include/kokkos/impl/Kokkos_Atomic_Fetch_Add.hpp
/usr/include/kokkos/impl/Kokkos_Atomic_Fetch_And.hpp
/usr/include/kokkos/impl/Kokkos_Atomic_Fetch_Or.hpp
/usr/include/kokkos/impl/Kokkos_Atomic_Fetch_Sub.hpp
/usr/include/kokkos/impl/Kokkos_Atomic_Generic.hpp
/usr/include/kokkos/impl/Kokkos_Atomic_Increment.hpp
/usr/include/kokkos/impl/Kokkos_Atomic_Load.hpp
/usr/include/kokkos/impl/Kokkos_Atomic_Memory_Order.hpp
/usr/include/kokkos/impl/Kokkos_Atomic_Store.hpp
/usr/include/kokkos/impl/Kokkos_Atomic_View.hpp
/usr/include/kokkos/impl/Kokkos_Atomic_Windows.hpp
/usr/include/kokkos/impl/Kokkos_BitOps.hpp
/usr/include/kokkos/impl/Kokkos_Bitset_impl.hpp
/usr/include/kokkos/impl/Kokkos_CPUDiscovery.hpp
/usr/include/kokkos/impl/Kokkos_ChaseLev.hpp
/usr/include/kokkos/impl/Kokkos_ClockTic.hpp
/usr/include/kokkos/impl/Kokkos_ConcurrentBitset.hpp
/usr/include/kokkos/impl/Kokkos_EBO.hpp
/usr/include/kokkos/impl/Kokkos_Error.hpp
/usr/include/kokkos/impl/Kokkos_FixedBufferMemoryPool.hpp
/usr/include/kokkos/impl/Kokkos_Functional_impl.hpp
/usr/include/kokkos/impl/Kokkos_FunctorAdapter.hpp
/usr/include/kokkos/impl/Kokkos_FunctorAnalysis.hpp
/usr/include/kokkos/impl/Kokkos_HostBarrier.hpp
/usr/include/kokkos/impl/Kokkos_HostSpace_deepcopy.hpp
/usr/include/kokkos/impl/Kokkos_HostThreadTeam.hpp
/usr/include/kokkos/impl/Kokkos_LIFO.hpp
/usr/include/kokkos/impl/Kokkos_LinkedListNode.hpp
/usr/include/kokkos/impl/Kokkos_MemoryPoolAllocator.hpp
/usr/include/kokkos/impl/Kokkos_MemorySpace.hpp
/usr/include/kokkos/impl/Kokkos_Memory_Fence.hpp
/usr/include/kokkos/impl/Kokkos_MultipleTaskQueue.hpp
/usr/include/kokkos/impl/Kokkos_OldMacros.hpp
/usr/include/kokkos/impl/Kokkos_OptionalRef.hpp
/usr/include/kokkos/impl/Kokkos_PhysicalLayout.hpp
/usr/include/kokkos/impl/Kokkos_Profiling_DeviceInfo.hpp
/usr/include/kokkos/impl/Kokkos_Profiling_Interface.hpp
/usr/include/kokkos/impl/Kokkos_Serial_Task.hpp
/usr/include/kokkos/impl/Kokkos_Serial_WorkGraphPolicy.hpp
/usr/include/kokkos/impl/Kokkos_SharedAlloc.hpp
/usr/include/kokkos/impl/Kokkos_SimpleTaskScheduler.hpp
/usr/include/kokkos/impl/Kokkos_SingleTaskQueue.hpp
/usr/include/kokkos/impl/Kokkos_Spinwait.hpp
/usr/include/kokkos/impl/Kokkos_Stacktrace.hpp
/usr/include/kokkos/impl/Kokkos_StaticCrsGraph_factory.hpp
/usr/include/kokkos/impl/Kokkos_Tags.hpp
/usr/include/kokkos/impl/Kokkos_TaskBase.hpp
/usr/include/kokkos/impl/Kokkos_TaskNode.hpp
/usr/include/kokkos/impl/Kokkos_TaskPolicyData.hpp
/usr/include/kokkos/impl/Kokkos_TaskQueue.hpp
/usr/include/kokkos/impl/Kokkos_TaskQueueCommon.hpp
/usr/include/kokkos/impl/Kokkos_TaskQueueMemoryManager.hpp
/usr/include/kokkos/impl/Kokkos_TaskQueueMultiple.hpp
/usr/include/kokkos/impl/Kokkos_TaskQueueMultiple_impl.hpp
/usr/include/kokkos/impl/Kokkos_TaskQueue_impl.hpp
/usr/include/kokkos/impl/Kokkos_TaskResult.hpp
/usr/include/kokkos/impl/Kokkos_TaskTeamMember.hpp
/usr/include/kokkos/impl/Kokkos_Timer.hpp
/usr/include/kokkos/impl/Kokkos_Traits.hpp
/usr/include/kokkos/impl/Kokkos_UnorderedMap_impl.hpp
/usr/include/kokkos/impl/Kokkos_Utilities.hpp
/usr/include/kokkos/impl/Kokkos_VLAEmulation.hpp
/usr/include/kokkos/impl/Kokkos_ViewArray.hpp
/usr/include/kokkos/impl/Kokkos_ViewCtor.hpp
/usr/include/kokkos/impl/Kokkos_ViewFillCopyETIAvail.hpp
/usr/include/kokkos/impl/Kokkos_ViewFillCopyETIDecl.hpp
/usr/include/kokkos/impl/Kokkos_ViewLayoutTiled.hpp
/usr/include/kokkos/impl/Kokkos_ViewMapping.hpp
/usr/include/kokkos/impl/Kokkos_ViewTile.hpp
/usr/include/kokkos/impl/Kokkos_ViewUniformType.hpp
/usr/include/kokkos/impl/Kokkos_Volatile_Load.hpp
/usr/lib64/cmake/Kokkos
/usr/lib64/cmake/Kokkos/KokkosConfig.cmake
/usr/lib64/cmake/Kokkos/KokkosConfigCommon.cmake
/usr/lib64/cmake/Kokkos/KokkosConfigVersion.cmake
/usr/lib64/cmake/Kokkos/KokkosTargets-noconfig.cmake
/usr/lib64/cmake/Kokkos/KokkosTargets.cmake
/usr/lib64/libkokkoscontainers.so
/usr/lib64/libkokkoscore.so
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/kokkos.pc

References

Summary

In this tutorial we learn how to install kokkos-devel on Rocky Linux 8 using yum and dnf.