Ignore:
Timestamp:
Jun 6, 2019, 5:08:45 PM (5 years ago)
Author:
Laurent Fairhead
Message:

Replaced STOP statements by a call to abort_physic in phylmd as per ticket #86
Still some work to be done in phylmd subdirectories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/create_etat0_limit_unstruct.F90

    r3470 r3531  
    6565  IMPLICIT NONE
    6666      INTEGER :: iflag_phys
    67       INTEGER :: ierr
     67      INTEGER :: ierr
     68      CHARACTER (LEN=20) :: modname='create_etat0_limit_unstruct'
     69      CHARACTER (LEN=80) :: abort_message
     70     
    6871      IF (grid_type==unstructured) THEN
    6972 
     
    8386                CALL MPI_Finalize(ierr)
    8487#endif
    85                 WRITE(lunout,*)   'create_etat0_limit_unstruct, Initial state file are created, all is fine'
    86                 STOP 0
     88                abort_message='create_etat0_limit_unstruct, Initial state file are created, all is fine'
     89                CALL abort_physic(modname,abort_message,0)
    8790              ENDIF
    8891!$OMP BARRIER
    89               STOP 'create_etat0_limit_unstruct, Initial state file are created, all is fine'
     92              abort_message='create_etat0_limit_unstruct, Initial state file are created, all is fine'              CALL abort_physic(modname,abort_message,0)
    9093          ENDIF
    9194        ELSE
     
    102105              ENDIF
    103106!$OMP BARRIER
    104               WRITE(lunout,*)   'create_etat0_limit_unstruct, Initial state file are created, all is fine'
    105               STOP 0
     107              abort_message='create_etat0_limit_unstruct, Initial state file are created, all is fine'
     108              CALL abort_physic(modname,abort_message,0)
    106109          ENDIF
    107110        ENDIF
Note: See TracChangeset for help on using the changeset viewer.