Ticket #51570: Portfile-abinit.diff

File Portfile-abinit.diff, 2.0 KB (added by cram5431@…, 8 years ago)
  • Portfile

    old new  
    66PortGroup           linear_algebra 1.0
    77
    88name                abinit
    9 version             7.10.5
    10 revision            4
     9version             8.0.7
    1110categories          science
    1211platforms           darwin
    1312license             GPL-3
     
    3332homepage            http://www.abinit.org
    3433master_sites        http://ftp.abinit.org/
    3534
    36 checksums           rmd160  f77a9db5bcd97bcc46ea11a96bbf8f17cb1a19b3 \
    37                     sha256  e9376a3e34790bce90992f28e5fa8554b51ba467bf5709c7fd25d300e7c4f56a
     35checksums           rmd160  b1992e1cb040d06224b3ff5a199352921203a340 \
     36                    sha256  9df2fe572af39cef937a4134d569321b99c6670f187edbac9b355ff2defd5afc
    3837
    3938compilers.choose    cc cxx fc
    40 # g95 is not compatible with OpenMP, and support will be removed in the next version
     39# g95 is no more supported by abinit
    4140mpi.setup           default require_fortran -g95
    4241
    4342configure.args-append  --enable-gw-dpc
     
    5049# but did not provide the libraries. That situation should never happen for this port.
    5150#build.target        multi multi_nprocs=4
    5251
    53 default_variants +etsf_io +libxc
     52default_variants +etsf_io +libxc +wannier90
    5453
    55 patchfiles patch-src-10_defs-defs_wannier90.F90.diff
     54#Patch needed to link with libXC 2.1
     55patchfiles patch-configure.diff
    5656
    5757pre-configure {
    5858    if {[fortran_variant_name] eq "g95"} {
     
    141141
    142142# other config options to add:
    143143# --enable-mpi-inplace
    144 # --with-atompaw-libs; --with-atompaw-incs
    145144
    146145pre-test {
    147146    if {[mpi_variant_isset]} {
     
    230229
    231230#variant bigdft description {Build with support for the wavelet BigDFT library} {
    232231    # avoid this error (and equivalent with OpenCL)
    233     # :info:build ar cru libCUDA.a 
     232    # :info:build ar cru libCUDA.a
    234233    # :info:build ar: no archive members specified
    235234#    patchfiles-append       patch-fallbacks-sources-bigdft-1.7.0.93-src-Makefile.in.diff
    236235#}