# Which compilers support coarrays?

**URL:** <https://fortran-lang.discourse.group/t/which-compilers-support-coarrays/2713>\
**Category:** Uncategorized\
**Created:** [February 1, 2022, 7:31pm UTC](https://fortran-lang.discourse.group/t/which-compilers-support-coarrays/2713 "2022-02-01T19:31:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nncarlson](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/nncarlson/32/1175_2.png) [@nncarlson](https://fortran-lang.discourse.group/u/nncarlson)\
**Post date:** [February 1, 2022, 7:31pm UTC](https://fortran-lang.discourse.group/t/which-compilers-support-coarrays/2713/1 "2022-02-01T19:31:06Z")

</div>

I know GNU Fortran, NAG, and Intel (classic ifort) all support coarrays, and I’m certain the Cray and IBM compilers do as well. But are there any other compilers that do? [Fortran Compilers - Fortran Programming Language](https://fortran-lang.org/compilers/) lists quite a few other compilers, but I suspect that none of them do.

---

<div class="post-metadata">

**Author:** ![shahmoradi](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/shahmoradi/32/3151_2.png) [@shahmoradi](https://fortran-lang.discourse.group/u/shahmoradi)\
**Post date:** [February 1, 2022, 7:49pm UTC](https://fortran-lang.discourse.group/t/which-compilers-support-coarrays/2713/2 "2022-02-01T19:49:45Z")

</div>

My impression was that the IBM Coarray support is only experimental. As an avid Coarray user in practice, I’m be glad to hear otherwise.

---

<div class="post-metadata">

**Author:** ![Beliavsky](https://avatars.discourse-cdn.com/v4/letter/b/ba8739/32.png) [@Beliavsky](https://fortran-lang.discourse.group/u/Beliavsky)\
**Post date:** [February 1, 2022, 8:38pm UTC](https://fortran-lang.discourse.group/t/which-compilers-support-coarrays/2713/3 "2022-02-01T20:38:32Z")

</div>

g95 implemented coarrays, although I did not try that feature. The compiler has not been updated for years, and now the site is offline.

---

<div class="post-metadata">

**Author:** ![sblionel](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/sblionel/32/853_2.png) [@sblionel](https://fortran-lang.discourse.group/u/sblionel)\
**Post date:** [February 2, 2022, 1:46am UTC](https://fortran-lang.discourse.group/t/which-compilers-support-coarrays/2713/4 "2022-02-02T01:46:03Z")

</div>

Last I heard, and this was a while ago, IBM shelved their coarray implementation when they lost the Blue Gene contract.

NAG does support the feature, but on a single image only.

---

<div class="post-metadata">

**Author:** ![nncarlson](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/nncarlson/32/1175_2.png) [@nncarlson](https://fortran-lang.discourse.group/u/nncarlson)\
**Post date:** [February 2, 2022, 3:04am UTC](https://fortran-lang.discourse.group/t/which-compilers-support-coarrays/2713/5 "2022-02-02T03:04:23Z")

</div>

Thanks for the correction about the IBM compiler; I’m sorry to hear that.

> [@sblionel](#):
>
> NAG does support the feature, but on a single image only.

Perhaps I’m misunderstanding you, but the NAG 7.1 compiler (at least) does support multiple images but only on a single shared memory node.

---

<div class="post-metadata">

**Author:** ![sblionel](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/sblionel/32/853_2.png) [@sblionel](https://fortran-lang.discourse.group/u/sblionel)\
**Post date:** [February 2, 2022, 2:41pm UTC](https://fortran-lang.discourse.group/t/which-compilers-support-coarrays/2713/6 "2022-02-02T14:41:05Z")

</div>

> [@nncarlson](#):
>
> Perhaps I’m misunderstanding you, but the NAG 7.1 compiler (at least) does support multiple images but only on a single shared memory node.

No, you are correct, I was the one who misunderstood.

---

<div class="post-metadata">

**Author:** ![rouson](https://avatars.discourse-cdn.com/v4/letter/r/ce7236/32.png) [@rouson](https://fortran-lang.discourse.group/u/rouson)\
**Post date:** [February 4, 2022, 6:42am UTC](https://fortran-lang.discourse.group/t/which-compilers-support-coarrays/2713/7 "2022-02-04T06:42:08Z")

</div>

If IBM has even experimental coarray support, that’s very good news. I haven’t checked in a couple of years, but IBM offered no coarray support the last time I checked.

---

<div class="post-metadata">

**Author:** ![shahmoradi](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/shahmoradi/32/3151_2.png) [@shahmoradi](https://fortran-lang.discourse.group/u/shahmoradi)\
**Post date:** [February 4, 2022, 7:05am UTC](https://fortran-lang.discourse.group/t/which-compilers-support-coarrays/2713/8 "2022-02-04T07:05:12Z")

</div>

My knowledge of IBM Coarrays status is outdated (which was based on a comment by Steve Lionel in ~2010 also repeated above). Yours is correct.
