pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/parallel/mpi-ch parallel/mpi-ch: make this build and i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/604bd6404e92
branches: trunk
changeset: 386170:604bd6404e92
user: he <he%pkgsrc.org@localhost>
date: Sun Oct 02 15:35:23 2022 +0000
description:
parallel/mpi-ch: make this build and install on NetBSD.
* AI_V4MAPPED is not defined on NetBSD, so conditionalize its use.
* Force the use of pkgsrc GCC (here we require >= gcc 10) so that
<ISO_Fortran_binding.h> is made available to the C compiler.
* Sort PLIST.
The result builds and installs on amd64 and i386, but not on powerpc
due to Fortran's "real128" not being available there (CPU limitation).
diffstat:
parallel/mpi-ch/Makefile | 8 +-
parallel/mpi-ch/PLIST | 668 +++++-----
parallel/mpi-ch/distinfo | 6 +-
parallel/mpi-ch/patches/patch-src_mpi_romio_mpl_src_sock_mpl__sockaddr.c | 16 +
parallel/mpi-ch/patches/patch-src_mpl_src_sock_mpl__sockaddr.c | 16 +
parallel/mpi-ch/patches/patch-src_pm_hydra2_mpl_src_sock_mpl__sockaddr.c | 16 +
parallel/mpi-ch/patches/patch-src_pm_hydra_mpl_src_sock_mpl__sockaddr.c | 16 +
7 files changed, 410 insertions(+), 336 deletions(-)
diffs (truncated from 929 to 300 lines):
diff -r ac65e8bba99b -r 604bd6404e92 parallel/mpi-ch/Makefile
--- a/parallel/mpi-ch/Makefile Sun Oct 02 15:11:19 2022 +0000
+++ b/parallel/mpi-ch/Makefile Sun Oct 02 15:35:23 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.99 2022/08/25 21:46:53 thor Exp $
+# $NetBSD: Makefile,v 1.100 2022/10/02 15:35:23 he Exp $
DISTNAME= mpich-3.4.3
CATEGORIES= parallel
@@ -52,6 +52,12 @@
TEST_TARGET= check
+.if ${OPSYS} == "NetBSD"
+# Needed for <ISO_Fortran_binding.h>
+USE_PKGSRC_GCC= yes
+GCC_REQD= 10
+.endif
+
# Re-enable when at version 2.x.
#.include "../../parallel/hwloc/buildlink3.mk"
.include "../../parallel/openpa/buildlink3.mk"
diff -r ac65e8bba99b -r 604bd6404e92 parallel/mpi-ch/PLIST
--- a/parallel/mpi-ch/PLIST Sun Oct 02 15:11:19 2022 +0000
+++ b/parallel/mpi-ch/PLIST Sun Oct 02 15:35:23 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.25 2022/08/25 21:46:53 thor Exp $
+@comment $NetBSD: PLIST,v 1.26 2022/10/02 15:35:23 he Exp $
bin/hydra_nameserver
bin/hydra_persist
bin/hydra_pmi_proxy
@@ -18,18 +18,18 @@
include/mpi.h
${PLIST.f90}include/mpi.mod
${PLIST.f90}include/mpi_base.mod
+${PLIST.f90}include/mpi_c_interface.mod
${PLIST.f90}include/mpi_c_interface_cdesc.mod
${PLIST.f90}include/mpi_c_interface_glue.mod
-${PLIST.f90}include/mpi_c_interface.mod
${PLIST.f90}include/mpi_c_interface_nobuf.mod
${PLIST.f90}include/mpi_c_interface_types.mod
${PLIST.f90}include/mpi_constants.mod
-${PLIST.f90}include/mpi_sizeofs.mod
+${PLIST.f90}include/mpi_f08.mod
${PLIST.f90}include/mpi_f08_callbacks.mod
${PLIST.f90}include/mpi_f08_compile_constants.mod
${PLIST.f90}include/mpi_f08_link_constants.mod
-${PLIST.f90}include/mpi_f08.mod
${PLIST.f90}include/mpi_f08_types.mod
+${PLIST.f90}include/mpi_sizeofs.mod
include/mpicxx.h
${PLIST.f90}include/mpif.h
include/mpio.h
@@ -462,347 +462,29 @@
share/doc/mpich/html/www1/mpif77.html
share/doc/mpich/html/www1/mpifort.html
share/doc/mpich/html/www3/Constants.html
-share/doc/mpich/html/www3/MPI_2DOUBLE_PRECISION.htm
-share/doc/mpich/html/www3/MPI_2INTEGER.htm
-share/doc/mpich/html/www3/MPI_2INT.htm
-share/doc/mpich/html/www3/MPI_2REAL.htm
-share/doc/mpich/html/www3/MPI_Aint.htm
-share/doc/mpich/html/www3/MPI_AINT.htm
-share/doc/mpich/html/www3/MPI_ANY_SOURCE.htm
-share/doc/mpich/html/www3/MPI_ANY_TAG.htm
-share/doc/mpich/html/www3/MPI_APPNUM.htm
-share/doc/mpich/html/www3/MPI_ARGV_NULL.htm
-share/doc/mpich/html/www3/MPI_ARGVS_NULL.htm
-share/doc/mpich/html/www3/MPI_BAND.htm
-share/doc/mpich/html/www3/MPI_BOR.htm
-share/doc/mpich/html/www3/MPI_BOTTOM.htm
-share/doc/mpich/html/www3/MPI_BSEND_OVERHEAD.htm
-share/doc/mpich/html/www3/MPI_BXOR.htm
-share/doc/mpich/html/www3/MPI_BYTE.htm
-share/doc/mpich/html/www3/MPI_CART.htm
-share/doc/mpich/html/www3/MPI_C_BOOL.htm
-share/doc/mpich/html/www3/MPI_C_COMPLEX.htm
-share/doc/mpich/html/www3/MPI_C_DOUBLE_COMPLEX.htm
-share/doc/mpich/html/www3/MPI_C_FLOAT_COMPLEX.htm
-share/doc/mpich/html/www3/MPI_CHAR.htm
-share/doc/mpich/html/www3/MPI_C_LONG_DOUBLE_COMPLEX.htm
-share/doc/mpich/html/www3/MPI_COMBINER_CONTIGUOUS.htm
-share/doc/mpich/html/www3/MPI_COMBINER_DARRAY.htm
-share/doc/mpich/html/www3/MPI_COMBINER_DUP.htm
-share/doc/mpich/html/www3/MPI_COMBINER_F90_COMPLEX.htm
-share/doc/mpich/html/www3/MPI_COMBINER_F90_INTEGER.htm
-share/doc/mpich/html/www3/MPI_COMBINER_F90_REAL.htm
-share/doc/mpich/html/www3/MPI_COMBINER_HINDEXED_BLOCK.htm
-share/doc/mpich/html/www3/MPI_COMBINER_HINDEXED.htm
-share/doc/mpich/html/www3/MPI_COMBINER_HINDEXED_INTEGER.htm
-share/doc/mpich/html/www3/MPI_COMBINER_HVECTOR.htm
-share/doc/mpich/html/www3/MPI_COMBINER_HVECTOR_INTEGER.htm
-share/doc/mpich/html/www3/MPI_COMBINER_INDEXED_BLOCK.htm
-share/doc/mpich/html/www3/MPI_COMBINER_INDEXED.htm
-share/doc/mpich/html/www3/MPI_COMBINER_NAMED.htm
-share/doc/mpich/html/www3/MPI_COMBINER_RESIZED.htm
-share/doc/mpich/html/www3/MPI_COMBINER_STRUCT.htm
-share/doc/mpich/html/www3/MPI_COMBINER_STRUCT_INTEGER.htm
-share/doc/mpich/html/www3/MPI_COMBINER_SUBARRAY.htm
-share/doc/mpich/html/www3/MPI_COMBINER_VECTOR.htm
-share/doc/mpich/html/www3/MPI_COMM_DUP_FN.htm
-share/doc/mpich/html/www3/MPI_COMM_NULL_COPY_FN.htm
-share/doc/mpich/html/www3/MPI_COMM_NULL_DELETE_FN.htm
-share/doc/mpich/html/www3/MPI_COMM_NULL.htm
-share/doc/mpich/html/www3/MPI_COMM_SELF.htm
-share/doc/mpich/html/www3/MPI_COMM_TYPE_SHARED.htm
-share/doc/mpich/html/www3/MPI_COMM_WORLD.htm
-share/doc/mpich/html/www3/MPI_COMPLEX.htm
-share/doc/mpich/html/www3/MPI_CONGRUENT.htm
-share/doc/mpich/html/www3/MPI_Copy_function.htm
-share/doc/mpich/html/www3/MPI_Count.htm
-share/doc/mpich/html/www3/MPI_COUNT.htm
-share/doc/mpich/html/www3/MPI_DATATYPE_NULL.htm
-share/doc/mpich/html/www3/MPI_Delete_function.htm
-share/doc/mpich/html/www3/MPI_DISPLACEMENT_CURRENT.htm
-share/doc/mpich/html/www3/MPI_DIST_GRAPH.htm
-share/doc/mpich/html/www3/MPI_DISTRIBUTE_BLOCK.htm
-share/doc/mpich/html/www3/MPI_DISTRIBUTE_CYCLIC.htm
-share/doc/mpich/html/www3/MPI_DISTRIBUTE_DFLT_DARG.htm
-share/doc/mpich/html/www3/MPI_DISTRIBUTE_NONE.htm
-share/doc/mpich/html/www3/MPI_DOUBLE_COMPLEX.htm
-share/doc/mpich/html/www3/MPI_DOUBLE.htm
-share/doc/mpich/html/www3/MPI_DOUBLE_INT.htm
-share/doc/mpich/html/www3/MPI_DOUBLE_PRECISION.htm
-share/doc/mpich/html/www3/MPI_DUP_FN.htm
-share/doc/mpich/html/www3/MPI_ERR_ACCESS.htm
-share/doc/mpich/html/www3/MPI_ERR_AMODE.htm
-share/doc/mpich/html/www3/MPI_ERR_ARG.htm
-share/doc/mpich/html/www3/MPI_ERR_ASSERT.htm
-share/doc/mpich/html/www3/MPI_ERR_BAD_FILE.htm
-share/doc/mpich/html/www3/MPI_ERR_BASE.htm
-share/doc/mpich/html/www3/MPI_ERR_BUFFER.htm
-share/doc/mpich/html/www3/MPI_ERRCODES_IGNORE.htm
-share/doc/mpich/html/www3/MPI_ERR_COMM.htm
-share/doc/mpich/html/www3/MPI_ERR_CONVERSION.htm
-share/doc/mpich/html/www3/MPI_ERR_COUNT.htm
-share/doc/mpich/html/www3/MPI_ERR_DIMS.htm
-share/doc/mpich/html/www3/MPI_ERR_DISP.htm
-share/doc/mpich/html/www3/MPI_ERR_DUP_DATAREP.htm
-share/doc/mpich/html/www3/MPI_ERR_FILE_EXISTS.htm
-share/doc/mpich/html/www3/MPI_ERR_FILE.htm
-share/doc/mpich/html/www3/MPI_ERR_FILE_IN_USE.htm
-share/doc/mpich/html/www3/MPI_ERR_GROUP.htm
-share/doc/mpich/html/www3/MPI_ERRHANDLER_NULL.htm
-share/doc/mpich/html/www3/MPI_ERR_INFO.htm
-share/doc/mpich/html/www3/MPI_ERR_INFO_KEY.htm
-share/doc/mpich/html/www3/MPI_ERR_INFO_NOKEY.htm
-share/doc/mpich/html/www3/MPI_ERR_INFO_VALUE.htm
-share/doc/mpich/html/www3/MPI_ERR_IN_STATUS.htm
-share/doc/mpich/html/www3/MPI_ERR_INTERN.htm
-share/doc/mpich/html/www3/MPI_ERR_IO.htm
-share/doc/mpich/html/www3/MPI_ERR_KEYVAL.htm
-share/doc/mpich/html/www3/MPI_ERR_LASTCODE.htm
-share/doc/mpich/html/www3/MPI_ERR_LOCKTYPE.htm
-share/doc/mpich/html/www3/MPI_ERR_NAME.htm
-share/doc/mpich/html/www3/MPI_ERR_NO_MEM.htm
-share/doc/mpich/html/www3/MPI_ERR_NO_SPACE.htm
-share/doc/mpich/html/www3/MPI_ERR_NO_SUCH_FILE.htm
-share/doc/mpich/html/www3/MPI_ERR_NOT_SAME.htm
-share/doc/mpich/html/www3/MPI_ERR_OP.htm
-share/doc/mpich/html/www3/MPI_ERROR.htm
-share/doc/mpich/html/www3/MPI_ERRORS_ARE_FATAL.htm
-share/doc/mpich/html/www3/MPI_ERRORS_RETURN.htm
-share/doc/mpich/html/www3/MPI_ERR_OTHER.htm
-share/doc/mpich/html/www3/MPI_ERR_PENDING.htm
-share/doc/mpich/html/www3/MPI_ERR_PORT.htm
-share/doc/mpich/html/www3/MPI_ERR_QUOTA.htm
-share/doc/mpich/html/www3/MPI_ERR_RANK.htm
-share/doc/mpich/html/www3/MPI_ERR_READ_ONLY.htm
-share/doc/mpich/html/www3/MPI_ERR_REQUEST.htm
-share/doc/mpich/html/www3/MPI_ERR_RMA_ATTACH.htm
-share/doc/mpich/html/www3/MPI_ERR_RMA_CONFLICT.htm
-share/doc/mpich/html/www3/MPI_ERR_RMA_FLAVOR.htm
-share/doc/mpich/html/www3/MPI_ERR_RMA_RANGE.htm
-share/doc/mpich/html/www3/MPI_ERR_RMA_SHARED.htm
-share/doc/mpich/html/www3/MPI_ERR_RMA_SYNC.htm
-share/doc/mpich/html/www3/MPI_ERR_ROOT.htm
-share/doc/mpich/html/www3/MPI_ERR_SERVICE.htm
-share/doc/mpich/html/www3/MPI_ERR_SIZE.htm
-share/doc/mpich/html/www3/MPI_ERR_SPAWN.htm
-share/doc/mpich/html/www3/MPI_ERR_TAG.htm
-share/doc/mpich/html/www3/MPI_ERR_TOPOLOGY.htm
-share/doc/mpich/html/www3/MPI_ERR_TRUNCATE.htm
-share/doc/mpich/html/www3/MPI_ERR_TYPE.htm
-share/doc/mpich/html/www3/MPI_ERR_UNKNOWN.htm
-share/doc/mpich/html/www3/MPI_ERR_UNSUPPORTED_DATAREP.htm
-share/doc/mpich/html/www3/MPI_ERR_UNSUPPORTED_OPERATION.htm
-share/doc/mpich/html/www3/MPI_ERR_WIN.htm
-share/doc/mpich/html/www3/MPI_FILE_NULL.htm
-share/doc/mpich/html/www3/MPI_FLOAT.htm
-share/doc/mpich/html/www3/MPI_FLOAT_INT.htm
-share/doc/mpich/html/www3/MPI_GRAPH.htm
-share/doc/mpich/html/www3/MPI_GROUP_EMPTY.htm
-share/doc/mpich/html/www3/MPI_GROUP_NULL.htm
-share/doc/mpich/html/www3/MPI_Handler_function.htm
-share/doc/mpich/html/www3/MPI_HOST.htm
-share/doc/mpich/html/www3/MPI_IDENT.htm
-share/doc/mpich/html/www3/MPI_INFO_ENV.htm
-share/doc/mpich/html/www3/MPI_INFO_NULL.htm
-share/doc/mpich/html/www3/MPI_IN_PLACE.htm
-share/doc/mpich/html/www3/MPI_INT16_T.htm
-share/doc/mpich/html/www3/MPI_INT32_T.htm
-share/doc/mpich/html/www3/MPI_INT64_T.htm
-share/doc/mpich/html/www3/MPI_INT8_T.htm
-share/doc/mpich/html/www3/MPI_INTEGER16.htm
-share/doc/mpich/html/www3/MPI_INTEGER1.htm
-share/doc/mpich/html/www3/MPI_INTEGER2.htm
-share/doc/mpich/html/www3/MPI_INTEGER4.htm
-share/doc/mpich/html/www3/MPI_INTEGER8.htm
-share/doc/mpich/html/www3/MPI_INTEGER.htm
-share/doc/mpich/html/www3/MPI_INT.htm
-share/doc/mpich/html/www3/MPI_IO.htm
-share/doc/mpich/html/www3/MPI_KEYVAL_INVALID.htm
-share/doc/mpich/html/www3/MPI_LAND.htm
-share/doc/mpich/html/www3/MPI_LASTUSEDCODE.htm
-share/doc/mpich/html/www3/MPI_LB.htm
-share/doc/mpich/html/www3/MPI_LOCK_EXCLUSIVE.htm
-share/doc/mpich/html/www3/MPI_LOCK_SHARED.htm
-share/doc/mpich/html/www3/MPI_LOGICAL.htm
-share/doc/mpich/html/www3/MPI_LONG_DOUBLE.htm
-share/doc/mpich/html/www3/MPI_LONG_DOUBLE_INT.htm
-share/doc/mpich/html/www3/MPI_LONG.htm
-share/doc/mpich/html/www3/MPI_LONG_INT.htm
-share/doc/mpich/html/www3/MPI_LONG_LONG.htm
-share/doc/mpich/html/www3/MPI_LONG_LONG_INT.htm
-share/doc/mpich/html/www3/MPI_LOR.htm
-share/doc/mpich/html/www3/MPI_LXOR.htm
-share/doc/mpich/html/www3/MPI_MAX_ERROR_STRING.htm
-share/doc/mpich/html/www3/MPI_MAX.htm
-share/doc/mpich/html/www3/MPI_MAX_INFO_KEY.htm
-share/doc/mpich/html/www3/MPI_MAX_INFO_VAL.htm
-share/doc/mpich/html/www3/MPI_MAX_LIBRARY_VERSION_STRING.htm
-share/doc/mpich/html/www3/MPI_MAXLOC.htm
-share/doc/mpich/html/www3/MPI_MAX_OBJECT_NAME.htm
-share/doc/mpich/html/www3/MPI_MAX_PORT_NAME.htm
-share/doc/mpich/html/www3/MPI_MAX_PROCESSOR_NAME.htm
-share/doc/mpich/html/www3/MPI_MESSAGE_NULL.htm
-share/doc/mpich/html/www3/MPI_MIN.htm
-share/doc/mpich/html/www3/MPI_MINLOC.htm
-share/doc/mpich/html/www3/MPI_MODE_APPEND.htm
-share/doc/mpich/html/www3/MPI_MODE_CREATE.htm
-share/doc/mpich/html/www3/MPI_MODE_DELETE_ON_CLOSE.htm
-share/doc/mpich/html/www3/MPI_MODE_EXCL.htm
-share/doc/mpich/html/www3/MPI_MODE_NOCHECK.htm
-share/doc/mpich/html/www3/MPI_MODE_NOPRECEDE.htm
-share/doc/mpich/html/www3/MPI_MODE_NOPUT.htm
-share/doc/mpich/html/www3/MPI_MODE_NOSTORE.htm
-share/doc/mpich/html/www3/MPI_MODE_NOSUCCEED.htm
-share/doc/mpich/html/www3/MPI_MODE_RDONLY.htm
-share/doc/mpich/html/www3/MPI_MODE_RDWR.htm
-share/doc/mpich/html/www3/MPI_MODE_SEQUENTIAL.htm
-share/doc/mpich/html/www3/MPI_MODE_UNIQUE_OPEN.htm
-share/doc/mpich/html/www3/MPI_MODE_WRONLY.htm
-share/doc/mpich/html/www3/MPI_NO_OP.htm
-share/doc/mpich/html/www3/MPI_NULL_COPY_FN.htm
-share/doc/mpich/html/www3/MPI_NULL_DELETE_FN.htm
-share/doc/mpich/html/www3/MPI_Offset.htm
-share/doc/mpich/html/www3/MPI_OFFSET.htm
-share/doc/mpich/html/www3/MPI_OP_NULL.htm
-share/doc/mpich/html/www3/MPI_ORDER_C.htm
-share/doc/mpich/html/www3/MPI_ORDER_FORTRAN.htm
-share/doc/mpich/html/www3/MPI_PACKED.htm
-share/doc/mpich/html/www3/MPI_PROC_NULL.htm
-share/doc/mpich/html/www3/MPI_PROD.htm
-share/doc/mpich/html/www3/MPI_REAL4.htm
-share/doc/mpich/html/www3/MPI_REAL8.htm
-share/doc/mpich/html/www3/MPI_REAL.htm
-share/doc/mpich/html/www3/MPI_REPLACE.htm
-share/doc/mpich/html/www3/MPI_REQUEST_NULL.htm
-share/doc/mpich/html/www3/MPI_SEEK_CUR.htm
-share/doc/mpich/html/www3/MPI_SEEK_END.htm
-share/doc/mpich/html/www3/MPI_SEEK_SET.htm
-share/doc/mpich/html/www3/MPI_SHORT.htm
-share/doc/mpich/html/www3/MPI_SHORT_INT.htm
-share/doc/mpich/html/www3/MPI_SIGNED_CHAR.htm
-share/doc/mpich/html/www3/MPI_SIMILAR.htm
-share/doc/mpich/html/www3/MPI_SOURCE.htm
-share/doc/mpich/html/www3/MPI_STATUSES_IGNORE.htm
-share/doc/mpich/html/www3/MPI_STATUS_IGNORE.htm
-share/doc/mpich/html/www3/MPI_SUBVERSION.htm
-share/doc/mpich/html/www3/MPI_SUCCESS.htm
-share/doc/mpich/html/www3/MPI_SUM.htm
-share/doc/mpich/html/www3/MPI_TAG.htm
-share/doc/mpich/html/www3/MPI_TAG_UB.htm
-share/doc/mpich/html/www3/MPI_T_BIND_MPI_COMM.htm
-share/doc/mpich/html/www3/MPI_T_BIND_MPI_DATATYPE.htm
-share/doc/mpich/html/www3/MPI_T_BIND_MPI_ERRHANDLER.htm
-share/doc/mpich/html/www3/MPI_T_BIND_MPI_FILE.htm
-share/doc/mpich/html/www3/MPI_T_BIND_MPI_GROUP.htm
-share/doc/mpich/html/www3/MPI_T_BIND_MPI_INFO.htm
-share/doc/mpich/html/www3/MPI_T_BIND_MPI_MESSAGE.htm
-share/doc/mpich/html/www3/MPI_T_BIND_MPI_OP.htm
-share/doc/mpich/html/www3/MPI_T_BIND_MPI_REQUEST.htm
-share/doc/mpich/html/www3/MPI_T_BIND_MPI_WIN.htm
-share/doc/mpich/html/www3/MPI_T_BIND_NO_OBJECT.htm
-share/doc/mpich/html/www3/MPI_T_CVAR_HANDLE_NULL.htm
-share/doc/mpich/html/www3/MPI_T_ENUM_NULL.htm
-share/doc/mpich/html/www3/MPI_T_ERR_CANNOT_INIT.htm
-share/doc/mpich/html/www3/MPI_T_ERR_CVAR_SET_NEVER.htm
-share/doc/mpich/html/www3/MPI_T_ERR_CVAR_SET_NOT_NOW.htm
Home |
Main Index |
Thread Index |
Old Index