Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28895 Discussions

ifort 2021.4.0 runtime failure with team_type variable

Michael_S_17
New Contributor I
549 Views
! ifort runtime failure caused by declaring a team_type variable

! ifort version 2021.4.0
! ifort -coarray -coarray-num-images=4 test.f90 -o a.out

! RUN-TIME ERROR MESSAGE (respectively for each coarray image):

! forrtl: error (329): Image 1: the specified team does not exist
! In coarray image 1
! Image              PC                Routine            Line        Source
! libicaf.so         00007F1CB3F06B82  Unknown               Unknown  Unknown
! a.out              0000000000404942  Unknown               Unknown  Unknown
! a.out              00000000004048E2  Unknown               Unknown  Unknown
! libc-2.31.so       00007F1CB3B9E0B3  __libc_start_main     Unknown  Unknown
! a.out              00000000004047EE  Unknown               Unknown  Unknown

module a
use, intrinsic :: ISO_FORTRAN_ENV, only: team_type
contains
subroutine a_method
  type (team_type) :: team1 ! this team_type declaration alone causes the runtime failure
end subroutine a_method
end module a

program main
  use a
  call a_method
end program main
0 Kudos
1 Solution
Devorah_H_Intel
Moderator
522 Views

Thank you for your report. This issue has been escalated to engineering. 

CMPLRLIBS-33620

View solution in original post

1 Reply
Devorah_H_Intel
Moderator
523 Views

Thank you for your report. This issue has been escalated to engineering. 

CMPLRLIBS-33620

Reply