@@ -343,7 +343,7 @@ function get_vmr_1d(this, gas, array) result(error_msg)
343343 ! $acc data copyout (array) present(this)
344344 ! $omp target data map(from:array)
345345 if (size (this% concs(igas)% conc, 2 ) > 1 ) then
346- ! $acc kernels default(none) present(p)
346+ ! $acc kernels present(p)
347347 ! $omp target
348348#ifdef _CRAYFTN
349349 array(:) = p(1 ,:)
@@ -353,7 +353,7 @@ function get_vmr_1d(this, gas, array) result(error_msg)
353353 ! $acc end kernels
354354 ! $omp end target
355355 else
356- ! $acc kernels default(none) present(p)
356+ ! $acc kernels present(p)
357357 ! $omp target
358358#ifdef _CRAYFTN
359359 array(:) = p(1 ,1 )
@@ -403,7 +403,7 @@ function get_vmr_2d(this, gas, array) result(error_msg)
403403 ! $acc data copyout (array) present(this, this%concs)
404404 ! $omp target data map(from:array)
405405 if (size (this% concs(igas)% conc, 1 ) > 1 ) then ! Concentration stored as 2D
406- ! $acc parallel loop collapse(2) default(none) present(p)
406+ ! $acc parallel loop collapse(2) present(p)
407407 ! $omp target teams distribute parallel do simd
408408 do ilay = 1 , size (array,2 )
409409 do icol = 1 , size (array,1 )
@@ -415,7 +415,7 @@ function get_vmr_2d(this, gas, array) result(error_msg)
415415 end do
416416 end do
417417 else if (size (this% concs(igas)% conc, 2 ) > 1 ) then ! Concentration stored as 1D
418- ! $acc parallel loop collapse(2) default(none) present(p)
418+ ! $acc parallel loop collapse(2) present(p)
419419 ! $omp target teams distribute parallel do simd
420420 do ilay = 1 , size (array,2 )
421421 do icol = 1 , size (array,1 )
@@ -427,7 +427,7 @@ function get_vmr_2d(this, gas, array) result(error_msg)
427427 end do
428428 end do
429429 else ! Concentration stored as scalar
430- ! $acc parallel loop collapse(2) default(none) present(p)
430+ ! $acc parallel loop collapse(2) present(p)
431431 ! $omp target teams distribute parallel do simd
432432 do ilay = 1 , size (array,2 )
433433 do icol = 1 , size (array,1 )
0 commit comments