sci-libs/wannier90 - 4.0.2 (phackerlay)

Search

Install

Install this version:

emerge -a =sci-libs/wannier90-4.0.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-libs/wannier90-4.0.2

Or alternatively:

emerge --autounmask-write -a =sci-libs/wannier90-4.0.2

Package Information

Description:
Package for generating maximally-localized Wannier functions
Homepage:
https://wannier.org
License:
LGPL-2.1+

Ebuild Details

Version EAPI Keywords Slot
4.0.2 8 ~amd64 0
View Raw Ebuild
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="Package for generating maximally-localized Wannier functions"
HOMEPAGE="https://wannier.org"

SRC_URI="https://github.com/wannier-developers/wannier90/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"

LICENSE="LGPL-2.1+"
IUSE="mpi"
SLOT="0"

DEPEND="
	sci-libs/flexiblas[system-blas]
        mpi? ( virtual/mpi[fortran] >=sys-devel/gcc-12 )
	!mpi? ( >=sys-devel/gcc-12[fortran] )
"

BDEPEND="
"


src_configure() {
#		echo "FCOPTS = -fallow-argument-mismatch -fPIC" >> ${S}/make.inc
        local mycmakeargs=(
		-DWANNIER90_WITH_C=ON
		-DWANNIER90_SHARED_LIBS=ON
		-DWANNIER90_MPI="$(usex mpi ON OFF)"
        )
        cmake_src_configure
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-libs/wannier90 | euse -E <flag> -p sci-libs/wannier90 | euse -D <flag> -p sci-libs/wannier90

Global/Standard Flags

mpi

Inherited Eclasses

Dependencies

DEPEND

	sci-libs/flexiblas[system-blas]
        mpi? ( virtual/mpi[fortran] >=sys-devel/gcc-12 )
	!mpi? ( >=sys-devel/gcc-12[fortran] )

BDEPEND


    

Manifest for 4.0.2

Type File Size Source URLs
DIST wannier90-4.0.2.tar.gz 246694521 bytes https://github.com/wannier-developers/wannier90/archive/refs/tags/v4.0.2.tar.gz