Ignore:
Timestamp:
12/15/14 17:04:28 (10 years ago)
Author:
ymipsl
Message:
  • implement splitting of XIOS file for lmdz physics
  • Termination is done properly in parallel by calling MPI_ABORT instead of abort or stop

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/branches/SATURN_DYNAMICO/LMDZ.COMMON/libf/phystd/start2archive.F

    r227 r313  
    176176       IF (ierr.NE.NF_NOERR) THEN 
    177177         write(6,*)' Pb d''ouverture du fichier'//trim(fichnom) 
    178         CALL ABORT 
     178        CALL abort_physiq 
    179179       ENDIF 
    180180                                                 
     
    182182      IF (ierr .NE. NF_NOERR) THEN 
    183183       PRINT*, "start2archive: Le champ <controle> est absent" 
    184        CALL abort 
     184       CALL abort_physiq 
    185185      ENDIF 
    186186#ifdef NC_DOUBLE 
     
    191191       IF (ierr .NE. NF_NOERR) THEN 
    192192          PRINT*, "start2archive: Lecture echoue pour <controle>" 
    193           CALL abort 
     193          CALL abort_physiq 
    194194       ENDIF 
    195195 
     
    217217       IF (ierr.NE.NF_NOERR) THEN 
    218218         write(6,*)' Pb d''ouverture du fichier'//trim(fichnom) 
    219         CALL ABORT 
     219        CALL abort_physiq 
    220220       ENDIF 
    221221                                                 
     
    223223      IF (ierr .NE. NF_NOERR) THEN 
    224224       PRINT*, "start2archive: Le champ <controle> est absent" 
    225        CALL abort 
     225       CALL abort_physiq 
    226226      ENDIF 
    227227#ifdef NC_DOUBLE 
     
    232232       IF (ierr .NE. NF_NOERR) THEN 
    233233          PRINT*, "start2archive: Lecture echoue pour <controle>" 
    234           CALL abort 
     234          CALL abort_physiq 
    235235       ENDIF 
    236236 
     
    242242c----------------------------------------------------------------------- 
    243243!mars a voir      if ((day_ini_fi.ne.day_ini).or.(abs(timefi-timedyn).gt.1.e-10))  
    244       if ((day_ini_fi.ne.day_ini))  
    245      &  stop ' Probleme de Synchro entre start et startfi !!!' 
     244      if ((day_ini_fi.ne.day_ini)) THEN 
     245        PRINT*, 'Probleme de Synchro entre start et startfi !!!' 
     246        CALL abort_physiq 
     247      endif 
    246248 
    247249 
     
    401403      if (ierr.ne.NF_NOERR) then 
    402404         write(*,*) "time matter ",NF_STRERROR(ierr) 
    403          stop 
     405         CALL abort_physiq 
    404406      endif 
    405407 
Note: See TracChangeset for help on using the changeset viewer.