Last change
on this file since 5863 was
5725,
checked in by aclsce, 3 years ago
|
Added new oasis3-MCT version to be used to handle ensembles simulations with XIOS.
|
File size:
711 bytes
|
Rev | Line | |
---|
[5725] | 1 | !********************************************************************************* |
---|
| 2 | SUBROUTINE hdlerr(status,w_unit,subn,file,line) |
---|
| 3 | !********************************************************************************* |
---|
| 4 | use netcdf |
---|
| 5 | implicit none |
---|
| 6 | ! |
---|
| 7 | INCLUDE 'mpif.h' |
---|
| 8 | ! |
---|
| 9 | ! Check for error message from NetCDF call |
---|
| 10 | ! |
---|
| 11 | integer, intent(in) :: status, line, w_unit |
---|
| 12 | character(len=*), intent(in) :: subn |
---|
| 13 | character(len=*), intent(in) :: file |
---|
| 14 | integer :: ierror |
---|
| 15 | ! |
---|
| 16 | IF (status .NE. NF90_NOERR) THEN |
---|
| 17 | write(w_unit,*) 'NetCDF Problem in routine : ',trim(subn) |
---|
| 18 | CALL FLUSH(w_unit) |
---|
| 19 | call routine_model_abort(w_unit,file,line) |
---|
| 20 | ENDIF |
---|
| 21 | ! |
---|
| 22 | RETURN |
---|
| 23 | END SUBROUTINE hdlerr |
---|
Note: See
TracBrowser
for help on using the repository browser.