@@ -88,10 +88,10 @@ module m_global_parameters
8888 real (kind (0d0 )) :: dt !< Size of the time- step
8989
9090#ifdef CRAY_ACC_WAR
91- !$acc declare link(x_cb, y_cb, z_cb, x_cc, y_cc, z_cc, dx, dy, dz)
92- !$acc declare create(m, n, p, dt)
91+ !$acc declare link(x_cb, y_cb, z_cb, x_cc, y_cc, z_cc, dx, dy, dz)
92+ !$acc declare create(m, n, p, dt)
9393#else
94- !$acc declare create(x_cb, y_cb, z_cb, x_cc, y_cc, z_cc, dx, dy, dz, dt, m, n, p)
94+ !$acc declare create(x_cb, y_cb, z_cb, x_cc, y_cc, z_cc, dx, dy, dz, dt, m, n, p)
9595#endif
9696 !> @name Starting time- step iteration, stopping time- step iteration and the number
9797 !! of time- step iterations between successive solution backups, respectively
@@ -212,10 +212,10 @@ module m_global_parameters
212212#endif
213213 !> @}
214214#ifdef CRAY_ACC_WAR
215- !$acc declare create(Re_size)
216- !$acc declare link(Re_idx)
215+ !$acc declare create(Re_size)
216+ !$acc declare link(Re_idx)
217217#else
218- !$acc declare create(Re_size, Re_idx)
218+ !$acc declare create(Re_size, Re_idx)
219219#endif
220220
221221 ! The WENO average (WA) flag regulates whether the calculation of any cell-
@@ -321,12 +321,12 @@ module m_global_parameters
321321 @:CRAY_DECLARE_GLOBAL(real (kind (0d0 )), dimension (:), weight)
322322 @:CRAY_DECLARE_GLOBAL(real (kind (0d0 )), dimension (:), R0)
323323 @:CRAY_DECLARE_GLOBAL(real (kind (0d0 )), dimension (:), V0)
324- !$acc declare link(weight, R0, V0)
324+ !$acc declare link(weight, R0, V0)
325325#else
326326 real (kind (0d0 )), dimension (:), allocatable :: weight !< Simpson quadrature weights
327327 real (kind (0d0 )), dimension (:), allocatable :: R0 !< Bubble sizes
328328 real (kind (0d0 )), dimension (:), allocatable :: V0 !< Bubble velocities
329- !$acc declare create(weight, R0, V0)
329+ !$acc declare create(weight, R0, V0)
330330#endif
331331 logical :: bubbles !< Bubbles on/ off
332332 logical :: polytropic !< Polytropic switch
@@ -336,10 +336,10 @@ module m_global_parameters
336336 integer :: thermal !< Thermal behavior. 1 = adiabatic, 2 = isotherm, 3 = transfer
337337#ifdef CRAY_ACC_WAR
338338 @:CRAY_DECLARE_GLOBAL(real (kind (0d0 )), dimension (:, :, :), ptil)
339- !$acc declare link(ptil)
339+ !$acc declare link(ptil)
340340#else
341341 real (kind (0d0 )), allocatable, dimension (:, :, :) :: ptil !< Pressure modification
342- !$acc declare create(ptil)
342+ !$acc declare create(ptil)
343343#endif
344344 real (kind (0d0 )) :: poly_sigma !< log normal sigma for polydisperse PDF
345345
@@ -358,11 +358,11 @@ module m_global_parameters
358358#ifdef CRAY_ACC_WAR
359359 @:CRAY_DECLARE_GLOBAL(type(scalar_field), dimension (:), mom_sp)
360360 @:CRAY_DECLARE_GLOBAL(type(scalar_field), dimension (:, :, :), mom_3d)
361- !$acc declare link(mom_sp, mom_3d)
361+ !$acc declare link(mom_sp, mom_3d)
362362#else
363363 type(scalar_field), allocatable, dimension (:) :: mom_sp
364364 type(scalar_field), allocatable, dimension (:, :, :) :: mom_3d
365- !$acc declare create(mom_sp, mom_3d)
365+ !$acc declare create(mom_sp, mom_3d)
366366#endif
367367 !> @}
368368
@@ -373,11 +373,11 @@ module m_global_parameters
373373#ifdef CRAY_ACC_WAR
374374 @:CRAY_DECLARE_GLOBAL(real (kind (0d0 )), dimension (:), k_n, k_v, pb0, mass_n0, mass_v0, Pe_T)
375375 @:CRAY_DECLARE_GLOBAL(real (kind (0d0 )), dimension (:), Re_trans_T, Re_trans_c, Im_trans_T, Im_trans_c, omegaN)
376- !$acc declare link( k_n, k_v, pb0, mass_n0, mass_v0, Pe_T, Re_trans_T, Re_trans_c, Im_trans_T, Im_trans_c, omegaN)
376+ !$acc declare link( k_n, k_v, pb0, mass_n0, mass_v0, Pe_T, Re_trans_T, Re_trans_c, Im_trans_T, Im_trans_c, omegaN)
377377#else
378378 real (kind (0d0 )), dimension (:), allocatable :: k_n, k_v, pb0, mass_n0, mass_v0, Pe_T
379379 real (kind (0d0 )), dimension (:), allocatable :: Re_trans_T, Re_trans_c, Im_trans_T, Im_trans_c, omegaN
380- !$acc declare create( k_n, k_v, pb0, mass_n0, mass_v0, Pe_T, Re_trans_T, Re_trans_c, Im_trans_T, Im_trans_c, omegaN)
380+ !$acc declare create( k_n, k_v, pb0, mass_n0, mass_v0, Pe_T, Re_trans_T, Re_trans_c, Im_trans_T, Im_trans_c, omegaN)
381381#endif
382382 real (kind (0d0 )) :: mul0, ss, gamma_v, mu_v
383383 real (kind (0d0 )) :: gamma_m, gamma_n, mu_n
@@ -404,10 +404,10 @@ module m_global_parameters
404404
405405#ifdef CRAY_ACC_WAR
406406 @:CRAY_DECLARE_GLOBAL(real (kind (0d0 )), dimension (:), gammas, gs_min, pi_infs, ps_inf, cvs, qvs, qvps)
407- !$acc declare link(gammas, gs_min, pi_infs, ps_inf, cvs, qvs, qvps)
407+ !$acc declare link(gammas, gs_min, pi_infs, ps_inf, cvs, qvs, qvps)
408408#else
409409 real (kind (0d0 )), allocatable, dimension (:) :: gammas, gs_min, pi_infs, ps_inf, cvs, qvs, qvps
410- !$acc declare create(gammas, gs_min, pi_infs, ps_inf, cvs, qvs, qvps)
410+ !$acc declare create(gammas, gs_min, pi_infs, ps_inf, cvs, qvs, qvps)
411411#endif
412412
413413 real (kind (0d0 )) :: mytime !< Current simulation time
@@ -419,13 +419,13 @@ module m_global_parameters
419419
420420 @:CRAY_DECLARE_GLOBAL(type(pres_field), dimension (:), mv_ts)
421421
422- !$acc declare link(pb_ts, mv_ts)
422+ !$acc declare link(pb_ts, mv_ts)
423423#else
424424 type(pres_field), allocatable, dimension (:) :: pb_ts
425425
426426 type(pres_field), allocatable, dimension (:) :: mv_ts
427427
428- !$acc declare create(pb_ts, mv_ts)
428+ !$acc declare create(pb_ts, mv_ts)
429429#endif
430430 ! ======================================================================
431431
0 commit comments