svn commit: r480230 - in head/science: . py-PyFR

Yuri Victorovich yuri at FreeBSD.org
Fri Sep 21 07:11:13 UTC 2018


Author: yuri
Date: Fri Sep 21 07:11:11 2018
New Revision: 480230
URL: https://svnweb.freebsd.org/changeset/ports/480230

Log:
  New port: science/py-PyFR: Framework for solving advection-diffusion type problems

Added:
  head/science/py-PyFR/
  head/science/py-PyFR/Makefile   (contents, props changed)
  head/science/py-PyFR/distinfo   (contents, props changed)
  head/science/py-PyFR/pkg-descr   (contents, props changed)
Modified:
  head/science/Makefile

Modified: head/science/Makefile
==============================================================================
--- head/science/Makefile	Fri Sep 21 06:59:41 2018	(r480229)
+++ head/science/Makefile	Fri Sep 21 07:11:11 2018	(r480230)
@@ -191,6 +191,7 @@
     SUBDIR += psychopy
     SUBDIR += pulseview
     SUBDIR += py-DendroPy
+    SUBDIR += py-PyFR
     SUBDIR += py-MDAnalysis
     SUBDIR += py-MDAnalysisTests
     SUBDIR += py-OpenFermion

Added: head/science/py-PyFR/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/py-PyFR/Makefile	Fri Sep 21 07:11:11 2018	(r480230)
@@ -0,0 +1,41 @@
+# $FreeBSD$
+
+PORTNAME=	PyFR
+DISTVERSION=	1.7.6
+CATEGORIES=	science python
+MASTER_SITES=	http://www.pyfr.org/download/
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	Framework for solving advection-diffusion type problems
+
+LICENSE=	BSD3CLAUSE
+xLICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.0:devel/py-appdirs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}gimmik>=2.0:math/py-gimmik@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}h5py>=2.6:science/py-h5py@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mako>=1.0.0:textproc/py-mako@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mpi4py>=2.0:net/py-mpi4py@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytools>=2016.2.1:devel/py-pytools@${PY_FLAVOR} \
+		clblas>0:math/clblas \
+		${NUMPY}
+
+USES=		python:3.3+ shebangfix zip
+SHEBANG_FILES=	setup.py pyfr/__main__.py
+USE_PYTHON=	distutils concurrent autoplist
+NO_ARCH=	yes
+
+OPTIONS_MULTI=		MP
+OPTIONS_MULTI_MP=	OPENCL OPENMP # CUDA isn't supported on FreeBSD
+OPTIONS_DEFAULT=	${OPTIONS_MULTI_MP}
+MP_DESC=		Parallelization backend to install
+
+OPENCL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyopencl>0:devel/py-pyopencl@${PY_FLAVOR}
+OPENMP_RUN_DEPENDS=	openmp>0:devel/openmp
+
+post-install: # workaround: https://groups.google.com/forum/#!topic/pyfrmailinglist/RNi_LcizGBo
+	@${RM} ${STAGEDIR}${PREFIX}/__main__.py
+	@${REINPLACE_CMD} 's|^${PREFIX}/__main__\.py||' ${_PYTHONPKGLIST}
+
+.include <bsd.port.mk>

Added: head/science/py-PyFR/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/py-PyFR/distinfo	Fri Sep 21 07:11:11 2018	(r480230)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1537511875
+SHA256 (PyFR-1.7.6.zip) = a21a7127d8e6f0a6d705ed2fd6a8681e7d00e31065fc54cf06a2dd20b049d6dd
+SIZE (PyFR-1.7.6.zip) = 823578

Added: head/science/py-PyFR/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/py-PyFR/pkg-descr	Fri Sep 21 07:11:11 2018	(r480230)
@@ -0,0 +1,20 @@
+PyFR is an open-source Python based framework for solving advection-diffusion
+type problems on streaming architectures using the Flux Reconstruction approach
+of Huynh. The framework is designed to solve a range of governing systems on
+mixed unstructured grids containing various element types. It is also designed
+to target a range of hardware platforms via use of an in-built domain specific
+language derived from the Mako templating engine. The current release has the
+following capabilities:
+* Governing Equations - Euler, Navier Stokes
+* Dimensionality - 2D, 3D
+* Element Types - Triangles, Quadrilaterals, Hexahedra, Prisms, Tetrahedra,
+  Pyramids
+* Platforms - CPU Clusters, Nvidia GPU Clusters, AMD GPU Clusters, Intel Xeon
+  Phi Clusters
+* Spatial Discretisation - High-Order Flux Reconstruction
+* Temporal Discretisation - Explicit and Implicit (via Dual Time-Stepping)
+* Precision - Single, Double
+* Mesh Files Imported - Gmsh (.msh), CGNS (.cgns)
+* Solution Files Exported - Unstructured VTK (.vtu, .pvtu)
+
+WWW: http://www.pyfr.org/


More information about the svn-ports-all mailing list