From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0A415138350 for ; Sun, 15 Mar 2020 13:37:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32DE7E0F57; Sun, 15 Mar 2020 13:37:25 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15855E0F57 for ; Sun, 15 Mar 2020 13:37:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2984434F05F for ; Sun, 15 Mar 2020 13:37:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D13A017A for ; Sun, 15 Mar 2020 13:37:22 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: <1584279433.3172f57910cedcae8092ea7c748acfe52545c25c.junghans@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/lammps/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/lammps/lammps-20200303.ebuild sci-physics/lammps/metadata.xml X-VCS-Directories: sci-physics/lammps/ X-VCS-Committer: junghans X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: 3172f57910cedcae8092ea7c748acfe52545c25c X-VCS-Branch: master Date: Sun, 15 Mar 2020 13:37:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 51ea6033-56df-423a-a358-1c09e4cd5a2e X-Archives-Hash: 65e126670325e9a2e43e389342643f4f commit: 3172f57910cedcae8092ea7c748acfe52545c25c Author: Christoph Junghans gentoo org> AuthorDate: Sun Mar 15 13:36:50 2020 +0000 Commit: Christoph Junghans gentoo org> CommitDate: Sun Mar 15 13:37:13 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3172f579 sci-physics/lammps: add kokkos support Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Christoph Junghans gentoo.org> sci-physics/lammps/lammps-20200303.ebuild | 5 ++++- sci-physics/lammps/metadata.xml | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sci-physics/lammps/lammps-20200303.ebuild b/sci-physics/lammps/lammps-20200303.ebuild index 025056ed130..b159bd9a946 100644 --- a/sci-physics/lammps/lammps-20200303.ebuild +++ b/sci-physics/lammps/lammps-20200303.ebuild @@ -23,7 +23,7 @@ SRC_URI="https://github.com/lammps/lammps/archive/${MY_PV}.tar.gz -> ${MY_P}.tar LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="cuda examples gzip lammps-memalign mpi netcdf python test" +IUSE="cuda examples gzip kokkos lammps-memalign mpi netcdf python test" RESTRICT="!test? ( test )" DEPEND=" @@ -41,6 +41,7 @@ DEPEND=" sci-libs/fftw:3.0 netcdf? ( sci-libs/netcdf ) cuda? ( >=dev-util/nvidia-cuda-toolkit-4.2.9-r1 ) + kokkos? ( >=dev-cpp/kokkos-3.0.00 ) dev-cpp/eigen:3 " RDEPEND="${DEPEND}" @@ -69,6 +70,8 @@ src_configure() { -DPKG_GRANULAR=ON -DPKG_KSPACE=ON -DFFT=FFTW3 + -DPKG_KOKKOS=$(usex kokkos) + $(use kokkos && echo -DEXTERNAL_KOKKOS=ON) -DPKG_MANYBODY=ON -DPKG_MC=ON -DPKG_MEAM=ON diff --git a/sci-physics/lammps/metadata.xml b/sci-physics/lammps/metadata.xml index be0e36d7abe..274aacacf7b 100644 --- a/sci-physics/lammps/metadata.xml +++ b/sci-physics/lammps/metadata.xml @@ -20,6 +20,7 @@ call instead of malloc() when large chunks or memory are allocated by LAMMPS. Aliengnment is on 16 byte boundaries. Enable cuda non-bonded kernels + Enable kokkos non-bonded kernels nicolasbock@gentoo.org