Use int64_t and stdint.h instead of __int64 RRS feed

  • General discussion

  • The mpi.h header of MS MPI uses __int64 which is Microsoft-specific and not supported out-of-the-box within environments like MSYS/MinGW. My current work-around is to patch this file by including "#include <stdint.h>" which at least on MinGW brings in the necessary typedef.

    Why not be more standards-conformant and just use int64_t from the C99 header stdint.h? Is there still a legitimate reason to use __int64 etc?

    Saturday, August 11, 2018 2:47 PM

All replies

  • We switched to int64_t in MSMPI v10.0.
    Please find the download link from https://docs.microsoft.com/en-us/message-passing-interface/microsoft-mpi.

    MSMPI is now open-source, please find us on GitHub - https://github.com/Microsoft/Microsoft-MPI


    Friday, November 9, 2018 7:14 PM