psmile_trs_inform.F90

Go to the documentation of this file.
00001 !------------------------------------------------------------------------
00002 ! Copyright 2006-2010, CERFACS, Toulouse, France.
00003 ! All rights reserved. Use is subject to OASIS4 license terms.
00004 !-----------------------------------------------------------------------
00005 !BOP
00006 !
00007 ! !ROUTINE: PSMILe_Trs_inform
00008 !
00009 ! !INTERFACE:
00010 subroutine psmile_trs_inform(ida_args, id_trans_rank, id_err)
00011 
00012 !
00013 ! !USES:
00014 !
00015   use PRISM_constants
00016   USE PSMILe, dummy_interface => PSMILe_Trs_inform
00017 
00018   IMPLICIT NONE
00019 !
00020 ! !INPUT PARAMETERS:
00021 !
00022   INTEGER, DIMENSION(PSMILe_trans_Header_length), INTENT (In)    :: ida_args
00023   INTEGER, INTENT (In)    :: id_trans_rank
00024 
00025 !
00026 ! !OUTPUT PARAMETERS:
00027 !
00028   INTEGER, INTENT (Out)                 :: id_err   ! error value
00029   
00030 ! !DESCRIPTION:
00031 ! Subroutine "PSMILe_Trs_inform" informs the transformer that a process 
00032 ! requires an action through the header message sent.
00033 !
00034 ! !REVISION HISTORY:
00035 !   Date      Programmer   Description
00036 ! ----------  ----------   -----------
00037 ! 09/12/2002  D. Declat    Creation
00038 !
00039 !EOP
00040 !----------------------------------------------------------------------
00041 ! $Id: psmile_trs_inform.F90 2325 2010-04-21 15:00:07Z valcke $
00042 ! $Author: valcke $
00043 !----------------------------------------------------------------------
00044 !
00045   CHARACTER(LEN=len_cvs_string), SAVE  :: mycvs = '$Id: psmile_trs_inform.F90 2325 2010-04-21 15:00:07Z valcke $'
00046 
00047 !----------------------------------------------------------------------
00048 !
00049 #ifdef VERBOSE
00050       print *, trim(ch_id), ': PSMILe_Trs_inform: start'
00051       call psmile_flushstd
00052 #endif /* VERBOSE */
00053 
00054 !
00055 ! 1. Send the header message to the transformer
00056 !
00057       CALL MPI_Send(ida_args(1), PSMILe_trans_Header_length, MPI_Integer, &
00058                       id_trans_rank, 0, comm_trans, id_err)
00059 
00060 #ifdef VERBOSE
00061       print *, trim(ch_id), ': PSMILe_Trs_inform: eof ierror =', &
00062                id_err
00063       call psmile_flushstd
00064 #endif /* VERBOSE */
00065   
00066 END SUBROUTINE PSMILe_Trs_inform
00067 
00068 

Generated on 18 Mar 2011 for Oasis4 by  doxygen 1.6.1