Including omp_lib module without -openmp flag breaks compilation with ifort

This commit is contained in:
Lorenzo Paulatto (naquite) 2024-06-14 10:09:45 +02:00
parent 57172f839f
commit 3e1ea72d92
2 changed files with 4 additions and 0 deletions

View File

@ -196,7 +196,9 @@ SUBROUTINE many_cft3s( f, dfft, isgn, howmany )
USE fft_scatter, ONLY : fft_scatter_xy, fft_scatter_yz, &
fft_scatter_tg_opt, fft_scatter_many_xy, fft_scatter_many_yz
USE fft_types, ONLY : fft_type_descriptor
#if defined(_OPENMP)
USE omp_lib
#endif
!
IMPLICIT NONE
!

View File

@ -22,7 +22,9 @@ MODULE fft_types
#endif
USE fft_support, ONLY : good_fft_order, good_fft_dimension
USE fft_param
#if defined(_OPENMP)
USE omp_lib
#endif
IMPLICIT NONE
PRIVATE
SAVE