From owner-svn-ports-all@freebsd.org Mon Sep 3 01:09:22 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32036FCE2C8; Mon, 3 Sep 2018 01:09:22 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D93668F3B4; Mon, 3 Sep 2018 01:09:21 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C5A6820F36; Mon, 3 Sep 2018 01:09:21 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8319Lhx056661; Mon, 3 Sep 2018 01:09:21 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8319LFJ056660; Mon, 3 Sep 2018 01:09:21 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201809030109.w8319LFJ056660@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 3 Sep 2018 01:09:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478838 - head/science/fleur X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/science/fleur X-SVN-Commit-Revision: 478838 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2018 01:09:22 -0000 Author: yuri Date: Mon Sep 3 01:09:21 2018 New Revision: 478838 URL: https://svnweb.freebsd.org/changeset/ports/478838 Log: science/fleur: Add port options for libraries: mpi, scalapack, elpa, hdf5 Modified: head/science/fleur/Makefile Modified: head/science/fleur/Makefile ============================================================================== --- head/science/fleur/Makefile Mon Sep 3 00:21:45 2018 (r478837) +++ head/science/fleur/Makefile Mon Sep 3 01:09:21 2018 (r478838) @@ -2,6 +2,7 @@ PORTNAME= fleur DISTVERSION= 0.27-3 # Release 3 of Version 0.27 +PORTREVISION= 1 CATEGORIES= science MASTER_SITES= http://www.flapw.de/pm/uploads/FLEUR/ DISTNAME= fleurMaXR${DISTVERSION:C/.*-//} @@ -17,7 +18,38 @@ LIB_DEPENDS= libopenblas.so:math/openblas USES= cmake:outsource,noninja fortran localbase:ldflags tar:tgz USE_GNOME= libxml2 +FFLAGS= -I${LOCALBASE}/include + WRKSRC= ${WRKDIR}/${PORTNAME} + +OPTIONS_DEFINE= HDF5 MPI SCALAPACK ELPA +OPTIONS_DEFAULT= MPI SCALAPACK ELPA + +HDF5_CONFIGURE_ENV= FLEUR_USE_HDF5=1 HDF5_ROOT=${LOCALBASE}/lib +HDF5_CONFIGURE_ENV_OFF= FLEUR_USE_HDF5=0 +HDF5_CMAKE_ARGS= -DHDF5_INCLUDE_DIRS=${LOCALBASE}/include +HDF5_LDFLAGS= -lhdf5 +HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 +HDF5_BROKEN= Missing hdf5.mod in hdf5 + +MPI_CONFIGURE_ENV= FLEUR_USE_MPI=1 +MPI_CONFIGURE_ENV_OFF= FLEUR_USE_MPI=0 +MPI_LDFLAGS= -lmpich +MPI_LIB_DEPENDS= libmpich.so:net/mpich2 +MPI_PLIST_FILES= bin/fleur_MPI + +SCALAPACK_DESC= Use the ScaLAPACK Scalable LAPACK library +SCALAPACK_CMAKE_BOOL= FREEBSD_USE_SCALAPACK +SCALAPACK_LDFLAGS= -lscalapack +SCALAPACK_LIB_DEPENDS= libscalapack.so:math/scalapack +SCALAPACK_IMPLIES= MPI + +ELPA_DESC= Use libelpa, Eigenvalue SoLver for Petaflop Applications +ELPA_CMAKE_BOOL= FREEBSD_USE_ELPA +ELPA_VARS= FFLAGS+=-I${LOCALBASE}/include/elpa-2018.05.001/modules +ELPA_LDFLAGS= -lelpa +ELPA_LIB_DEPENDS= libelpa.so:math/elpa +ELPA_IMPLIES= MPI PLIST_FILES= bin/fleur \ bin/inpgen