Changeset 2311 for LMDZ5/trunk/libf/phylmd/iophy.F90
- Timestamp:
- Jun 25, 2015, 9:45:24 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/iophy.F90
r2137 r2311 54 54 IMPLICIT NONE 55 55 INCLUDE 'dimensions.h' 56 include 'iniprint.h'57 56 REAL,DIMENSION(klon),INTENT(IN) :: rlon 58 57 REAL,DIMENSION(klon),INTENT(IN) :: rlat … … 571 570 INCLUDE "temps.h" 572 571 INCLUDE "clesphys.h" 573 INCLUDE "iniprint.h"574 572 575 573 INTEGER :: iff … … 650 648 nid_files, nhorim, swaero_diag, levmin, & 651 649 levmax, nvertm 650 USE print_control_mod, ONLY: prt_level,lunout 652 651 #ifdef CPP_XIOS 653 652 use wxios, only: wxios_add_field_to_file … … 658 657 INCLUDE "temps.h" 659 658 INCLUDE "clesphys.h" 660 INCLUDE "iniprint.h"661 659 662 660 INTEGER :: iff … … 728 726 use ioipsl, only: getin 729 727 use phys_output_var_mod, only: nfiles 728 USE print_control_mod, ONLY: prt_level,lunout 730 729 IMPLICIT NONE 731 732 include 'iniprint.h'733 730 734 731 CHARACTER(LEN=20) :: nam_var … … 750 747 jj_nb, klon_mpi 751 748 USE ioipsl, only: histwrite 749 USE print_control_mod, ONLY: prt_level,lunout 752 750 IMPLICIT NONE 753 751 include 'dimensions.h' 754 include 'iniprint.h'755 752 756 753 integer,INTENT(IN) :: nid … … 767 764 768 765 769 IF (size(field)/=klon) CALL abort_ gcm('iophy::histwrite2d','Field first DIMENSION not equal to klon',1)766 IF (size(field)/=klon) CALL abort_physic('iophy::histwrite2d','Field first DIMENSION not equal to klon',1) 770 767 771 768 CALL Gather_omp(field,buffer_omp) … … 815 812 jj_nb, klon_mpi 816 813 use ioipsl, only: histwrite 814 USE print_control_mod, ONLY: prt_level,lunout 817 815 IMPLICIT NONE 818 816 include 'dimensions.h' 819 include 'iniprint.h'820 817 821 818 integer,INTENT(IN) :: nid … … 831 828 832 829 833 IF (size(field,1)/=klon) CALL abort_ gcm('iophy::histwrite3d','Field first DIMENSION not equal to klon',1)830 IF (size(field,1)/=klon) CALL abort_physic('iophy::histwrite3d','Field first DIMENSION not equal to klon',1) 834 831 nlev=size(field,2) 835 832 … … 889 886 nfiles, vars_defined, clef_stations, & 890 887 nid_files 888 USE print_control_mod, ONLY: prt_level,lunout 891 889 #ifdef CPP_XIOS 892 890 USE xios, only: xios_send_field … … 896 894 IMPLICIT NONE 897 895 INCLUDE 'dimensions.h' 898 INCLUDE 'iniprint.h'899 896 include 'clesphys.h' 900 897 … … 945 942 946 943 !Et sinon on.... écrit 947 IF (SIZE(field)/=klon) CALL abort_ gcm('iophy::histwrite2d_phy','Field first DIMENSION not equal to klon',1)944 IF (SIZE(field)/=klon) CALL abort_physic('iophy::histwrite2d_phy','Field first DIMENSION not equal to klon',1) 948 945 949 946 if (prt_level >= 10) then … … 971 968 endif 972 969 #else 973 CALL abort_ gcm('iophy','cannot have ok_all_xml = .T. without CPP_XIOS defined' ,1)970 CALL abort_physic ('iophy','cannot have ok_all_xml = .T. without CPP_XIOS defined' ,1) 974 971 #endif 975 972 ELSE … … 1052 1049 USE xios, only: xios_send_field 1053 1050 #endif 1054 1051 USE print_control_mod, ONLY: prt_level,lunout 1055 1052 1056 1053 IMPLICIT NONE 1057 1054 INCLUDE 'dimensions.h' 1058 INCLUDE 'iniprint.h'1059 1055 include 'clesphys.h' 1060 1056 … … 1095 1091 ELSE 1096 1092 !Et sinon on.... écrit 1097 IF (SIZE(field,1)/=klon) CALL abort_ gcm('iophy::histwrite3d','Field first DIMENSION not equal to klon',1)1093 IF (SIZE(field,1)/=klon) CALL abort_physic('iophy::histwrite3d','Field first DIMENSION not equal to klon',1) 1098 1094 nlev=SIZE(field,2) 1099 1095 if (nlev.eq.klev+1) then … … 1119 1115 CALL xios_send_field(var%name, Field3d(:,:,1:nlevx)) 1120 1116 #else 1121 CALL abort_ gcm('iophy','cannot have ok_all_xml = .T. without CPP_XIOS defined' ,1)1117 CALL abort_physic ('iophy','cannot have ok_all_xml = .T. without CPP_XIOS defined' ,1) 1122 1118 #endif 1123 1119 ELSE … … 1197 1193 jj_nb, klon_mpi 1198 1194 USE xios, only: xios_send_field 1199 1195 USE print_control_mod, ONLY: prt_level,lunout 1200 1196 1201 1197 IMPLICIT NONE 1202 1198 INCLUDE 'dimensions.h' 1203 INCLUDE 'iniprint.h'1204 1199 1205 1200 CHARACTER(LEN=*), INTENT(IN) :: field_name … … 1216 1211 1217 1212 !Et sinon on.... écrit 1218 IF (SIZE(field)/=klon) CALL abort_ gcm('iophy::histwrite2d_xios','Field first DIMENSION not equal to klon',1)1213 IF (SIZE(field)/=klon) CALL abort_physic('iophy::histwrite2d_xios','Field first DIMENSION not equal to klon',1) 1219 1214 1220 1215 CALL Gather_omp(field,buffer_omp) … … 1268 1263 jj_nb, klon_mpi 1269 1264 USE xios, only: xios_send_field 1270 1265 USE print_control_mod, ONLY: prt_level,lunout 1271 1266 1272 1267 IMPLICIT NONE 1273 1268 INCLUDE 'dimensions.h' 1274 INCLUDE 'iniprint.h'1275 1269 1276 1270 CHARACTER(LEN=*), INTENT(IN) :: field_name … … 1286 1280 1287 1281 !Et on.... écrit 1288 IF (SIZE(field,1)/=klon) CALL abort_ gcm('iophy::histwrite3d','Field first DIMENSION not equal to klon',1)1282 IF (SIZE(field,1)/=klon) CALL abort_physic('iophy::histwrite3d','Field first DIMENSION not equal to klon',1) 1289 1283 nlev=SIZE(field,2) 1290 1284
Note: See TracChangeset
for help on using the changeset viewer.