math/hydrogen: update 1.5.2 → 1.5.3

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2023-11-08 15:29:30 -08:00
parent 7daaa468be
commit 806cc93954
5 changed files with 36 additions and 16 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= hydrogen PORTNAME= hydrogen
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
DISTVERSION= 1.5.2 DISTVERSION= 1.5.3
CATEGORIES= math CATEGORIES= math
PKGNAMESUFFIX= -linear-algebra PKGNAMESUFFIX= -linear-algebra
@ -10,31 +10,32 @@ WWW= https://github.com/LLNL/Elemental
LICENSE= BSD2CLAUSE LICENSE= BSD2CLAUSE
BUILD_DEPENDS= cereal>0:devel/cereal BUILD_DEPENDS= cereal>0:devel/cereal \
half>0:math/half
LIB_DEPENDS= libopenblas.so:math/openblas LIB_DEPENDS= libopenblas.so:math/openblas
RUN_DEPENDS= half>0:math/half
USES= cmake:testing compiler:c++17-lang USES= cmake:testing compiler:c++17-lang localbase:ldflags
USE_GITHUB= yes USE_GITHUB= yes
GH_ACCOUNT= LLNL GH_ACCOUNT= LLNL
GH_PROJECT= Elemental GH_PROJECT= Elemental
CMAKE_ON= BUILD_SHARED_LIBS CMAKE_ON= BUILD_SHARED_LIBS \
Hydrogen_ENABLE_HALF \
Hydrogen_ENABLE_MPC \
Hydrogen_ENABLE_QD
#Hydrogen_ENABLE_ALUMINUM # depends on OpenMPI - so we disable it for now
CMAKE_OFF= Hydrogen_ENABLE_TESTING CMAKE_OFF= Hydrogen_ENABLE_TESTING
CMAKE_TESTING_ON= Hydrogen_ENABLE_TESTING # not clear how to run tests, see https://github.com/LLNL/Elemental/issues/156 CMAKE_TESTING_ON= Hydrogen_ENABLE_TESTING
CMAKE_TESTING_TARGET= CMAKE_TESTING_TARGET= test
OPTIONS_SINGLE= MPI OPTIONS_SINGLE= MPI
OPTIONS_SINGLE_MPI= MPICH OPENMPI OPTIONS_SINGLE_MPI= MPICH OPENMPI
OPTIONS_DEFINE= MPC
OPTIONS_DEFAULT= MPICH # should be same as in misc/lbann OPTIONS_DEFAULT= MPICH # should be same as in misc/lbann
MPICH_USES= mpi:mpich MPICH_USES= mpi:mpich
MPC_DESC= Use MPC(+MPFR+GMP) library and enable related features
MPC_CMAKE_BOOL= Hydrogen_ENABLE_MPC
MPC_BROKEN= fails to enable: Disabling MPFR since MPI_LONG_LONG was not detected
OPENMPI_USES= mpi:openmpi OPENMPI_USES= mpi:openmpi
BINARY_ALIAS= git=false BINARY_ALIAS= git=false

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1692336550 TIMESTAMP = 1699418840
SHA256 (LLNL-Elemental-v1.5.2_GH0.tar.gz) = a902cad3962471216cfa278ba0561c18751d415cd4d6b2417c02a43b0ab2ea33 SHA256 (LLNL-Elemental-v1.5.3_GH0.tar.gz) = faefbe738bd364d0e26ce9ad079a11c93a18c6f075719a365fd4fa5f1f7a989a
SIZE (LLNL-Elemental-v1.5.2_GH0.tar.gz) = 2754510 SIZE (LLNL-Elemental-v1.5.3_GH0.tar.gz) = 2756471

View file

@ -0,0 +1,19 @@
--- tests/blas_like/Gemm_Suite.cpp.orig 2023-11-08 23:05:42 UTC
+++ tests/blas_like/Gemm_Suite.cpp
@@ -555,11 +555,11 @@ struct HalfTypeT<Device::GPU>
using type = gpu_half_type;
};
#else
-template <>
-struct HalfTypeT<Device::GPU>
-{
- using type = UndefinedType;
-};
+//template <>
+//struct HalfTypeT<Device::GPU>
+//{
+// using type = UndefinedType;
+//};
#endif // HYDROGEN_HAVE_GPU
#endif // HYDROGEN_HAVE_HALF

View file

@ -345,4 +345,4 @@ lib/cmake/hydrogen/modules/HydrogenCleanupHIPTargets.cmake
lib/cmake/hydrogen/modules/HydrogenETIGeneration.cmake lib/cmake/hydrogen/modules/HydrogenETIGeneration.cmake
lib/cmake/hydrogen/modules/PrintHydrogenSummary.cmake lib/cmake/hydrogen/modules/PrintHydrogenSummary.cmake
lib/libHydrogen_CXX.so lib/libHydrogen_CXX.so
lib/libHydrogen_CXX.so.1.5.2 lib/libHydrogen_CXX.so.1.5.3

View file

@ -1,7 +1,7 @@
PORTNAME= lbann PORTNAME= lbann
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
DISTVERSION= 0.102-254 DISTVERSION= 0.102-254
PORTREVISION= 1 PORTREVISION= 2
DISTVERSIONSUFFIX= -g2e3012a9a DISTVERSIONSUFFIX= -g2e3012a9a
CATEGORIES= misc # machine-learning CATEGORIES= misc # machine-learning