- Timestamp:
- Jan 25, 2016, 10:47:14 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/regr_pr_av_m.F90
r3819 r3895 46 46 47 47 integer, intent(in):: ncid ! NetCDF ID of the file 48 49 !ym character(len=*), intent(in):: name(:) ! of the NetCDF variables 50 !ym for strange reason, ifort doens't detect correctly the array size (return 0) 51 !ym compilator bug , version dependent ? 52 48 53 character(len=*), intent(in):: name(:) ! of the NetCDF variables 49 54 integer, intent(in):: julien ! jour julien, 1 <= julien <= 360 … … 66 71 integer varid, ncerr ! for NetCDF 67 72 68 real v1(nbp_lon, nbp_lat, size(press_in_edg) - 1, size( name))73 real v1(nbp_lon, nbp_lat, size(press_in_edg) - 1, size(v3,3)) 69 74 ! input fields at day "julien", on the global "dynamics" horizontal grid 70 75 ! First dimension is for longitude. … … 74 79 ! NetCDF variable "name(l)". 75 80 76 real v2(klon, size(press_in_edg) - 1, size( name))81 real v2(klon, size(press_in_edg) - 1, size(v3,3)) 77 82 ! fields scattered to the partial "physics" horizontal grid 78 83 ! "v2(i, k, l)" is at longitude "xlon(i)", latitude "xlat(i)", … … 85 90 86 91 call assert(size(v3, 1) == klon, size(v3, 2) == klev, "regr_pr_av v3 klon") 87 n_var = assert_eq(size(name), size(v3, 3), "regr_pr_av v3 n_var") 92 PRINT *,'size name',size(name) 93 !ym n_var = assert_eq(size(name), size(v3, 3), "regr_pr_av v3 n_var") 94 !ym intel bugs compiler : ifort doesn't detect correcte size of nme (return 0) 95 96 n_var = size(v3, 3) 97 88 98 call assert(shape(paprs) == (/klon, klev+1/), "regr_pr_av paprs") 89 99
Note: See TracChangeset
for help on using the changeset viewer.