Skip to content

Nixify-Technology/intel-mpi-nix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intel oneAPI MPI Library

This is a flake to use Intel oneAPI MPI Library.

Requirements

A working installation of Nix on Linux x86_64

Usage

  1. Clone this repository and run:
    cd intel-mpi-nix
    nix develop
  2. Compile the provided Hello World example with:
    mpicc -o hello hello.c
  3. Run the example with:
    mpirun ./hello

Alternatively, you can run the development environment directly from Github with:

nix develop github:waltermoreira/intel-mpi-nix

and use the environment to compile your own sources.

Composing with other flakes

Code that compiles using other MPI implementations (for example, nixpkgs.mpich) can use this flake as a drop-in replacement.

  1. Add the input intel-mpi.url = "github:Nixify-Technology/intel-mpi-nix" to your flake.
  2. Instantiate the default package with:
    mpi = intel-mpi.packages.${system}.default;
    
  3. Use the package mpi as a replacement for mpich or any other implementation.

To Do

  • Support ARM architecture.

Authors

  • Walter Moreira, @waltermoreira
  • Joe Stubbs, @joestubbs
  • Ian Wang, @wangyinz

License

MIT

About

Nix flake for the Intel oneAPI MPI Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 93.4%
  • C 5.9%
  • Shell 0.7%