9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-06-26 06:22:04 +02:00
qp2/src/utils/intel_check_omp.irp.f

21 lines
395 B
Fortran
Raw Normal View History

2021-11-18 09:19:41 +01:00
subroutine intel_check_omp()
! Doc : idk
implicit none
2021-11-18 14:54:34 +01:00
IRP_IF INTEL2021_CHECK_OMP
2021-11-18 09:19:41 +01:00
call omp_set_max_active_levels(5)
2021-11-18 14:54:34 +01:00
print*,'INTEL2021_CHECK_OMP: true'
IRP_ENDIF
IRP_IF INTEL2019_CHECK_OMP
call omp_set_nested(.True.)
print*,'INTEL2019_CHECK_OMP: true'
IRP_ENDIF
IRP_IF GNU_CHECK_OMP
2021-11-18 09:19:41 +01:00
call omp_set_nested(.True.)
2021-11-18 14:54:34 +01:00
print*,'GNU_CHECK_OMP: true'
2021-11-18 09:19:41 +01:00
IRP_ENDIF
end