Index: head/science/ALPSCore/Makefile =================================================================== --- head/science/ALPSCore/Makefile +++ head/science/ALPSCore/Makefile @@ -0,0 +1,43 @@ +# $FreeBSD$ + +PORTNAME= ALPSCore +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.0 +CATEGORIES= science + +MAINTAINER= mike.d.ft402@gmail.com +COMMENT= Generic algorithms and utilities for condensed matter physics + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE.TXT + +LIB_DEPENDS= libboost_system.so:devel/boost-libs \ + libhdf5.so:science/hdf5 \ + libsz.so:science/szip + +USES= cmake:outsource +USE_GITHUB= yes +USE_LDCONFIG= yes +TEST_TARGET= test # 2 to 3 tests fail: https://github.com/ALPSCore/ALPSCore/issues/388 + +CMAKE_ARGS+= -DDocumentation:BOOL=OFF # broken: https://github.com/ALPSCore/ALPSCore/issues/387 +CMAKE_ARGS+= -DTesting:BOOL=OFF # enable only for the 'test' target +CMAKE_ARGS_TEST= -DTesting:BOOL=ON -DExtensiveTesting:BOOL=ON +CXXFLAGS+= -DNDEBUG # see https://github.com/ALPSCore/ALPSCore/issues/389 +LDFLAGS+= -lexecinfo # https://github.com/ALPSCore/ALPSCore/issues/390 + +OPTIONS_DEFINE= OPENMPI2 +OPTIONS_DEFAULT= OPENMPI2 +OPENMPI2_DESC= Parallel processing support via Open MPI 2.x + +OPENMPI2_CMAKE_BOOL= ENABLE_MPI +OPENMPI2_LIB_DEPENDS= libmpi.so:net/openmpi2 +OPENMPI2_VARS= cc=${LOCALBASE}/mpi/openmpi2/bin/mpicc \ + cxx=${LOCALBASE}/mpi/openmpi2/bin/mpicxx + +pre-test: + @cd ${CONFIGURE_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} ${CMAKE_ARGS_TEST} ${CMAKE_SOURCE_PATH} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} + +.include Index: head/science/ALPSCore/distinfo =================================================================== --- head/science/ALPSCore/distinfo +++ head/science/ALPSCore/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1511560982 +SHA256 (ALPSCore-ALPSCore-v1.0.0_GH0.tar.gz) = 2054f47929f3bdb6a0c07fb70e53194f884cdf6c830b737ed5d24312d060b12a +SIZE (ALPSCore-ALPSCore-v1.0.0_GH0.tar.gz) = 1277746 Index: head/science/ALPSCore/pkg-descr =================================================================== --- head/science/ALPSCore/pkg-descr +++ head/science/ALPSCore/pkg-descr @@ -0,0 +1,9 @@ +The open source ALPSCore project, which is based on ALPS (Algorithms and +Libraries for Physics Simulations) project, provides a collection of physics +libraries and applications, with a focus on simulations of lattice models and +strongly correlated systems. This project strives to provide a convenient set of +maintained, well-documented, and reusable components for developing condensed +matter physics simulation code, to help application developers make commonly +used and proven computational algorithms available to a non-expert community. + +WWW: https://github.com/ALPSCore/ALPSCore Index: head/science/ALPSCore/pkg-plist =================================================================== --- head/science/ALPSCore/pkg-plist +++ head/science/ALPSCore/pkg-plist @@ -0,0 +1,131 @@ +include/alps/accumulators.hpp +include/alps/accumulators/accumulator.hpp +include/alps/accumulators/archive_traits.hpp +include/alps/accumulators/convergence.hpp +include/alps/accumulators/feature.hpp +include/alps/accumulators/feature/binning_analysis.hpp +include/alps/accumulators/feature/count.hpp +include/alps/accumulators/feature/error.hpp +include/alps/accumulators/feature/max_num_binning.hpp +include/alps/accumulators/feature/mean.hpp +include/alps/accumulators/feature/weight.hpp +include/alps/accumulators/feature/weight_holder.hpp +include/alps/accumulators/mpi.hpp +include/alps/accumulators/namedaccumulators.hpp +include/alps/accumulators/parameter.hpp +include/alps/accumulators/wrapper_set.hpp +include/alps/accumulators/wrappers.hpp +include/alps/accumulators_.hpp +include/alps/config.hpp +include/alps/gf/flagcheck.hpp +include/alps/gf/fourier.hpp +include/alps/gf/gf.hpp +include/alps/gf/grid.hpp +include/alps/gf/mesh.hpp +include/alps/gf/mpi_bcast.hpp +include/alps/gf/tail.hpp +include/alps/hdf5.hpp +include/alps/hdf5/archive.hpp +include/alps/hdf5/array.hpp +include/alps/hdf5/boost_optional.hpp +include/alps/hdf5/complex.hpp +include/alps/hdf5/config.hpp +include/alps/hdf5/errors.hpp +include/alps/hdf5/map.hpp +include/alps/hdf5/multi_array.hpp +include/alps/hdf5/pair.hpp +include/alps/hdf5/pointer.hpp +include/alps/hdf5/set.hpp +include/alps/hdf5/shared_array.hpp +include/alps/hdf5/tuple.hpp +include/alps/hdf5/valarray.hpp +include/alps/hdf5/vector.hpp +include/alps/mc/api.hpp +include/alps/mc/check_schedule.hpp +include/alps/mc/mcbase.hpp +include/alps/mc/mpiadapter.hpp +include/alps/mc/random01.hpp +include/alps/mc/stop_callback.hpp +include/alps/numeric/boost_array_functions.hpp +include/alps/numeric/boost_multi_array_functions.hpp +include/alps/numeric/check_size.hpp +include/alps/numeric/checked_divide.hpp +include/alps/numeric/inf.hpp +include/alps/numeric/is_zero.hpp +include/alps/numeric/outer_product.hpp +include/alps/numeric/real.hpp +include/alps/numeric/rectangularize.hpp +include/alps/numeric/scalar.hpp +include/alps/numeric/set_negative_0.hpp +include/alps/numeric/special_functions.hpp +include/alps/numeric/vector_functions.hpp +include/alps/params.hpp +include/alps/params/convenience_params.hpp +include/alps/params/option_description_type.hpp +include/alps/params/option_type.hpp +include/alps/params/param_iterators.hpp +include/alps/params/param_types.hpp +include/alps/params/param_types_mpl.hpp +include/alps/params/param_types_ranking.hpp +include/alps/params/params_detail.hpp +include/alps/params/params_impl.hpp +include/alps/params/typeindex.hpp +include/alps/type_traits/average_type.hpp +include/alps/type_traits/change_value_type.hpp +include/alps/type_traits/covariance_type.hpp +include/alps/type_traits/element_type.hpp +include/alps/type_traits/has_value_type.hpp +include/alps/type_traits/is_complex.hpp +include/alps/type_traits/is_scalar.hpp +include/alps/type_traits/is_sequence.hpp +include/alps/type_traits/slice.hpp +include/alps/utilities/boost_mpi.hpp +include/alps/utilities/cast.hpp +include/alps/utilities/get_basename.hpp +include/alps/utilities/get_dirname.hpp +include/alps/utilities/gtest_par_xml_output.hpp +include/alps/utilities/make_copy.hpp +include/alps/utilities/mpi.hpp +include/alps/utilities/mpi_map.hpp +include/alps/utilities/mpi_optional.hpp +include/alps/utilities/mpi_vector.hpp +include/alps/utilities/remove_cvr.hpp +include/alps/utilities/remove_extensions.hpp +include/alps/utilities/short_print.hpp +include/alps/utilities/signal.hpp +include/alps/utilities/size.hpp +include/alps/utilities/stacktrace.hpp +include/alps/utilities/stringify.hpp +include/alps/utilities/temporary_filename.hpp +include/alps/utilities/type_wrapper.hpp +lib/libalps-accumulators.so +lib/libalps-gf.so +lib/libalps-hdf5.so +lib/libalps-mc.so +lib/libalps-params.so +lib/libalps-utilities.so +libdata/pkgconfig/alps-accumulators.pc +libdata/pkgconfig/alps-gf.pc +libdata/pkgconfig/alps-hdf5.pc +libdata/pkgconfig/alps-mc.pc +libdata/pkgconfig/alps-params.pc +libdata/pkgconfig/alps-utilities.pc +share/ALPSCore/ALPSCoreConfig.cmake +share/alps-accumulators/alps-accumulators-%%CMAKE_BUILD_TYPE%%.cmake +share/alps-accumulators/alps-accumulators.cmake +share/alps-accumulators/alps-accumulatorsConfig.cmake +share/alps-gf/alps-gf-%%CMAKE_BUILD_TYPE%%.cmake +share/alps-gf/alps-gf.cmake +share/alps-gf/alps-gfConfig.cmake +share/alps-hdf5/alps-hdf5-%%CMAKE_BUILD_TYPE%%.cmake +share/alps-hdf5/alps-hdf5.cmake +share/alps-hdf5/alps-hdf5Config.cmake +share/alps-mc/alps-mc-%%CMAKE_BUILD_TYPE%%.cmake +share/alps-mc/alps-mc.cmake +share/alps-mc/alps-mcConfig.cmake +share/alps-params/alps-params-%%CMAKE_BUILD_TYPE%%.cmake +share/alps-params/alps-params.cmake +share/alps-params/alps-paramsConfig.cmake +share/alps-utilities/alps-utilities-%%CMAKE_BUILD_TYPE%%.cmake +share/alps-utilities/alps-utilities.cmake +share/alps-utilities/alps-utilitiesConfig.cmake Index: head/science/Makefile =================================================================== --- head/science/Makefile +++ head/science/Makefile @@ -4,6 +4,7 @@ COMMENT = Scientific ports SUBDIR += 2d-rewriter + SUBDIR += ALPSCore SUBDIR += InsightToolkit SUBDIR += R-cran-AMORE SUBDIR += R-cran-DCluster