From ken.raffenetti at cornelisnetworks.com Tue Jun 16 23:08:48 2026 From: ken.raffenetti at cornelisnetworks.com (Raffenetti, Ken) Date: Wed, 17 Jun 2026 03:08:48 +0000 Subject: [Mvapich-discuss] proposed patch to datatype option in OMB osu_util.c Message-ID: Hi, I?d like to propose a patch to the -T/?type handling code in OMB. The -T option currently accepts MPI datatype names by comparing only a fixed-length prefix and then silently ignores unrecognized values. If a user passes an unsupported datatype such as mpi_long_long, no datatype is added to the benchmark option list and later default handling can run a different datatype instead. This can make benchmark output misleading. Use exact case-insensitive matches for the supported datatype names and return PO_BAD_USAGE when the -T argument is not recognized. This keeps unsupported datatypes from silently falling back to a default benchmark datatype and avoids unintended matches for datatypes such as mpi_int64_t->mpi_int. Thanks, Ken External recipient -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: util.patch Type: application/octet-stream Size: 1796 bytes Desc: util.patch URL: