Skip to content

Reference repository showing how to use Travis CI for MPI with C++17 and mpi4py with Python3.7+.

License

Notifications You must be signed in to change notification settings

bsamseth/mpi4py-travis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

mpi4py-travis

This is a reference repository showing how to use Travis CI with:

The approach is to fetch a C++17 compiler (e.g. g++7) and Python 3.7 with special apt-sources, then building OpenMPI from source with this compiler, which results in a C++17 compatible MPI compiler. Finally, mpi4py is installed, being told about this new MPI compiler.

Additionally, because building MPI from source takes quite some time (10+ minutes), the installation is cached between each build. This means the MPI installation only has to be built once, and is reused the rest of the time, which saves time.

See .travis.yml for the how to do this!

About

Reference repository showing how to use Travis CI for MPI with C++17 and mpi4py with Python3.7+.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published