Changeset 7792 for branches/ORCHIDEE_2_2
- Timestamp:
- 2022-11-03T13:21:32+01:00 (2 years ago)
- Location:
- branches/ORCHIDEE_2_2/ORCHIDEE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ORCHIDEE_2_2/ORCHIDEE/src_global/time.f90
r6269 r7792 38 38 USE defprec 39 39 USE constantes_var 40 USE mod_orchidee_para_var, ONLY : numout 40 USE mod_orchidee_para_var, ONLY : numout, is_mpi_root, is_omp_root 41 41 USE ioipsl 42 42 USE ioipsl_para … … 131 131 printlev_loc=printlev 132 132 CALL getin_p('PRINTLEV_time', printlev_loc) 133 IF (printlev_loc .EQ. 1) THEN 134 IF (is_mpi_root.AND.is_omp_root) THEN 135 ! Keep output level 1 only for the master processor 136 printlev_loc=1 137 ELSE 138 ! Change output level for all other processors 139 printlev_loc=0 140 END IF 141 END IF 142 143 133 144 134 145 !! Save length of sechiba time step in module variable -
branches/ORCHIDEE_2_2/ORCHIDEE/src_parameters/constantes.f90
r7709 r7792 35 35 USE defprec 36 36 USE ioipsl_para, ONLY : getin_p, ipslerr_p 37 USE mod_orchidee_para_var, ONLY : numout 37 USE mod_orchidee_para_var, ONLY : numout, is_mpi_root, is_omp_root 38 USE mod_orchidee_para, ONLY : Set_stdout_file 38 39 USE time, ONLY : one_day, dt_sechiba 39 40 … … 2387 2388 !! 1.0 Read the global PRINTLEV from run.def. This is only done at first call to this function. 2388 2389 IF (first) THEN 2389 !Config Key = PRINTLEV 2390 !Config Desc = Print level for text output 2391 !Config If = 2392 !Config Help = Possible values are: 2393 !Config 0 No output, 2394 !Config 1 Minimum writing for long simulations, 2395 !Config 2 More basic information for long simulations, 2396 !Config 3 First debug level, 2397 !Config 4 Higher debug level 2398 !Config Def = 2 2399 !Config Units = [0, 1, 2, 3, 4] 2400 ! Default value is set in constantes_var 2401 CALL getin_p('PRINTLEV',printlev) 2390 CALL Set_stdout_file('out_orchidee') 2402 2391 first=.FALSE. 2403 2392 … … 2417 2406 CALL getin_p('PRINTLEV_'//modname, get_printlev) 2418 2407 2408 IF (get_printlev .EQ. 1) THEN 2409 IF (is_mpi_root.AND.is_omp_root) THEN 2410 ! Keep output level 1 only for the master processor 2411 get_printlev=1 2412 ELSE 2413 ! Change output level for all other processors 2414 get_printlev=0 2415 END IF 2416 END IF 2417 2419 2418 END FUNCTION get_printlev 2420 2419 -
branches/ORCHIDEE_2_2/ORCHIDEE/src_sechiba/intersurf.f90
r7265 r7792 219 219 220 220 ! Initialize specific write level 221 printlev_loc=get_printlev('in stersurf')221 printlev_loc=get_printlev('intersurf') 222 222 223 223 OFF_LINE_MODE = .TRUE. … … 740 740 INTEGER,DIMENSION(kjpindex) :: kindex_offset 741 741 742 742 743 IF (printlev >= 1) WRITE(*,*) 'Start ORCHIDEE' 743 744 … … 749 750 CALL barrier2_omp() 750 751 CALL init_orchidee_data_para(kjpindex,kindex,orch_offset,orch_omp_size,orch_omp_rank,COMM) 751 CALL Set_stdout_file('out_orchidee') 752 753 ! Initialize specific write level and open text output file 754 printlev_loc=get_printlev('intersurf') 752 755 753 756 IF (printlev >= 1) WRITE(numout,*) 'Start ORCHIDEE intitalization phase' … … 908 911 909 912 ! Initialize specific write level 910 printlev_loc=get_printlev('in stersurf')913 printlev_loc=get_printlev('intersurf') 911 914 912 915 IF (printlev_loc >= 1) WRITE(numout,*) 'Entering intersurf_initialize_gathered'
Note: See TracChangeset
for help on using the changeset viewer.