psmile_trs_set_triple_links.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_set_triple_links
00008 !
00009 ! !INTERFACE:
00010 subroutine psmile_trs_set_triple_links(id_trans_out_id,     &     
00011                                        id_trans_in_id,      &
00012                                        id_epio_id,          &
00013                                        id_trans_rank,       &
00014                                        id_err               )
00015 
00016 !
00017 ! !USES:
00018 !
00019   use PRISM_constants
00020   USE PSMILe, dummy_interface => PSMILe_Trs_set_triple_links
00021 
00022   IMPLICIT NONE
00023 !
00024 ! !INPUT PARAMETERS:
00025 !
00026   INTEGER, INTENT (In)               :: id_trans_out_id
00027   INTEGER, INTENT (In)               :: id_trans_in_id
00028   INTEGER, INTENT (In)               :: id_epio_id
00029   INTEGER, INTENT (In)               :: id_trans_rank
00030 
00031 !
00032 ! !OUTPUT PARAMETERS:
00033 !
00034   INTEGER, INTENT (Out)               :: id_err       ! error value
00035 
00036 ! !DESCRIPTION:
00037 ! Subroutine "PSMILe_Trs_set_triple_links" gives information to the transformer
00038 ! in order for him to link a couple trans_in, trans_out with an epio
00039 !
00040 ! !REVISION HISTORY:
00041 !   Date      Programmer   Description
00042 ! ----------  ----------   -----------
00043 ! 03/12/2002  D. Declat      Creation 
00044 !
00045 !EOP
00046 !-------------------------------------------------------------------------
00047 ! $Id: psmile_trs_set_triple_links.F90 2325 2010-04-21 15:00:07Z valcke $
00048 ! $Author: valcke $
00049 !-------------------------------------------------------------------------
00050 !
00051 ! 0. Local declarations
00052 !
00053   CHARACTER(LEN=len_cvs_string), SAVE  :: mycvs = 
00054      '$Id: psmile_trs_set_triple_links.F90 2325 2010-04-21 15:00:07Z valcke $'
00055 
00056   INTEGER, DIMENSION(PSMILe_trans_Header_length) :: ila_args 
00057 !
00058 !----------------------------------------------------------------------
00059 !
00060 #ifdef VERBOSE
00061       print *, trim(ch_id), ': PSMILe_Trs_set_triple_links: start'
00062       call psmile_flushstd
00063 #endif /* VERBOSE */
00064 
00065 !
00066 ! 1. Set the header message
00067 !
00068 ! 1.1. Initialize the contents to 999999
00069 
00070   ila_args = 999999
00071 
00072 ! 1.2. Content : action, global rank, tgt_comp_id, tgt_process,
00073 !      tgt_comp_id, tgt_process, size
00074 
00075   ila_args(1) = PSMILe_trans_Set_triple_links
00076   ila_args(2) = global_rank
00077   ila_args(3) = id_trans_out_id
00078   ila_args(4) = id_trans_in_id
00079   ila_args(5) = id_epio_id
00080 
00081 !
00082 ! 2. Send the header message to the transformer
00083 !
00084   call psmile_trs_inform(ila_args, id_trans_rank, id_err)
00085 
00086   
00087 #ifdef VERBOSE
00088       print *,trim(ch_id),': PSMILe_Trs_set_triple_links: eof ierror =', id_err
00089 #endif /* VERBOSE */
00090   
00091 END SUBROUTINE PSMILe_Trs_set_triple_links

Generated on 18 Mar 2011 for Oasis4 by  doxygen 1.6.1