A library providing generic interface for file system input / output operations across different platforms.
See the documentation.
- Common directory and file functions
- App data and resources path getters
- CPU name (brand, model) getters
- Free and total RAM size getters
- Logical, physical, performance CPU count getters
- Current clock (time stamp) getter
- C and C++ implementations
- Windows (10/11)
- Ubuntu (22.04/24.04)
- macOS (14/15)
This list includes only those systems on which functionality testing is conducted. However, you can also compile it under any other Linux distribution or operating system.
- C99 compiler
- C++17 compiler (optional)
- Objective-C compiler (macOS only)
- Git 2.30+
- CMake 3.16+
Use building instructions to install all required tools and libraries.
Name | Description | Default value |
---|---|---|
MPIO_BUILD_SHARED | Build MPIO shared library | ON |
MPIO_BUILD_TESTS | Build MPIO library tests | ON |
Name | Description | Windows | macOS | Linux |
---|---|---|---|---|
mpio-static | Static MPIO library | .lib |
.a |
.a |
mpio-shared | Dynamic MPIO library | .dll |
.dylib |
.so |
git clone https://github.com/cfnptr/mpio
- Windows:
./scripts/build-release.bat
- macOS / Ubuntu:
./scripts/build-release.sh