File tree Expand file tree Collapse file tree 4 files changed +5
-77
lines changed Expand file tree Collapse file tree 4 files changed +5
-77
lines changed Original file line number Diff line number Diff line change @@ -803,6 +803,7 @@ if(opencoarrays_aware_compiler)
803
803
add_caf_test (comp_allocated_2 2 comp_allocated_2 )
804
804
add_caf_test (alloc_comp_get_convert_nums 2 alloc_comp_get_convert_nums )
805
805
if (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 8 )
806
+ add_caf_test (team_number 8 team_number )
806
807
add_caf_test (teams_subset 3 teams_subset )
807
808
add_caf_test (get_communicator 3 get_communicator )
808
809
add_caf_test (teams_coarray_get 5 teams_coarray_get )
@@ -815,11 +816,8 @@ if(opencoarrays_aware_compiler)
815
816
set_tests_properties (alloc_comp_multidim_shape PROPERTIES TIMEOUT 300 )
816
817
endif ()
817
818
if (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 15 )
818
- add_caf_test (team_number 8 team_number )
819
819
add_caf_test (teams_this_image 8 teams_this_image )
820
820
add_caf_test (teams_num_images 8 teams_num_images )
821
- else ()
822
- add_caf_test (team_number_pre15 8 team_number_pre15 )
823
821
endif ()
824
822
endif ()
825
823
Original file line number Diff line number Diff line change 1
- caf_compile_executable (team_number_pre15 team_number_pre15.f90 )
1
+ caf_compile_executable (team_number team_number.F90 )
2
2
caf_compile_executable (teams_subset teams_subset.f90 )
3
3
caf_compile_executable (get_communicator get -communicator.F90 )
4
4
caf_compile_executable (teams_coarray_get teams_coarray_get.f90 )
@@ -8,7 +8,6 @@ caf_compile_executable(teams_coarray_send_by_ref teams_coarray_send.f90)
8
8
caf_compile_executable (teams_coarray_sendget teams_coarray_sendget.f90 )
9
9
caf_compile_executable (sync_team sync-team.f90 )
10
10
if (gfortran_compiler AND (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 15.0.0 ))
11
- caf_compile_executable (team_number team_number.f90 )
12
11
caf_compile_executable (teams_this_image teams_this_image.f90 )
13
12
caf_compile_executable (teams_num_images teams_num_images.f90 )
14
13
endif ()
Original file line number Diff line number Diff line change 29
29
! OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
30
program main
31
31
! ! summary: Test team_number intrinsic function
32
- use iso_fortran_env, only : team_type, current_team
32
+ use , intrinsic :: iso_fortran_env
33
33
use iso_c_binding, only : c_loc
34
34
use oc_assertions_interface, only : assert
35
35
@@ -43,7 +43,9 @@ program main
43
43
44
44
call assert(team_number()==standard_initial_value," initial team number conforms with Fortran standard before 'change team'" )
45
45
46
+ #ifdef GCC_GE_15
46
47
call assert(team_number(get_team(current_team))==standard_initial_value," initial team number conforms with Fortran standard before 'change team'" )
48
+ #endif
47
49
48
50
after_change_team: block
49
51
associate(parent_team_number = > 100 + (num_images()- 1 )/ 4 , child_team_number = > 1000 + mod (num_images()- 1 ,4 )/ 2 )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments