Changeset 2311 for LMDZ5/trunk/libf/phylmd/pbl_surface_mod.F90
- Timestamp:
- Jun 25, 2015, 9:45:24 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/pbl_surface_mod.F90
r2307 r2311 49 49 50 50 USE indice_sol_mod 51 USE print_control_mod, ONLY: lunout 51 52 52 53 INCLUDE "dimsoil.h" 53 INCLUDE "iniprint.h"54 54 55 55 ! Input variables … … 73 73 !**************************************************************************************** 74 74 ALLOCATE(fder(klon), stat=ierr) 75 IF (ierr /= 0) CALL abort_ gcm('pbl_surface_init', 'pb in allocation',1)75 IF (ierr /= 0) CALL abort_physic('pbl_surface_init', 'pb in allocation',1) 76 76 77 77 ALLOCATE(snow(klon,nbsrf), stat=ierr) 78 IF (ierr /= 0) CALL abort_ gcm('pbl_surface_init', 'pb in allocation',1)78 IF (ierr /= 0) CALL abort_physic('pbl_surface_init', 'pb in allocation',1) 79 79 80 80 ALLOCATE(qsurf(klon,nbsrf), stat=ierr) 81 IF (ierr /= 0) CALL abort_ gcm('pbl_surface_init', 'pb in allocation',1)81 IF (ierr /= 0) CALL abort_physic('pbl_surface_init', 'pb in allocation',1) 82 82 83 83 ALLOCATE(ftsoil(klon,nsoilmx,nbsrf), stat=ierr) 84 IF (ierr /= 0) CALL abort_ gcm('pbl_surface_init', 'pb in allocation',1)84 IF (ierr /= 0) CALL abort_physic('pbl_surface_init', 'pb in allocation',1) 85 85 86 86 … … 100 100 WRITE(lunout,*)"or on doit commencer par les surfaces continentales" 101 101 abort_message="voir ci-dessus" 102 CALL abort_ gcm(modname,abort_message,1)102 CALL abort_physic(modname,abort_message,1) 103 103 ENDIF 104 104 … … 109 109 WRITE(lunout,*)' or is_oce = ',is_oce, '> is_sic = ',is_sic 110 110 abort_message='voir ci-dessus' 111 CALL abort_ gcm(modname,abort_message,1)111 CALL abort_physic(modname,abort_message,1) 112 112 ENDIF 113 113 … … 118 118 WRITE(lunout,*)' or is_lic = ',is_lic, '> is_sic = ',is_sic 119 119 abort_message='voir ci-dessus' 120 CALL abort_ gcm(modname,abort_message,1)120 CALL abort_physic(modname,abort_message,1) 121 121 ENDIF 122 122 … … 130 130 WRITE(lunout,*)'Option couplage pour l''ocean = ', type_ocean 131 131 abort_message='option pour l''ocean non valable' 132 CALL abort_ gcm(modname,abort_message,1)132 CALL abort_physic(modname,abort_message,1) 133 133 ENDIF 134 134 … … 261 261 USE carbon_cycle_mod, ONLY : carbon_cycle_cpl, co2_send 262 262 USE indice_sol_mod 263 USE print_control_mod, ONLY: prt_level,lunout 263 264 264 265 IMPLICIT NONE … … 266 267 INCLUDE "dimsoil.h" 267 268 INCLUDE "YOMCST.h" 268 INCLUDE "iniprint.h"269 269 INCLUDE "YOETHF.h" 270 270 INCLUDE "FCTTRE.h" … … 1871 1871 WRITE(lunout,*) 'Surface index = ', nsrf 1872 1872 abort_message = 'Surface index not valid' 1873 CALL abort_ gcm(modname,abort_message,1)1873 CALL abort_physic(modname,abort_message,1) 1874 1874 END SELECT 1875 1875 … … 3089 3089 ! Security abort. This option has never been tested. To test, comment the following line. 3090 3090 ! abort_message='The fraction of the continents have changed!' 3091 ! CALL abort_ gcm(modname,abort_message,1)3091 ! CALL abort_physic(modname,abort_message,1) 3092 3092 nfois(nsrf) = nfois(nsrf) + 1 3093 3093 END IF
Note: See TracChangeset
for help on using the changeset viewer.