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 @@ -806,6 +806,7 @@ if(opencoarrays_aware_compiler)
806
806
add_caf_test (comp_allocated_2 2 comp_allocated_2 )
807
807
add_caf_test (alloc_comp_get_convert_nums 2 alloc_comp_get_convert_nums )
808
808
if (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 8 )
809
+ add_caf_test (team_number 8 team_number )
809
810
add_caf_test (teams_subset 3 teams_subset )
810
811
add_caf_test (get_communicator 3 get_communicator )
811
812
add_caf_test (teams_coarray_get 5 teams_coarray_get )
@@ -818,11 +819,8 @@ if(opencoarrays_aware_compiler)
818
819
set_tests_properties (alloc_comp_multidim_shape PROPERTIES TIMEOUT 300 )
819
820
endif ()
820
821
if (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 15 )
821
- add_caf_test (team_number 8 team_number )
822
822
add_caf_test (teams_this_image 8 teams_this_image )
823
823
add_caf_test (teams_num_images 8 teams_num_images )
824
- else ()
825
- add_caf_test (team_number_pre15 8 team_number_pre15 )
826
824
endif ()
827
825
endif ()
828
826
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 16.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