Using coarrays in a shared library (OpenCoarrays)

I have tried achieving this via Intel Coarray Fortran and GNU/OpenCoarrays. None were successful. I have asked the Intel team to consider adding this feature but received no positive response. The current implementations of Coarray by compilers require the main program to be also in Fortran. I would be exhilarated to hear from someone in this forum proving me wrong about this. There are also Cray and NAG Coarray compilers, but I have no experience with them.
Perhaps with more demand, Intel/OpenCoarrays would consider adding such functionality to their Coarray implementations. It is absolutely essential. Just because of this missing feature, we had to reimplement a full project from scratch via MPI (instead of the original Coarray implementation).

6 Likes