- Timestamp:
- Apr 15, 2015, 6:49:07 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/carbon_cycle_mod.F90
r3809 r3814 88 88 USE comgeomphy 89 89 USE mod_phys_lmdz_transfert_para 90 USE infotrac 90 USE infotrac_phy 91 91 USE IOIPSL 92 92 USE surface_data, ONLY : ok_veget, type_ocean … … 135 135 WRITE(lunout,*) 'carbon_cycle_emis_comp = ',carbon_cycle_emis_comp 136 136 IF (carbon_cycle_emis_comp) THEN 137 CALL abort_ gcm('carbon_cycle_init', 'carbon_cycle_emis_comp option not yet implemented!!',1)137 CALL abort_physic('carbon_cycle_init', 'carbon_cycle_emis_comp option not yet implemented!!',1) 138 138 END IF 139 139 END IF … … 225 225 co2trac(itc)%updatefreq = 86400 226 226 ! DOES THIS WORK ???? Problematic due to implementation of the coupled fluxes... 227 CALL abort_ gcm('carbon_cycle_init','transport of total CO2 has to be implemented and tested',1)227 CALL abort_physic('carbon_cycle_init','transport of total CO2 has to be implemented and tested',1) 228 228 END SELECT 229 229 END DO … … 247 247 ! Allocate vector for storing fluxes to inject 248 248 ALLOCATE(dtr_add(klon,maxco2trac), stat=ierr) 249 IF (ierr /= 0) CALL abort_ gcm('carbon_cycle_init', 'pb in allocation 11',1)249 IF (ierr /= 0) CALL abort_physic('carbon_cycle_init', 'pb in allocation 11',1) 250 250 251 251 ! Allocate variables for cumulating fluxes from ORCHIDEE … … 253 253 IF (.NOT. carbon_cycle_tr .AND. carbon_cycle_cpl) THEN 254 254 ALLOCATE(fco2_land_day(klon), stat=ierr) 255 IF (ierr /= 0) CALL abort_ gcm('carbon_cycle_init', 'pb in allocation 2',1)255 IF (ierr /= 0) CALL abort_physic('carbon_cycle_init', 'pb in allocation 2',1) 256 256 fco2_land_day(1:klon) = 0. 257 257 258 258 ALLOCATE(fco2_lu_day(klon), stat=ierr) 259 IF (ierr /= 0) CALL abort_ gcm('carbon_cycle_init', 'pb in allocation 3',1)259 IF (ierr /= 0) CALL abort_physic('carbon_cycle_init', 'pb in allocation 3',1) 260 260 fco2_lu_day(1:klon) = 0. 261 261 END IF … … 267 267 ! IF (carbon_cycle_cpl .AND. type_ocean/='couple') THEN 268 268 ! WRITE(lunout,*) 'Coupling with ocean model is needed for carbon_cycle_cpl' 269 ! CALL abort_ gcm('carbon_cycle_init', 'coupled ocean is needed for carbon_cycle_cpl',1)269 ! CALL abort_physic('carbon_cycle_init', 'coupled ocean is needed for carbon_cycle_cpl',1) 270 270 ! END IF 271 271 ! 272 272 ! IF (carbon_cycle_cpl .AND..NOT. ok_veget) THEN 273 273 ! WRITE(lunout,*) 'Coupling with surface land model ORCHDIEE is needed for carbon_cycle_cpl' 274 ! CALL abort_ gcm('carbon_cycle_init', 'ok_veget is needed for carbon_cycle_cpl',1)274 ! CALL abort_physic('carbon_cycle_init', 'ok_veget is needed for carbon_cycle_cpl',1) 275 275 ! END IF 276 276 … … 278 278 teststop=0 279 279 DO it=1,teststop 280 CALL abort_ gcm('carbon_cycle_init', 'Entering loop from 1 to 0',1)280 CALL abort_physic('carbon_cycle_init', 'Entering loop from 1 to 0',1) 281 281 END DO 282 282 … … 284 284 ! No carbon tracers found in tracer.def. It is not possible to do carbon cycle 285 285 WRITE(lunout,*) 'No carbon tracers found in tracer.def. Not ok with carbon_cycle_tr and/or carbon_cycle_cp' 286 CALL abort_ gcm('carbon_cycle_init', 'No carbon tracers found in tracer.def',1)286 CALL abort_physic('carbon_cycle_init', 'No carbon tracers found in tracer.def',1) 287 287 END IF 288 288 … … 303 303 ! - Calculate CO2 flux to send to ocean and land models (PISCES and ORCHIDEE) 304 304 305 USE infotrac 305 USE infotrac_phy 306 306 USE dimphy 307 307 USE mod_phys_lmdz_transfert_para … … 370 370 CASE DEFAULT 371 371 WRITE(lunout,*) 'Error with tracer ',co2trac(it)%name 372 CALL abort_ gcm('carbon_cycle', 'No coupling implemented for this tracer',1)372 CALL abort_physic('carbon_cycle', 'No coupling implemented for this tracer',1) 373 373 END SELECT 374 374 ELSE
Note: See TracChangeset
for help on using the changeset viewer.