- Timestamp:
- Jan 10, 2013, 10:07:14 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 5 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/README
r861 r862 858 858 - Fixed a small bug in a diagnostic in the end of calc_rayleigh. Some picky compilers complain. 859 859 - Fixed a small bug with the array noms which is not allocated when tracer is false. But still need in physdem1. 860 861 == 10/01/2013 == AS 862 Added calls to FH subroutines to output physical fields in parallel. This is under precompiling flags CPP_PARA. 863 This allows for LMDZ.UNIVERSAL users to use writediagfi with parallel computations. 864 These lines are not compiled by casual users of LMDZ.GENERIC (or users of LMDZ.UNIVERSAL in sequential mode). -
trunk/LMDZ.GENERIC/libf/phystd/physiq.F90
r861 r862 1856 1856 IF ( ALLOCATED(coslon)) DEALLOCATE(coslon) 1857 1857 1858 #ifdef CPP_PARA 1859 ! close diagfi.nc in parallel 1860 call iotd_fin 1861 #endif 1858 1862 1859 1863 endif -
trunk/LMDZ.GENERIC/libf/phystd/writediagfi.F
r787 r862 97 97 logical,save :: firstcall=.true. 98 98 99 integer dimvert 100 99 101 !*************************************************************** 100 102 !Sortie des variables au rythme voulu … … 108 110 !*************************************************************** 109 111 110 #ifndef NOWRITEDIAGFI111 112 112 113 ! At very first call, check if there is a "diagfi.def" to use and read it … … 150 151 end if 151 152 153 152 154 ! Initialisation of 'firstnom' and create/open the "diagfi.nc" NetCDF file 153 155 ! ------------------------------------------------------------------------ … … 165 167 endif 166 168 169 zitau = -1 ! initialize zitau 170 171 #ifdef CPP_PARA 172 !! parallel: we cannot use the usual writediagfi method 173 call iophys_ini 174 #else 167 175 ! Create the NetCDF file 168 176 ierr = NF_CREATE(fichnom, NF_CLOBBER, nid) … … 187 195 call gr_fi_dyn(1,ngrid,iip1,jjp1,phisfi,phis) 188 196 call iniwrite(nid,day_ini,phis) 189 190 zitau = -1 ! initialize zitau 197 191 198 else 192 199 ! Open the NetCDF file 193 200 ierr = NF_OPEN(fichnom,NF_WRITE,nid) 201 #endif 194 202 endif ! if (firstnom.eq.'1234567890') 195 203 … … 214 222 215 223 if ( MOD(zitau+1,irythme) .eq.0.) then 224 225 #ifdef CPP_PARA 226 !! parallel: we cannot use the usual writediagfi method 227 if (dim .eq. 2) then 228 dimvert = 1 229 else if (dim == 3) then 230 dimvert = llm 231 endif 232 call iophys_ecrit(nom,dimvert,titre,unite,px) 233 #else 216 234 217 235 ! Compute/write/extend 'Time' coordinate (date given in days) … … 444 462 445 463 endif ! of if (dim.eq.3) elseif(dim.eq.2)... 464 #endif 446 465 447 466 endif ! of if ( MOD(zitau+1,irythme) .eq.0.) 448 467 468 #ifndef CPP_PARA 449 469 ierr= NF_CLOSE(nid) 450 451 470 #endif 452 471 -
trunk/LMDZ.UNIVERSAL/README.aymeric
r852 r862 32 32 33 33 34 makelmdz_fcm -d 64x48x20 -arch CICLADifort -parallel mpi -p generic -debug -cpp NOWRITEDIAGFIgcm35 makelmdz_fcm -d 64x48x20 -arch CICLADifort -parallel mpi -p generic -cpp NOWRITEDIAGFIgcm34 makelmdz_fcm -d 64x48x20 -arch CICLADifort -parallel mpi -p generic -debug gcm 35 makelmdz_fcm -d 64x48x20 -arch CICLADifort -parallel mpi -p generic gcm 36 36 37 37 … … 39 39 makegcm -d 64x48x20 -t 2 gcm 40 40 41 makelmdz_fcm -d 128x96x20 -arch GNOMEp -parallel mpi -p generic -cpp NOWRITEDIAGFIgcm41 makelmdz_fcm -d 128x96x20 -arch GNOMEp -parallel mpi -p generic gcm 42 42 43 43
Note: See TracChangeset
for help on using the changeset viewer.