Hi,
On compiling the LAMMPS (5 June 2019) with KOKKOS cuda, I get the following warnings in several files:
src/KOKKOS/pair_tersoff_zbl_kokkos.cpp(351): warning: calling a host function from a host device function is not allowed
The build proceeds to completion. Is this a known issue?
I am using gcc 7.4 and cmake 3.16.2, cuda 10.1.243 and my configure command is:
cmake -D CMAKE_BUILD_TYPE=Release -DBUILD_MPI=yes -DLAMMPS_MACHINE=mpikokkoscuda -DPKG_MANYBODY=yes -DPKG_KOKKOS=yes -DKOKKOS_ARCH=“HSW;Volta70” -DKOKKOS_ENABLE_CUDA=yes -DKOKKOS_ENABLE_OPENMP=yes -DPKG_USER-MEAMC=yes -DCMAKE_CXX_COMPILER=/gpfs/fs1/nvydyanathan/LAMMPS/mylammps/lib/kokkos/bin/nvcc_wrapper …/cmake
regards,
Naga