blob: 78cf428dd0259030f48e8904e79a8789a50e95b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $FreeBSD$
PORTNAME= latte
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.1
PORTREVISION= 1
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
COMMENT= Quantum chemistry: Density functional tight binding molecular dynamics
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE_GPL-2.0
USES= blaslapack:openblas cmake:noninja fortran shebangfix
SHEBANG_FILES= tests/run_test.sh
USE_GITHUB= yes
GH_ACCOUNT= lanl
GH_PROJECT= ${PORTNAME:tu}
USE_LDCONFIG= yes
CMAKE_SOURCE_PATH= ${WRKSRC}/cmake
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_ARGS= -DBLA_VENDOR:STRING="OpenBLAS"
OPTIONS_DEFINE= DBCSR OPENMP MPI # TODO PROGRESS needs to be ported
OPTIONS_DEFAULT= OPENMP MPI
DBCSR_DESC= Use distributed block compressed sparse row matrix library
DBCSR_CMAKE_BOOL= DBCSR_OPT
DBCSR_LIB_DEPENDS= libdbcsr.so:math/dbcsr
DBCSR_BROKEN= see https://github.com/lanl/LATTE/issues/92
OPENMP_CMAKE_BOOL= OPENMP
OPENMP_LIB_DEPENDS= libomp.so:devel/openmp
MPI_CMAKE_BOOL= DO_MPI
MPI_LIB_DEPENDS= libmpi.so:net/openmpi
MPI_LDFLAGS= ${LOCALBASE}/mpi/openmpi/lib/libmpi_mpifh.so
MPI_PLIST_FILES= bin/LATTE_MPI_DOUBLE
MPI_PLIST_FILES_OFF= bin/LATTE_DOUBLE
PLIST_FILES= lib/liblatte.so
CONFLICTS_INSTALL= latte-integrale
.include <bsd.port.mk>
|