codon icon indicating copy to clipboard operation
codon copied to clipboard

Will codon support distributed libraries?

Open GongChangYan opened this issue 3 years ago • 1 comments

Will codon support distributed libraries such as openmpi? If I want to use a distributed library, do I have to encapsulate the interface and import it in codon?

GongChangYan avatar Dec 26 '22 12:12 GongChangYan

Hi @GongChangYan -- it is on our roadmap to do something like this, similar to what we do for OpenMP right now, although can't give an ETA just yet. It is definitely possible to wrap a library like MPI in Codon; you can see how we do it for OpenMP here: https://github.com/exaloop/codon/blob/develop/stdlib/openmp.codon (there are also a number of compiler transformations involved to make it work seamlessly, but just using the API is relatively straightforward).

arshajii avatar Dec 28 '22 17:12 arshajii