exitmpi Subroutine

public subroutine exitmpi()

Arguments

None

Calls

proc~~exitmpi~~CallsGraph proc~exitmpi modmpi::exitmpi mpi_comm_free mpi_comm_free proc~exitmpi->mpi_comm_free mpi_finalize mpi_finalize proc~exitmpi->mpi_finalize mpi_wtime mpi_wtime proc~exitmpi->mpi_wtime

Called by

proc~~exitmpi~~CalledByGraph proc~exitmpi modmpi::exitmpi proc~exitmodules modstartup::exitmodules proc~exitmodules->proc~exitmpi program~dalesurban DALESURBAN program~dalesurban->proc~exitmodules

Contents

Source Code


Source Code

  subroutine exitmpi
    implicit none


    if(myid==0)then
      CPU_program = MPI_Wtime() - CPU_program0
      write(6,*)'TOTAL CPU time = ', CPU_program
    end if

    call MPI_Comm_free( comm3d, mpierr )
    call MPI_FINALIZE(mpierr)
  end subroutine exitmpi