diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2019-07-28 10:26:50 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2019-07-28 10:26:50 +0000 |
commit | 1c4b8dcbea7de04627dcb7c304bb590b054fa44c (patch) | |
tree | 899afc52ad4b154d393ae925ef1497d1cb515822 /misc/adios2 | |
parent | 01107771c86fcdcb8dc4f32f5d2e4c8c25984ba7 (diff) | |
download | freebsd-ports-1c4b8dcbea7de04627dcb7c304bb590b054fa44c.zip |
New port: misc/adios2: Next generation of ADIOS developed in the Exascale Computing Program
Diffstat (limited to 'misc/adios2')
-rw-r--r-- | misc/adios2/Makefile | 32 | ||||
-rw-r--r-- | misc/adios2/distinfo | 3 | ||||
-rw-r--r-- | misc/adios2/files/patch-source_adios2_toolkit_profiling_taustubs_tautimer.cpp | 30 | ||||
-rw-r--r-- | misc/adios2/pkg-descr | 21 | ||||
-rw-r--r-- | misc/adios2/pkg-plist | 136 |
5 files changed, 222 insertions, 0 deletions
diff --git a/misc/adios2/Makefile b/misc/adios2/Makefile new file mode 100644 index 000000000000..34a523fecd16 --- /dev/null +++ b/misc/adios2/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= adios2 +DISTVERSIONPREFIX= v +DISTVERSION= 2.4.0 +CATEGORIES= misc science + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Next generation of ADIOS developed in the Exascale Computing Program + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= bash:shells/bash +LIB_DEPENDS= libblosc.so:archivers/c-blosc \ + libfabric.so:net/libfabric \ + libffi.so:devel/libffi \ + libmpi.so:net/openmpi \ + libpng16.so:graphics/png \ + libzfp.so:devel/zfp +RUN_DEPENDS= bash:shells/bash + +USES= bison cmake pkgconfig perl5 python shebangfix +SHEBANG_FILES= cmake/install/post/adios2-config.pre.sh.in cmake/install/post/generate-adios2-config.sh.in source/utils/bp4dbg/bp4dbg.py +USE_GITHUB= yes +GH_ACCOUNT= ornladios +GH_PROJECT= ADIOS2 +USE_LDCONFIG= yes + +CMAKE_OFF= BUILD_TESTING + +.include <bsd.port.mk> diff --git a/misc/adios2/distinfo b/misc/adios2/distinfo new file mode 100644 index 000000000000..dbe84cbf4364 --- /dev/null +++ b/misc/adios2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1564305208 +SHA256 (ornladios-ADIOS2-v2.4.0_GH0.tar.gz) = 50ecea04b1e41c88835b4b3fd4e7bf0a0a2a3129855c9cc4ba6cf6a1575106e2 +SIZE (ornladios-ADIOS2-v2.4.0_GH0.tar.gz) = 5563369 diff --git a/misc/adios2/files/patch-source_adios2_toolkit_profiling_taustubs_tautimer.cpp b/misc/adios2/files/patch-source_adios2_toolkit_profiling_taustubs_tautimer.cpp new file mode 100644 index 000000000000..e1a83f26c3c0 --- /dev/null +++ b/misc/adios2/files/patch-source_adios2_toolkit_profiling_taustubs_tautimer.cpp @@ -0,0 +1,30 @@ +--- source/adios2/toolkit/profiling/taustubs/tautimer.cpp.orig 2019-07-28 09:15:02 UTC ++++ source/adios2/toolkit/profiling/taustubs/tautimer.cpp +@@ -21,6 +21,9 @@ + #include <sys/syscall.h> + #include <sys/types.h> + #include <thread> ++#if defined(__FreeBSD__) || defined(__DragonFly__) ++#include <pthread_np.h> ++#endif + + /* Clean assertion handling */ + inline void _tautimer_assert(const char *expression, const char *file, int line) +@@ -204,6 +207,8 @@ TauTimer::TauTimer(void) : initialized(false) + #if defined(__APPLE__) && defined(__MACH__) + // why should Apple support gettid? BE DIFFERENT, BABY! + pthread_threadid_np(NULL, &mytid); ++#elif defined(__FreeBSD__) || defined(__DragonFly__) ++ mytid = pthread_getthreadid_np(); + #else + mytid = (uint64_t)syscall(__NR_gettid); + #endif +@@ -232,6 +237,8 @@ inline void TauTimer::_RegisterThread(void) + #if defined(__APPLE__) && defined(__MACH__) + // why should Apple support gettid? BE DIFFERENT, BABY! + pthread_threadid_np(NULL, &mytid); ++#elif defined(__FreeBSD__) || defined(__DragonFly__) ++ mytid = pthread_getthreadid_np(); + #else + mytid = (uint64_t)syscall(__NR_gettid); + #endif diff --git a/misc/adios2/pkg-descr b/misc/adios2/pkg-descr new file mode 100644 index 000000000000..ca1a069ed9a2 --- /dev/null +++ b/misc/adios2/pkg-descr @@ -0,0 +1,21 @@ +The Adaptable Input/Output (I/O) System, ADIOS 2 is developed as part of the +United States Department of Energy's Exascale Computing Program. + +ADIOS 2 is a framework designed for scientific data I/O to publish and subscribe +(put/get) data when and where required. + +ADIOS 2 transports data as groups of self-describing variables and attributes +across different media types (such as files, wide-area-networks, and remote +direct memory access) using a common application programming interface for all +transport modes. ADIOS 2 can be used on supercomputers, commercial clouds, and +personal computers. + +ADIOS 2 focuses on: +* Performance I/O scalability in high performance computing (HPC) applications. +* Adaptability unified interfaces to allow for several modes of transport + (files, memory-to-memory) +* Ease of Use two-level application programming interface (APIs) +* Full APIs for HPC applications: C++11, Fortran 90, C 99, Python 2 and 3 +* Simplified High-Level APIs for data analysis: Python 2 and 3, C++11, Matlab + +WWW: https://github.com/ornladios/ADIOS2 diff --git a/misc/adios2/pkg-plist b/misc/adios2/pkg-plist new file mode 100644 index 000000000000..fae5d8023cb8 --- /dev/null +++ b/misc/adios2/pkg-plist @@ -0,0 +1,136 @@ +bin/adios2-config +bin/adios_iotest +bin/adios_reorganize +bin/bp4dbg/bp4dbg.py +bin/bp4dbg/bp4dbg_data.py +bin/bp4dbg/bp4dbg_idxtable.py +bin/bp4dbg/bp4dbg_metadata.py +bin/bp4dbg/bp4dbg_utils.py +bin/bpls +bin/sst_conn_tool +include/adios2.h +include/adios2/c/adios2_c_adios.h +include/adios2/c/adios2_c_attribute.h +include/adios2/c/adios2_c_engine.h +include/adios2/c/adios2_c_io.h +include/adios2/c/adios2_c_operator.h +include/adios2/c/adios2_c_types.h +include/adios2/c/adios2_c_variable.h +include/adios2/common/ADIOSConfig.h +include/adios2/common/ADIOSMacros.h +include/adios2/common/ADIOSTypes.h +include/adios2/common/ADIOSTypes.inl +include/adios2/cxx11/ADIOS.h +include/adios2/cxx11/ADIOS.inl +include/adios2/cxx11/Attribute.h +include/adios2/cxx11/Engine.h +include/adios2/cxx11/IO.h +include/adios2/cxx11/Operator.h +include/adios2/cxx11/Types.h +include/adios2/cxx11/Variable.h +include/adios2/cxx11/fstream/ADIOS2fstream.h +include/adios2/toolkit/sst/SSTConfig.h +include/adios2_c.h +lib/cmake/adios2/CMakeFindDependencyMacro.cmake +lib/cmake/adios2/FindBZip2.cmake +lib/cmake/adios2/FindBlosc.cmake +lib/cmake/adios2/FindCrayDRC.cmake +lib/cmake/adios2/FindHDF5.cmake +lib/cmake/adios2/FindLIBFABRIC.cmake +lib/cmake/adios2/FindMGARD.cmake +lib/cmake/adios2/FindMPI.cmake +lib/cmake/adios2/FindPkgConfig.cmake +lib/cmake/adios2/FindPythonFull.cmake +lib/cmake/adios2/FindPythonModule.cmake +lib/cmake/adios2/FindSZ.cmake +lib/cmake/adios2/FindZFP.cmake +lib/cmake/adios2/FindZeroMQ.cmake +lib/cmake/adios2/adios2-config-common.cmake +lib/cmake/adios2/adios2-config-version.cmake +lib/cmake/adios2/adios2-config.cmake +lib/cmake/adios2/adios2-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/adios2/adios2-targets.cmake +lib/cmake/adios2/thirdparty/EVPathConfig.cmake +lib/cmake/adios2/thirdparty/EVPathConfigCommon.cmake +lib/cmake/adios2/thirdparty/EVPathConfigVersion.cmake +lib/cmake/adios2/thirdparty/EVPathTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/adios2/thirdparty/EVPathTargets.cmake +lib/cmake/adios2/thirdparty/FindBinUtils.cmake +lib/cmake/adios2/thirdparty/FindCERCSProject.cmake +lib/cmake/adios2/thirdparty/FindIBVERBS.cmake +lib/cmake/adios2/thirdparty/FindLIBFABRIC.cmake +lib/cmake/adios2/thirdparty/FindLibFFI.cmake +lib/cmake/adios2/thirdparty/FindNNTI.cmake +lib/cmake/adios2/thirdparty/FindNVML.cmake +lib/cmake/adios2/thirdparty/FindPkgConfig.cmake +lib/cmake/adios2/thirdparty/atl-config-version.cmake +lib/cmake/adios2/thirdparty/atl-config.cmake +lib/cmake/adios2/thirdparty/atl-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/adios2/thirdparty/atl-targets.cmake +lib/cmake/adios2/thirdparty/dill-config-common.cmake +lib/cmake/adios2/thirdparty/dill-config-version.cmake +lib/cmake/adios2/thirdparty/dill-config.cmake +lib/cmake/adios2/thirdparty/dill-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/adios2/thirdparty/dill-targets.cmake +lib/cmake/adios2/thirdparty/enet-config-version.cmake +lib/cmake/adios2/thirdparty/enet-config.cmake +lib/cmake/adios2/thirdparty/enet-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/adios2/thirdparty/enet-targets.cmake +lib/cmake/adios2/thirdparty/ffs-config-version.cmake +lib/cmake/adios2/thirdparty/ffs-config.cmake +lib/cmake/adios2/thirdparty/ffs-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/adios2/thirdparty/ffs-targets.cmake +lib/cmake/adios2/thirdparty/upstream/FindPkgConfig.cmake +lib/cmake/adios2/upstream/CMakeFindDependencyMacro.cmake +lib/cmake/adios2/upstream/FindBZip2.cmake +lib/cmake/adios2/upstream/FindHDF5.cmake +lib/cmake/adios2/upstream/FindMPI.cmake +lib/cmake/adios2/upstream/FindMPI/fortranparam_mpi.f90.in +lib/cmake/adios2/upstream/FindMPI/libver_mpi.c +lib/cmake/adios2/upstream/FindMPI/libver_mpi.f90.in +lib/cmake/adios2/upstream/FindMPI/mpiver.f90.in +lib/cmake/adios2/upstream/FindMPI/test_mpi.c +lib/cmake/adios2/upstream/FindMPI/test_mpi.cxx +lib/cmake/adios2/upstream/FindMPI/test_mpi.f90.in +lib/cmake/adios2/upstream/FindMPI/test_mpi_c.cxx +lib/cmake/adios2/upstream/FindPkgConfig.cmake +lib/cmake/adios2/upstream/GoogleTest.cmake +lib/libadios2.so +lib/libadios2.so.2 +lib/libadios2.so.2.4.0 +lib/libadios2_atl.so +lib/libadios2_atl.so.2 +lib/libadios2_atl.so.2.2.1 +lib/libadios2_cmenet.so +lib/libadios2_cmfabric.so +lib/libadios2_cmib.so +lib/libadios2_cmmulticast.so +lib/libadios2_cmselect.so +lib/libadios2_cmsockets.so +lib/libadios2_cmudp.so +lib/libadios2_dill.so +lib/libadios2_dill.so.2 +lib/libadios2_dill.so.2.4.0 +lib/libadios2_enet.so +lib/libadios2_enet.so.1 +lib/libadios2_enet.so.1.3.14 +lib/libadios2_evpath.so +lib/libadios2_ffs.so +lib/libadios2_ffs.so.1 +lib/libadios2_ffs.so.1.6.0 +lib/libadios2_sst.so +lib/libadios2_sst.so.2 +lib/libadios2_sst.so.2.4.0 +lib/libtaustubs.so +share/iotest-config/coupling2.xml +share/iotest-config/coupling2_blocking_01_simple.txt +share/iotest-config/coupling2_blocking_02_dump_result.txt +share/iotest-config/pipe2.xml +share/iotest-config/pipe2_01_simple.txt +share/iotest-config/pipe2_02_link.txt +share/iotest-config/pipe2_03_conditional.txt +share/iotest-config/pipe2_04_nonblocking.txt +share/iotest-config/pipe2_05_add_variables.txt +share/iotest-config/pipe2_06_busy.txt +share/iotest-config/wf_2_to_1.txt +share/iotest-config/wf_2_to_1.xml |