- Timestamp:
- 09/05/14 14:42:27 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/branches/SATURN_DYNAMICO/LMDZ.COMMON/libf/phystd/iostart.F90
r245 r270 44 44 CONTAINS 45 45 46 SUBROUTINE open_startphy(filename )46 SUBROUTINE open_startphy(filename,found) 47 47 USE netcdf, only: NF90_OPEN, NF90_NOERR, NF90_NOWRITE, nf90_strerror 48 48 USE mod_phys_lmdz_para, only: is_master, bcast 49 49 IMPLICIT NONE 50 CHARACTER(LEN=*) :: filename 50 CHARACTER(LEN=*),INTENT(IN) :: filename 51 LOGICAL,INTENT(OUT),OPTIONAL :: found 51 52 INTEGER :: ierr 52 53 … … 56 57 write(*,*)'open_startphy: problem opening file '//trim(filename) 57 58 write(*,*)trim(nf90_strerror(ierr)) 58 CALL ABORT 59 !CALL ABORT 60 found=.false. 61 ELSE 62 found=.true. 59 63 ENDIF 60 64 ENDIF 61 65 62 66 CALL bcast(nid_start) ! tell all procs about nid_start 67 if(present(found)) CALL bcast(found) 63 68 64 69 END SUBROUTINE open_startphy
Note: See TracChangeset
for help on using the changeset viewer.