Changeset b0434e1 in flexpart.git for src/FLEXPART_MPI.f90


Ignore:
Timestamp:
Feb 4, 2016, 9:38:22 AM (8 years ago)
Author:
Espen Sollum ATMOS <eso@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
Children:
db712a8
Parents:
9484483
Message:

Initial code to handle cloud water in nested wind fields (it is not completely implemented in this commit)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/FLEXPART_MPI.f90

    rfddc6ec rb0434e1  
    6363! Initialize arrays in com_mod
    6464!*****************************
    65   call com_mod_allocate(maxpart_mpi)
     65  call com_mod_allocate_part(maxpart_mpi)
    6666
    6767  ! Generate a large number of random numbers
     
    195195  endif 
    196196  call readavailable
    197 !end if
     197
     198  ! If nested wind fields are used, allocate arrays
     199  !************************************************
     200
     201  if (verbosity.gt.0 .and. lroot) then
     202    write(*,*) 'call com_mod_allocate_nests'
     203  endif
     204  call com_mod_allocate_nests
    198205
    199206! Read the model grid specifications,
     
    445452! NIK 16.02.2005
    446453  if (lroot) then
    447     call MPI_Reduce(MPI_IN_PLACE, tot_blc_count, 1, MPI_INTEGER, MPI_SUM, id_root, &
     454    call MPI_Reduce(MPI_IN_PLACE, tot_blc_count, 1, MPI_INTEGER8, MPI_SUM, id_root, &
    448455         & mp_comm_used, mp_ierr)
    449     call MPI_Reduce(MPI_IN_PLACE, tot_inc_count, 1, MPI_INTEGER, MPI_SUM, id_root, &
     456    call MPI_Reduce(MPI_IN_PLACE, tot_inc_count, 1, MPI_INTEGER8, MPI_SUM, id_root, &
    450457         & mp_comm_used, mp_ierr)
    451458  else
    452459    if (mp_partgroup_pid.ge.0) then ! Skip for readwind process
    453       call MPI_Reduce(tot_blc_count, tot_blc_count, 1, MPI_INTEGER, MPI_SUM, id_root, &
     460      call MPI_Reduce(tot_blc_count, tot_blc_count, 1, MPI_INTEGER8, MPI_SUM, id_root, &
    454461           & mp_comm_used, mp_ierr)
    455       call MPI_Reduce(tot_inc_count, tot_inc_count, 1, MPI_INTEGER, MPI_SUM, id_root, &
     462      call MPI_Reduce(tot_inc_count, tot_inc_count, 1, MPI_INTEGER8, MPI_SUM, id_root, &
    456463           & mp_comm_used, mp_ierr)
    457464    end if
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG