Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2159 Discussions

MPI_File_get_size, max file limit on windows 10

Michael_B_10
Beginner
730 Views

It seems the max file size returned is limited to a 4 byte unsigned integer, even though MPI_Offset is 8 bytes. The following program fails in MPI_File_get_size for files larger than 4GB. Is there a way around this?

This is for Windows 10, mpicc.bat for the Intel(R) MPI Library 2018 Update 2 for Windows*
Copyright 2007-2018 Intel Corporation.

Microsoft (R) C/C++ Optimizing Compiler Version 19.14.26430 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

Attached program shows the issue.

0 Kudos
4 Replies
Tony_G_2
Beginner
730 Views

Just curious: are you asking this question because you are trying to use HDF5 on Windows10 with files >4Gb? Or it is another use case for which you hit this problem?

0 Kudos
Klaus-Dieter_O_Intel
730 Views

@Michael: Thanks for providing the test code. I have reproduced the issue on Windows 10 and created an internal report. I will keep this forum updated.

0 Kudos
Tony_G_2
Beginner
730 Views

 

Id like to add that this is issue is stopping anyone using Intel MPI with HDF5 on windows with large files.

Would appreciate a getaround and/or bug fix for MPI 2017 as well.

0 Kudos
Klaus-Dieter_O_Intel
729 Views

The issue was resolved in the now available version Intel(R) MPI Library 2018 Update 4.

0 Kudos
Reply