From nobody Fri Aug 26 07:53:16 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MDXBh2R3Nz4ZWX2; Fri, 26 Aug 2022 07:53:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MDXBh1rz6z3hBw; Fri, 26 Aug 2022 07:53:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661500396; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZdrsA9WaSExPWtgoDOH/PidD1Jxtp3+dgRJZCCWm0yM=; b=k2MSdW8ld1Jw5YR0XLJShIQhk/zkLqvHaGO6nW7JERq2QduewZf8v81ERTBdBeexUWkyfS Y8CCNphKl1QIJ9ncGO86yJ4FES+rSBKPsA+EW53R3FcvX4QNSMRqaNVPEiU1kssYqA+crm QzH4FclbrwT34MejPvAYIfrZaRiiCxVr72h4OMYqY1HFVExe8zNhuzLv4KuEx87jtk6Lbl /gXAQyor18INRHaxZudGcZ5j0C5kHTu4cDifFfJ0ko+V9kOtApm/NcMV5TpApE6IYFLAb6 duhB2Rpvt2OqS+D86fSFUSumJC8pTimeM6nF4iOUyvCz7bZx22J0/B40/hs4tA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MDXBh0tnpzKwk; Fri, 26 Aug 2022 07:53:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27Q7rGFq058928; Fri, 26 Aug 2022 07:53:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27Q7rGTw058927; Fri, 26 Aug 2022 07:53:16 GMT (envelope-from git) Date: Fri, 26 Aug 2022 07:53:16 GMT Message-Id: <202208260753.27Q7rGTw058927@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 867a79859dec - main - math/spfft: New port: Sparse 3D FFT library List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 867a79859decd999d7aeed0e2a4e896ed372a0cb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661500396; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZdrsA9WaSExPWtgoDOH/PidD1Jxtp3+dgRJZCCWm0yM=; b=FjMYbF4+M/dFuRb122TuFcqaJZ4bl8SeUTgg8tnFEzLMm05aGYxz/haGsKQOPoA1hWLOvp oTefEmboBDzZxKddIAV7yVyEo0YUn/GxYDy4X9cmRyBgrvZ/UCrYYSXIfShF5JiQqQ9qfq jKwQn29vnQLcMjAZkvtV3CAyvb0htimbu9i9wzUFb4Qydne7oxeteirr27jH45a+7oJeD7 U/HdAJOTI03NgkW76Jlc3r3LWyHt60KJ+Fm9OA9rrk851+VIuionvw/YShhjJPUh5HElB7 pa6ZqVmQa7asqno/LJCaLfC5tt1w0iT2SPZ45qf5e7xzJRKpdBmGI29fGNeP3g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661500396; a=rsa-sha256; cv=none; b=ph9EW+fhzXqV2ZnBbj7eH2eO38XhzcoLsYzvhcREey71NMiJJ+hqj9plhHzlVxGo4DvaLX ZKh7tCRH8KHrs0Tp4EmsFFYWekFr9t7in9jvD9VR5fwigsA9oRtiEWuOeOfm2Vyk3Sy8Zq YaGShKakaiNTOoLhWZwvR/GXxjoI+qZtgEeS0juAGWfq/v757vtX0Lldph4nVR35c4T1dZ MIldFPmoR8YRM3Acvh963QNdHm9uESjquO3KBV2XntwHGCLLJsfo8U17Q3EilIixaJ66Z9 PtYtezxthA9WwCiJKXx37Db1yj29fIlqP9U+8vN4VgPibY6NQKQM6pszfZ3bNA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=867a79859decd999d7aeed0e2a4e896ed372a0cb commit 867a79859decd999d7aeed0e2a4e896ed372a0cb Author: Yuri Victorovich AuthorDate: 2022-08-26 07:52:35 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-26 07:53:13 +0000 math/spfft: New port: Sparse 3D FFT library --- math/Makefile | 1 + math/spfft/Makefile | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ math/spfft/distinfo | 3 +++ math/spfft/pkg-descr | 4 ++++ math/spfft/pkg-plist | 39 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 96 insertions(+) diff --git a/math/Makefile b/math/Makefile index b2859d659b91..e60a503a6fd2 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1062,6 +1062,7 @@ SUBDIR += spblas SUBDIR += spectra SUBDIR += speedcrunch + SUBDIR += spfft SUBDIR += spooles SUBDIR += spooles-mpich SUBDIR += spot diff --git a/math/spfft/Makefile b/math/spfft/Makefile new file mode 100644 index 000000000000..cf97f37f8391 --- /dev/null +++ b/math/spfft/Makefile @@ -0,0 +1,49 @@ +PORTNAME= spfft +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.6 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Sparse 3D FFT library + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libfftw3.so:math/fftw3 + +USES= cmake:testing compiler:c++11-lang +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= eth-cscs +GH_PROJECT= SpFFT + +CMAKE_TESTING_ON= SPFFT_BUILD_TESTS +CMAKE_TESTING_TARGET= ${ALL_TARGET} + +OPTIONS_DEFINE= FORTRAN OPENMP +OPTIONS_SINGLE= MPI +OPTIONS_SINGLE_MPI= NOMPI MPICH OPENMPI +OPTIONS_DEFAULT= FORTRAN MPICH OPENMP +OPTIONS_SUB= yes + +FORTRAN_USES= fortran +FORTRAN_CMAKE_BOOL= SPFFT_FORTRAN + +NOMPI_DESC= Build without parallel processing support +NOMPI_CMAKE_ON= -DSPFFT_MPI=OFF + +MPICH_USES= mpi:mpich +MPICH_CMAKE_ON= -DSPFFT_MPI=ON + +OPENMPI_USES= mpi:openmpi +OPENMPI_CMAKE_ON= -DSPFFT_MPI=ON + +OPENMP_CMAKE_BOOL= SPFFT_OMP + +post-test: + @cd ${BUILD_WRKSRC}/tests && \ + ./run_local_tests && \ + ./run_mpi_tests + +.include diff --git a/math/spfft/distinfo b/math/spfft/distinfo new file mode 100644 index 000000000000..d8a73a3d50d6 --- /dev/null +++ b/math/spfft/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1661499073 +SHA256 (eth-cscs-SpFFT-v1.0.6_GH0.tar.gz) = d179ccdce65890587d0cbf72dc2e5ec0b200ffc56e723ed01a2f5063de6a8630 +SIZE (eth-cscs-SpFFT-v1.0.6_GH0.tar.gz) = 372347 diff --git a/math/spfft/pkg-descr b/math/spfft/pkg-descr new file mode 100644 index 000000000000..98faf94b8cc1 --- /dev/null +++ b/math/spfft/pkg-descr @@ -0,0 +1,4 @@ +SpFFT - A 3D FFT library for sparse frequency domain data written in C++ with +support for MPI, OpenMP, CUDA and ROCm. + +WWW: https://github.com/eth-cscs/SpFFT diff --git a/math/spfft/pkg-plist b/math/spfft/pkg-plist new file mode 100644 index 000000000000..e94027231b25 --- /dev/null +++ b/math/spfft/pkg-plist @@ -0,0 +1,39 @@ +include/spfft/config.h +include/spfft/errors.h +include/spfft/exceptions.hpp +include/spfft/grid.h +include/spfft/grid.hpp +include/spfft/grid_float.h +include/spfft/grid_float.hpp +include/spfft/multi_transform.h +include/spfft/multi_transform.hpp +include/spfft/multi_transform_float.h +include/spfft/multi_transform_float.hpp +include/spfft/spfft.f90 +include/spfft/spfft.h +include/spfft/spfft.hpp +%%FORTRAN%%include/spfft/spfft.mod +include/spfft/spfft_export.h +include/spfft/transform.h +include/spfft/transform.hpp +include/spfft/transform_float.h +include/spfft/transform_float.hpp +include/spfft/types.h +lib/cmake/SpFFT/SpFFTConfig.cmake +lib/cmake/SpFFT/SpFFTConfigVersion.cmake +lib/cmake/SpFFT/SpFFTSharedConfig.cmake +lib/cmake/SpFFT/SpFFTSharedConfigVersion.cmake +lib/cmake/SpFFT/SpFFTSharedTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/SpFFT/SpFFTSharedTargets.cmake +lib/cmake/SpFFT/SpFFTTargets.cmake +lib/cmake/SpFFT/modules/FindARMPL.cmake +lib/cmake/SpFFT/modules/FindFFTW.cmake +lib/cmake/SpFFT/modules/FindFFTWF.cmake +lib/cmake/SpFFT/modules/FindHIP.cmake +lib/cmake/SpFFT/modules/FindHIP/run_hipcc.cmake +lib/cmake/SpFFT/modules/FindHIP/run_make2cmake.cmake +lib/cmake/SpFFT/modules/FindMKLSequential.cmake +lib/libspfft.so +lib/libspfft.so.1 +lib/libspfft.so.1.0.6 +libdata/pkgconfig/SpFFT.pc