Changeset d2a5a83 in flexpart.git for src/outgrid_init.f90
- Timestamp:
- Dec 4, 2017, 1:18:12 PM (6 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
- Children:
- 01e6052
- Parents:
- 0ecc1fe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/outgrid_init.f90
r0ecc1fe rd2a5a83 234 234 end if 235 235 #endif 236 !if (ldirect.gt.0) then237 if (lroot.and.mpi_mode.gt.0) then238 allocate(wetgridunc0(0:numxgrid-1,0:numygrid-1,maxspec, &239 maxpointspec_act,nclassunc,maxageclass),stat=stat)240 if (stat.ne.0) write(*,*)'ERROR: could not allocate wetgridunc0'241 allocate(drygridunc0(0:numxgrid-1,0:numygrid-1,maxspec, &242 maxpointspec_act,nclassunc,maxageclass),stat=stat)243 if (stat.ne.0) write(*,*)'ERROR: could not allocate drygridunc0'244 236 if (ldirect.gt.0) then 237 if (lroot.and.mpi_mode.gt.0) then 238 allocate(wetgridunc0(0:numxgrid-1,0:numygrid-1,maxspec, & 239 maxpointspec_act,nclassunc,maxageclass),stat=stat) 240 if (stat.ne.0) write(*,*)'ERROR: could not allocate wetgridunc0' 241 allocate(drygridunc0(0:numxgrid-1,0:numygrid-1,maxspec, & 242 maxpointspec_act,nclassunc,maxageclass),stat=stat) 243 if (stat.ne.0) write(*,*)'ERROR: could not allocate drygridunc0' 244 245 245 ! allocate a dummy to avoid compilator complaints 246 else if (.not.lroot.and.mpi_mode.gt.0) then 247 allocate(wetgridunc0(1,1,1,1,1,1),stat=stat) 248 allocate(drygridunc0(1,1,1,1,1,1),stat=stat) 246 else if (.not.lroot.and.mpi_mode.gt.0) then 247 allocate(wetgridunc0(1,1,1,1,1,1),stat=stat) 248 allocate(drygridunc0(1,1,1,1,1,1),stat=stat) 249 end if 249 250 end if 250 251
Note: See TracChangeset
for help on using the changeset viewer.