Changeset 10425 for NEMO/trunk/src/OCE/module_example
- Timestamp:
- 2018-12-19T22:54:16+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/module_example
r10068 r10425 63 63 ALLOCATE( array(jpi,jpj,jpk) , STAT= exa_mpl_alloc ) ! Module array 64 64 ! 65 IF( lk_mpp ) CALL mpp_sum (exa_mpl_alloc )66 IF( exa_mpl_alloc /= 0 ) CALL ctl_ warn('exa_mpl_alloc: failed to allocate arrays')65 CALL mpp_sum ( 'module_example', exa_mpl_alloc ) 66 IF( exa_mpl_alloc /= 0 ) CALL ctl_stop( 'STOP', 'exa_mpl_alloc: failed to allocate arrays' ) 67 67 ! 68 68 END FUNCTION exa_mpl_alloc … … 127 127 END SELECT 128 128 ! 129 CALL lbc_lnk( avm, 'T', 1. ) ! Lateral boundary conditions (unchanged sign)129 CALL lbc_lnk( 'module_example', avm, 'T', 1. ) ! Lateral boundary conditions (unchanged sign) 130 130 ! 131 131 END SUBROUTINE exa_mpl … … 176 176 ! ! Parameter control 177 177 IF( ln_opt ) CALL ctl_stop( 'exa_mpl_init: this work and option xxx are incompatible' ) 178 IF( nn_opt == 2 ) CALL ctl_ warn( 'exa_mpl_init: this work and option yyy may cause problems')178 IF( nn_opt == 2 ) CALL ctl_stop( 'STOP', 'exa_mpl_init: this work and option yyy may cause problems' ) 179 179 ! 180 180 END SUBROUTINE exa_mpl_init
Note: See TracChangeset
for help on using the changeset viewer.