Changeset 772 for LMDZ4/trunk


Ignore:
Timestamp:
Jun 5, 2007, 2:31:44 PM (17 years ago)
Author:
Laurent Fairhead
Message:

Suite du merge entre la version et la HEAD: quelques modifications de Yann sur le LF

Location:
LMDZ4/trunk/libf/bibio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/bibio/vampir.F90

    r761 r772  
    99  INTEGER,parameter :: VTinca=7
    1010 
     11  INTEGER,parameter :: nb_inst=7
     12  INTEGER :: MPE_begin(nb_inst)
     13  INTEGER :: MPE_end(nb_inst)
     14 
    1115contains
    1216
    1317  subroutine InitVampir
    1418    implicit none
     19
    1520#ifdef USE_VT
    1621    include 'VT.inc'
     
    2429    call VTSYMDEF(VTphysiq,"physiq","physiq",ierr)
    2530    call VTSYMDEF(VTinca,"inca","inca",ierr)
    26 #endif 
     31#endif
     32
     33#ifdef USE_MPE
     34    include 'mpe_logf.h'
     35    integer :: ierr,i
     36   
     37    DO i=1,nb_inst
     38      ierr = MPE_Log_get_state_eventIDs( MPE_begin(i), MPE_end(i) )
     39    ENDDO
     40   
     41    ierr = MPE_Describe_state( MPE_begin(VTcaldyn), MPE_end(VTcaldyn),"caldyn", "yellow" )
     42    ierr = MPE_Describe_state( MPE_begin(VTintegre), MPE_end(VTintegre),"integre", "blue" )
     43    ierr = MPE_Describe_state( MPE_begin(VTadvection), MPE_end(VTadvection),"advection", "green" )
     44    ierr = MPE_Describe_state( MPE_begin(VTdissipation), MPE_end(VTdissipation),"dissipation", "ivory" )
     45    ierr = MPE_Describe_state( MPE_begin(VThallo), MPE_end(VThallo),"hallo", "orange" )
     46    ierr = MPE_Describe_state( MPE_begin(VTphysiq), MPE_end(VTphysiq),"physiq", "purple" )
     47    ierr = MPE_Describe_state( MPE_begin(VTinca), MPE_end(VTinca),"inca", "LightBlue" )
     48#endif     
    2749  end subroutine InitVampir
    28  
     50
    2951  subroutine VTb(number)
    3052    implicit none
     
    3557   
    3658    call VTBEGIN(number,ierr)
     59#endif
     60#ifdef USE_MPE
     61    include 'mpe_logf.h'
     62    integer :: ierr,i
     63    ierr = MPE_Log_event( MPE_begin(number), 0, '' )
    3764#endif
     65
    3866  end subroutine VTb
    39  
     67
    4068  subroutine VTe(number)
    4169    implicit none
     
    4876#endif   
    4977
     78#ifdef USE_MPE
     79    include 'mpe_logf.h'
     80    integer :: ierr,i
     81    ierr = MPE_Log_event( MPE_end(number), 0, '' )
     82#endif
     83
    5084  end subroutine VTe
    5185 
    5286end module Vampir
    53  
  • LMDZ4/trunk/libf/bibio/write_field.F90

    r761 r772  
     1!
     2! $Header$
     3!
    14module write_field
    25implicit none
Note: See TracChangeset for help on using the changeset viewer.