Skip to content
Permalink
Browse files

abinit: Update to 8.10.2.

  • Loading branch information
dstrubbe committed Apr 7, 2019
1 parent 1335264 commit a99dfed4e1852c73ed7a67fc7a4dca6034ff0310
Showing with 10 additions and 12 deletions.
  1. +10 −12 science/abinit/Portfile
@@ -5,8 +5,7 @@ PortGroup mpi 1.0
PortGroup linear_algebra 1.0

name abinit
version 8.8.3
revision 1
version 8.10.2
categories science
platforms darwin
license GPL-3
@@ -32,9 +31,10 @@ long_description ABINIT is a package whose main program allows one to find th
homepage https://www.abinit.org
master_sites ${homepage}/sites/default/files/packages

checksums rmd160 575f25a1853a6974caff1422747130a2323003a3 \
sha256 cceb397d1c8b81dc616e65bfb2986a8a1764e59be98e3c887b0392dfba0d4652 \
size 82567680
checksums rmd160 b47a865dc6a321ea5b66e4df4173f2ce93dacbe1 \
sha256 4ee2e0329497bf16a9b2719fe0536cc50c5d5a07c65e18edaf15ba02251cbb73 \
size 88370836


compilers.choose cc cxx fc
# g95 is no longer supported by abinit
@@ -117,13 +117,8 @@ test.cmd tests/runtests.py
test.target built-in fast tutorespfn tutorial unitary
#test.target built-in fast tutorespfn tutorial unitary v1 v2 v3 v4 v5 v6 v67mbpt v7

# for +scalapack +atlas -libxc:
# hang in test [v2][t79].
# :info:test [tutorial][tspin_6][np=1]: failed: absolute error 2.7e-08 > 2.5e-08

# other config options to add:
# --enable-mpi-inplace
# --with-atompaw-libs; --with-atompaw-incs

pre-test {
if {[mpi_variant_isset]} {
@@ -173,7 +168,7 @@ variant netcdf description {Build with support for NetCDF transferable I/O} {
# add support for gsl, yaml?

variant libxc description {Build with support for libXC exchange-correlation library} {
# configure explicitly forbids libxc > 4.0.0 for some reason
# configure says Fortran support doesn't work for libxc > 4.0.0 for some reason
depends_lib-append port:libxc
compilers.enforce_fortran libxc
configure.args-append --with-libxc-incs="-I${prefix}/include"
@@ -189,14 +184,14 @@ variant scalapack description {Build with ScaLAPACK for parallel linear algebra}
return -code error "+scalapack requires an MPI variant."
}

mpi.setup require
mpi.enforce_variant scalapack
}

variant wannier90 description {Build with support for Wannier90} {
depends_lib-append port:wannier90
test.target-append wannier90 tutoplugs vdwxc
}
# tests fail: [wannier90][t00][np=1]: fldiff.pl fatal error

# FIXME: the code's build system will download BigDFT itself, which is contrary to the
# way MacPorts should work. Make a bigdft port to support this.
@@ -212,6 +207,9 @@ variant wannier90 description {Build with support for Wannier90} {

# FIXME: same problem as for BigDFT, it gets downloaded. Make a separate port.
#variant atompaw description {Build including AtomPAW atomic dataset generator} {
# depends_lib-append port:atompaw
# configure.args-append --enable-atompaw --with-atompaw-bins=${prefix} --with-atompaw-incs=-I${prefix} --with-atompaw-libs=-L${prefix}
# test.target-append atompaw
#}

livecheck.type regex

0 comments on commit a99dfed

Please sign in to comment.
You can’t perform that action at this time.