public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/97210] New: Intrinsic function get_team() does not work
@ 2020-09-25 19:21 Bader at lrz dot de
  2020-09-26 20:10 ` [Bug fortran/97210] " kargl at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: Bader at lrz dot de @ 2020-09-25 19:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97210

            Bug ID: 97210
           Summary: Intrinsic function get_team() does not work
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Bader at lrz dot de
  Target Milestone: ---

Created attachment 49273
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49273&action=edit
Test case

The attached test program fails with the following error message: 

eams_02_pos.f90:8:9:

    8 |   init = get_team()
      |         1
Error: Cannot convert INTEGER(4) to TYPE(team_type) at (1)
teams_02_pos.f90:16:19:

   16 |     if (this_image(init) == me) then
      |                   1
Error: Expected coarray variable as ‘coarray’ argument to the this_image
intrinsic at (1)
Error: comand:
   `/opt/gcc/10.2/bin/gfortran
-I/opt/gcc/10.2/coarrays_mpich/include/OpenCoarrays-2.9.0_GNU-10.2.0
-fcoarray=lib -Wl,-rpath -Wl,/opt/mpich/3.3.2_gcc10/lib -Wl,--enable-new-dtags
teams_02_pos.f90 /opt/gcc/10.2/coarrays_mpich/lib/libcaf_mpi.a
/opt/mpich/3.3.2_gcc10/lib/libmpifort.so /opt/mpich/3.3.2_gcc10/lib/libmpi.so`
failed to compile.

So, apart from missing or incorrectly implemented support for get_team also the
TEAM argument for this_image() is not accepted.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug fortran/97210] Intrinsic function get_team() does not work
  2020-09-25 19:21 [Bug fortran/97210] New: Intrinsic function get_team() does not work Bader at lrz dot de
@ 2020-09-26 20:10 ` kargl at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: kargl at gcc dot gnu.org @ 2020-09-26 20:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97210

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
                 CC|                            |kargl at gcc dot gnu.org
   Last reconfirmed|                            |2020-09-26
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from kargl at gcc dot gnu.org ---
It seems the implementation of get_team() was wrong from its first appearance
in gfortran.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-26 20:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-25 19:21 [Bug fortran/97210] New: Intrinsic function get_team() does not work Bader at lrz dot de
2020-09-26 20:10 ` [Bug fortran/97210] " kargl at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).