Changeset 5101 for LMDZ6/branches/Amaury_dev/libf/phy_common
- Timestamp:
- Jul 23, 2024, 8:22:55 AM (6 months ago)
- Location:
- LMDZ6/branches/Amaury_dev/libf/phy_common
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phy_common/abort_physic.F90
r5099 r5101 26 26 #ifdef CPP_IOIPSL 27 27 !$OMP MASTER 28 callhistclo29 callrestclo28 CALL histclo 29 CALL restclo 30 30 if (mpi_rank .eq. 0) then 31 callgetin_dump31 CALL getin_dump 32 32 endif 33 33 !$OMP END MASTER … … 40 40 if (using_mpi) then 41 41 !$OMP CRITICAL (MPI_ABORT_PHYSIC) 42 callMPI_ABORT(COMM_LMDZ_PHY, 0, ierror_mpi)42 CALL MPI_ABORT(COMM_LMDZ_PHY, 0, ierror_mpi) 43 43 !$OMP END CRITICAL (MPI_ABORT_PHYSIC) 44 44 else … … 49 49 if (using_mpi) then 50 50 !$OMP CRITICAL (MPI_ABORT_PHYSIC) 51 callMPI_ABORT(COMM_LMDZ_PHY, 1, ierror_mpi)51 CALL MPI_ABORT(COMM_LMDZ_PHY, 1, ierror_mpi) 52 52 !$OMP END CRITICAL (MPI_ABORT_PHYSIC) 53 53 else -
LMDZ6/branches/Amaury_dev/libf/phy_common/geometry_mod.F90
r3435 r5101 39 39 cell_area_,ind_cell_glo_,dx_,dy_) 40 40 USE mod_grid_phy_lmdz, ONLY: nvertex 41 USE nrtype, ONLY 41 USE nrtype, ONLY: PI 42 42 IMPLICIT NONE 43 43 INTEGER,INTENT(IN) :: klon ! number of columns for this MPI/OpenMP domain -
LMDZ6/branches/Amaury_dev/libf/phy_common/init_print_control_mod.F90
r3435 r5101 7 7 8 8 SUBROUTINE init_print_control 9 USE print_control_mod, ONLY 10 USE ioipsl_getin_p_mod, ONLY 9 USE print_control_mod, ONLY: set_print_control 10 USE ioipsl_getin_p_mod, ONLY: getin_p 11 11 USE mod_phys_lmdz_para, ONLY: is_omp_root, is_master 12 12 IMPLICIT NONE -
LMDZ6/branches/Amaury_dev/libf/phy_common/ioipsl_getin_p_mod.F90
r5099 r5101 10 10 USE ioipsl_getincom, ONLY: getin 11 11 #endif 12 USE mod_phys_lmdz_mpi_data, ONLY 13 USE mod_phys_lmdz_omp_data, ONLY 14 USE mod_phys_lmdz_transfert_para, ONLY 12 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 13 USE mod_phys_lmdz_omp_data, ONLY: is_omp_root 14 USE mod_phys_lmdz_transfert_para, ONLY: bcast 15 15 !- 16 16 IMPLICIT NONE -
LMDZ6/branches/Amaury_dev/libf/phy_common/mod_phys_lmdz_mpi_transfert.F90
r5099 r5101 78 78 79 79 SUBROUTINE bcast_mpi_i(var) 80 USE mod_phys_lmdz_mpi_data, ONLY 80 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 81 81 IMPLICIT NONE 82 82 INTEGER,INTENT(INOUT) :: Var … … 126 126 127 127 SUBROUTINE bcast_mpi_r(var) 128 USE mod_phys_lmdz_mpi_data, ONLY 128 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 129 129 IMPLICIT NONE 130 130 REAL,INTENT(INOUT) :: Var … … 172 172 173 173 SUBROUTINE bcast_mpi_l(var) 174 USE mod_phys_lmdz_mpi_data, ONLY 174 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 175 175 IMPLICIT NONE 176 176 LOGICAL,INTENT(INOUT) :: Var … … 220 220 221 221 SUBROUTINE scatter_mpi_i(VarIn, VarOut) 222 USE mod_phys_lmdz_mpi_data, ONLY 222 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 223 223 IMPLICIT NONE 224 224 … … 231 231 232 232 SUBROUTINE scatter_mpi_i1(VarIn, VarOut) 233 USE mod_phys_lmdz_mpi_data, ONLY 233 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 234 234 IMPLICIT NONE 235 235 … … 242 242 243 243 SUBROUTINE scatter_mpi_i2(VarIn, VarOut) 244 USE mod_phys_lmdz_mpi_data, ONLY 244 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 245 245 IMPLICIT NONE 246 246 … … 253 253 254 254 SUBROUTINE scatter_mpi_i3(VarIn, VarOut) 255 USE mod_phys_lmdz_mpi_data, ONLY 255 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 256 256 IMPLICIT NONE 257 257 … … 265 265 266 266 SUBROUTINE scatter_mpi_r(VarIn, VarOut) 267 USE mod_phys_lmdz_mpi_data, ONLY 267 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 268 268 IMPLICIT NONE 269 269 … … 276 276 277 277 SUBROUTINE scatter_mpi_r1(VarIn, VarOut) 278 USE mod_phys_lmdz_mpi_data, ONLY 278 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 279 279 IMPLICIT NONE 280 280 … … 287 287 288 288 SUBROUTINE scatter_mpi_r2(VarIn, VarOut) 289 USE mod_phys_lmdz_mpi_data, ONLY 289 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 290 290 IMPLICIT NONE 291 291 … … 298 298 299 299 SUBROUTINE scatter_mpi_r3(VarIn, VarOut) 300 USE mod_phys_lmdz_mpi_data, ONLY 300 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 301 301 IMPLICIT NONE 302 302 … … 310 310 311 311 SUBROUTINE scatter_mpi_l(VarIn, VarOut) 312 USE mod_phys_lmdz_mpi_data, ONLY 312 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 313 313 IMPLICIT NONE 314 314 … … 321 321 322 322 SUBROUTINE scatter_mpi_l1(VarIn, VarOut) 323 USE mod_phys_lmdz_mpi_data, ONLY 323 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 324 324 IMPLICIT NONE 325 325 … … 332 332 333 333 SUBROUTINE scatter_mpi_l2(VarIn, VarOut) 334 USE mod_phys_lmdz_mpi_data, ONLY 334 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 335 335 IMPLICIT NONE 336 336 … … 343 343 344 344 SUBROUTINE scatter_mpi_l3(VarIn, VarOut) 345 USE mod_phys_lmdz_mpi_data, ONLY 345 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 346 346 IMPLICIT NONE 347 347 … … 360 360 361 361 SUBROUTINE gather_mpi_i(VarIn, VarOut) 362 USE mod_phys_lmdz_mpi_data, ONLY 362 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 363 363 IMPLICIT NONE 364 364 … … 374 374 375 375 SUBROUTINE gather_mpi_i1(VarIn, VarOut) 376 USE mod_phys_lmdz_mpi_data, ONLY 376 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 377 377 IMPLICIT NONE 378 378 … … 387 387 388 388 SUBROUTINE gather_mpi_i2(VarIn, VarOut) 389 USE mod_phys_lmdz_mpi_data, ONLY 389 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 390 390 IMPLICIT NONE 391 391 … … 400 400 401 401 SUBROUTINE gather_mpi_i3(VarIn, VarOut) 402 USE mod_phys_lmdz_mpi_data, ONLY 402 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 403 403 IMPLICIT NONE 404 404 … … 413 413 414 414 SUBROUTINE gather_mpi_r(VarIn, VarOut) 415 USE mod_phys_lmdz_mpi_data, ONLY 415 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 416 416 IMPLICIT NONE 417 417 … … 426 426 427 427 SUBROUTINE gather_mpi_r1(VarIn, VarOut) 428 USE mod_phys_lmdz_mpi_data, ONLY 428 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 429 429 IMPLICIT NONE 430 430 … … 439 439 440 440 SUBROUTINE gather_mpi_r2(VarIn, VarOut) 441 USE mod_phys_lmdz_mpi_data, ONLY 441 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 442 442 IMPLICIT NONE 443 443 … … 452 452 453 453 SUBROUTINE gather_mpi_r3(VarIn, VarOut) 454 USE mod_phys_lmdz_mpi_data, ONLY 454 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 455 455 IMPLICIT NONE 456 456 … … 465 465 466 466 SUBROUTINE gather_mpi_l(VarIn, VarOut) 467 USE mod_phys_lmdz_mpi_data, ONLY 467 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 468 468 IMPLICIT NONE 469 469 … … 478 478 479 479 SUBROUTINE gather_mpi_l1(VarIn, VarOut) 480 USE mod_phys_lmdz_mpi_data, ONLY 480 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 481 481 IMPLICIT NONE 482 482 … … 491 491 492 492 SUBROUTINE gather_mpi_l2(VarIn, VarOut) 493 USE mod_phys_lmdz_mpi_data, ONLY 493 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 494 494 IMPLICIT NONE 495 495 … … 504 504 505 505 SUBROUTINE gather_mpi_l3(VarIn, VarOut) 506 USE mod_phys_lmdz_mpi_data, ONLY 506 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 507 507 IMPLICIT NONE 508 508 … … 873 873 874 874 SUBROUTINE reduce_sum_mpi_i(VarIn, VarOut) 875 USE mod_phys_lmdz_mpi_data, ONLY 875 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 876 876 IMPLICIT NONE 877 877 … … 888 888 889 889 SUBROUTINE reduce_sum_mpi_i1(VarIn, VarOut) 890 USE mod_phys_lmdz_mpi_data, ONLY 890 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 891 891 IMPLICIT NONE 892 892 … … 899 899 900 900 SUBROUTINE reduce_sum_mpi_i2(VarIn, VarOut) 901 USE mod_phys_lmdz_mpi_data, ONLY 901 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 902 902 IMPLICIT NONE 903 903 … … 910 910 911 911 SUBROUTINE reduce_sum_mpi_i3(VarIn, VarOut) 912 USE mod_phys_lmdz_mpi_data, ONLY 912 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 913 913 IMPLICIT NONE 914 914 … … 921 921 922 922 SUBROUTINE reduce_sum_mpi_i4(VarIn, VarOut) 923 USE mod_phys_lmdz_mpi_data, ONLY 923 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 924 924 IMPLICIT NONE 925 925 … … 933 933 934 934 SUBROUTINE reduce_sum_mpi_r(VarIn, VarOut) 935 USE mod_phys_lmdz_mpi_data, ONLY 935 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 936 936 IMPLICIT NONE 937 937 … … 948 948 949 949 SUBROUTINE reduce_sum_mpi_r1(VarIn, VarOut) 950 USE mod_phys_lmdz_mpi_data, ONLY 950 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 951 951 IMPLICIT NONE 952 952 … … 959 959 960 960 SUBROUTINE reduce_sum_mpi_r2(VarIn, VarOut) 961 USE mod_phys_lmdz_mpi_data, ONLY 961 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 962 962 IMPLICIT NONE 963 963 … … 970 970 971 971 SUBROUTINE reduce_sum_mpi_r3(VarIn, VarOut) 972 USE mod_phys_lmdz_mpi_data, ONLY 972 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 973 973 IMPLICIT NONE 974 974 … … 981 981 982 982 SUBROUTINE reduce_sum_mpi_r4(VarIn, VarOut) 983 USE mod_phys_lmdz_mpi_data, ONLY 983 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 984 984 IMPLICIT NONE 985 985 … … 997 997 998 998 SUBROUTINE reduce_min_mpi_i(VarIn, VarOut) 999 USE mod_phys_lmdz_mpi_data, ONLY 999 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 1000 1000 IMPLICIT NONE 1001 1001 … … 1012 1012 1013 1013 SUBROUTINE reduce_min_mpi_i1(VarIn, VarOut) 1014 USE mod_phys_lmdz_mpi_data, ONLY 1014 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 1015 1015 IMPLICIT NONE 1016 1016 … … 1023 1023 1024 1024 SUBROUTINE reduce_min_mpi_i2(VarIn, VarOut) 1025 USE mod_phys_lmdz_mpi_data, ONLY 1025 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 1026 1026 IMPLICIT NONE 1027 1027 … … 1034 1034 1035 1035 SUBROUTINE reduce_min_mpi_i3(VarIn, VarOut) 1036 USE mod_phys_lmdz_mpi_data, ONLY 1036 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 1037 1037 IMPLICIT NONE 1038 1038 … … 1045 1045 1046 1046 SUBROUTINE reduce_min_mpi_i4(VarIn, VarOut) 1047 USE mod_phys_lmdz_mpi_data, ONLY 1047 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 1048 1048 IMPLICIT NONE 1049 1049 … … 1057 1057 1058 1058 SUBROUTINE reduce_min_mpi_r(VarIn, VarOut) 1059 USE mod_phys_lmdz_mpi_data, ONLY 1059 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 1060 1060 IMPLICIT NONE 1061 1061 … … 1072 1072 1073 1073 SUBROUTINE reduce_min_mpi_r1(VarIn, VarOut) 1074 USE mod_phys_lmdz_mpi_data, ONLY 1074 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 1075 1075 IMPLICIT NONE 1076 1076 … … 1083 1083 1084 1084 SUBROUTINE reduce_min_mpi_r2(VarIn, VarOut) 1085 USE mod_phys_lmdz_mpi_data, ONLY 1085 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 1086 1086 IMPLICIT NONE 1087 1087 … … 1094 1094 1095 1095 SUBROUTINE reduce_min_mpi_r3(VarIn, VarOut) 1096 USE mod_phys_lmdz_mpi_data, ONLY 1096 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 1097 1097 IMPLICIT NONE 1098 1098 … … 1105 1105 1106 1106 SUBROUTINE reduce_min_mpi_r4(VarIn, VarOut) 1107 USE mod_phys_lmdz_mpi_data, ONLY 1107 USE mod_phys_lmdz_mpi_data, ONLY: is_mpi_root 1108 1108 IMPLICIT NONE 1109 1109 -
LMDZ6/branches/Amaury_dev/libf/phy_common/mod_phys_lmdz_omp_data.F90
r5099 r5101 25 25 SUBROUTINE Init_phys_lmdz_omp_data(klon_mpi) 26 26 USE dimphy 27 USE mod_phys_lmdz_mpi_data, ONLY 27 USE mod_phys_lmdz_mpi_data, ONLY: is_north_pole_dyn, is_south_pole_dyn 28 28 IMPLICIT NONE 29 29 INTEGER, INTENT(in) :: klon_mpi -
LMDZ6/branches/Amaury_dev/libf/phy_common/mod_phys_lmdz_omp_transfert.F90
r5099 r5101 934 934 SUBROUTINE scatter_omp_igen(VarIn,VarOut,dimsize,Buff) 935 935 USE mod_phys_lmdz_omp_data 936 USE mod_phys_lmdz_mpi_data, ONLY : klon_mpi936 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 937 937 IMPLICIT NONE 938 938 … … 965 965 SUBROUTINE scatter_omp_rgen(VarIn,VarOut,dimsize,Buff) 966 966 USE mod_phys_lmdz_omp_data 967 USE mod_phys_lmdz_mpi_data, ONLY : klon_mpi967 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 968 968 IMPLICIT NONE 969 969 … … 996 996 SUBROUTINE scatter_omp_lgen(VarIn,VarOut,dimsize,Buff) 997 997 USE mod_phys_lmdz_omp_data 998 USE mod_phys_lmdz_mpi_data, ONLY : klon_mpi998 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 999 999 IMPLICIT NONE 1000 1000 … … 1030 1030 SUBROUTINE gather_omp_igen(VarIn,VarOut,dimsize,Buff) 1031 1031 USE mod_phys_lmdz_omp_data 1032 USE mod_phys_lmdz_mpi_data, ONLY : klon_mpi1032 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 1033 1033 IMPLICIT NONE 1034 1034 … … 1062 1062 SUBROUTINE gather_omp_rgen(VarIn,VarOut,dimsize) 1063 1063 USE mod_phys_lmdz_omp_data 1064 USE mod_phys_lmdz_mpi_data, ONLY : klon_mpi1064 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 1065 1065 IMPLICIT NONE 1066 1066 … … 1089 1089 SUBROUTINE gather_omp_lgen(VarIn,VarOut,dimsize,Buff) 1090 1090 USE mod_phys_lmdz_omp_data 1091 USE mod_phys_lmdz_mpi_data, ONLY : klon_mpi1091 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 1092 1092 IMPLICIT NONE 1093 1093 -
LMDZ6/branches/Amaury_dev/libf/phy_common/mod_phys_lmdz_transfert_para.F90
r5099 r5101 256 256 257 257 SUBROUTINE scatter_i(VarIn, VarOut) 258 USE mod_phys_lmdz_mpi_data, ONLY 258 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 259 259 IMPLICIT NONE 260 260 … … 274 274 275 275 SUBROUTINE scatter_i1(VarIn, VarOut) 276 USE mod_phys_lmdz_mpi_data, ONLY 276 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 277 277 IMPLICIT NONE 278 278 … … 291 291 292 292 SUBROUTINE scatter_i2(VarIn, VarOut) 293 USE mod_phys_lmdz_mpi_data, ONLY 293 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 294 294 IMPLICIT NONE 295 295 … … 308 308 309 309 SUBROUTINE scatter_i3(VarIn, VarOut) 310 USE mod_phys_lmdz_mpi_data, ONLY 310 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 311 311 IMPLICIT NONE 312 312 … … 325 325 326 326 SUBROUTINE scatter_r(VarIn, VarOut) 327 USE mod_phys_lmdz_mpi_data, ONLY 327 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 328 328 IMPLICIT NONE 329 329 … … 343 343 344 344 SUBROUTINE scatter_r1(VarIn, VarOut) 345 USE mod_phys_lmdz_mpi_data, ONLY 345 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 346 346 IMPLICIT NONE 347 347 … … 360 360 361 361 SUBROUTINE scatter_r2(VarIn, VarOut) 362 USE mod_phys_lmdz_mpi_data, ONLY 362 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 363 363 IMPLICIT NONE 364 364 … … 377 377 378 378 SUBROUTINE scatter_r3(VarIn, VarOut) 379 USE mod_phys_lmdz_mpi_data, ONLY 379 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 380 380 IMPLICIT NONE 381 381 … … 395 395 396 396 SUBROUTINE scatter_l(VarIn, VarOut) 397 USE mod_phys_lmdz_mpi_data, ONLY 397 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 398 398 IMPLICIT NONE 399 399 … … 413 413 414 414 SUBROUTINE scatter_l1(VarIn, VarOut) 415 USE mod_phys_lmdz_mpi_data, ONLY 415 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 416 416 IMPLICIT NONE 417 417 … … 430 430 431 431 SUBROUTINE scatter_l2(VarIn, VarOut) 432 USE mod_phys_lmdz_mpi_data, ONLY 432 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 433 433 IMPLICIT NONE 434 434 … … 447 447 448 448 SUBROUTINE scatter_l3(VarIn, VarOut) 449 USE mod_phys_lmdz_mpi_data, ONLY 449 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 450 450 IMPLICIT NONE 451 451 … … 471 471 472 472 SUBROUTINE gather_i(VarIn, VarOut) 473 USE mod_phys_lmdz_mpi_data, ONLY 473 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 474 474 IMPLICIT NONE 475 475 … … 488 488 489 489 SUBROUTINE gather_i1(VarIn, VarOut) 490 USE mod_phys_lmdz_mpi_data, ONLY 490 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 491 491 IMPLICIT NONE 492 492 … … 505 505 506 506 SUBROUTINE gather_i2(VarIn, VarOut) 507 USE mod_phys_lmdz_mpi_data, ONLY 507 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 508 508 IMPLICIT NONE 509 509 … … 522 522 523 523 SUBROUTINE gather_i3(VarIn, VarOut) 524 USE mod_phys_lmdz_mpi_data, ONLY 524 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 525 525 IMPLICIT NONE 526 526 … … 541 541 542 542 SUBROUTINE gather_r(VarIn, VarOut) 543 USE mod_phys_lmdz_mpi_data, ONLY 543 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 544 544 IMPLICIT NONE 545 545 … … 558 558 559 559 SUBROUTINE gather_r1(VarIn, VarOut) 560 USE mod_phys_lmdz_mpi_data, ONLY 560 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 561 561 IMPLICIT NONE 562 562 … … 575 575 576 576 SUBROUTINE gather_r2(VarIn, VarOut) 577 USE mod_phys_lmdz_mpi_data, ONLY 577 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 578 578 IMPLICIT NONE 579 579 … … 592 592 593 593 SUBROUTINE gather_r3(VarIn, VarOut) 594 USE mod_phys_lmdz_mpi_data, ONLY 594 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 595 595 IMPLICIT NONE 596 596 … … 611 611 612 612 SUBROUTINE gather_l(VarIn, VarOut) 613 USE mod_phys_lmdz_mpi_data, ONLY 613 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 614 614 IMPLICIT NONE 615 615 … … 628 628 629 629 SUBROUTINE gather_l1(VarIn, VarOut) 630 USE mod_phys_lmdz_mpi_data, ONLY 630 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 631 631 IMPLICIT NONE 632 632 … … 645 645 646 646 SUBROUTINE gather_l2(VarIn, VarOut) 647 USE mod_phys_lmdz_mpi_data, ONLY 647 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 648 648 IMPLICIT NONE 649 649 … … 662 662 663 663 SUBROUTINE gather_l3(VarIn, VarOut) 664 USE mod_phys_lmdz_mpi_data, ONLY 664 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 665 665 IMPLICIT NONE 666 666 … … 686 686 687 687 SUBROUTINE scatter2D_i(VarIn, VarOut) 688 USE mod_phys_lmdz_mpi_data, ONLY 688 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 689 689 IMPLICIT NONE 690 690 … … 703 703 704 704 SUBROUTINE scatter2D_i1(VarIn, VarOut) 705 USE mod_phys_lmdz_mpi_data, ONLY 705 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 706 706 IMPLICIT NONE 707 707 … … 720 720 721 721 SUBROUTINE scatter2D_i2(VarIn, VarOut) 722 USE mod_phys_lmdz_mpi_data, ONLY 722 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 723 723 IMPLICIT NONE 724 724 … … 737 737 738 738 SUBROUTINE scatter2D_i3(VarIn, VarOut) 739 USE mod_phys_lmdz_mpi_data, ONLY 739 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 740 740 IMPLICIT NONE 741 741 … … 756 756 757 757 SUBROUTINE scatter2D_r(VarIn, VarOut) 758 USE mod_phys_lmdz_mpi_data, ONLY 758 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 759 759 IMPLICIT NONE 760 760 … … 773 773 774 774 SUBROUTINE scatter2D_r1(VarIn, VarOut) 775 USE mod_phys_lmdz_mpi_data, ONLY 775 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 776 776 IMPLICIT NONE 777 777 … … 790 790 791 791 SUBROUTINE scatter2D_r2(VarIn, VarOut) 792 USE mod_phys_lmdz_mpi_data, ONLY 792 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 793 793 IMPLICIT NONE 794 794 … … 807 807 808 808 SUBROUTINE scatter2D_r3(VarIn, VarOut) 809 USE mod_phys_lmdz_mpi_data, ONLY 809 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 810 810 IMPLICIT NONE 811 811 … … 827 827 828 828 SUBROUTINE scatter2D_l(VarIn, VarOut) 829 USE mod_phys_lmdz_mpi_data, ONLY 829 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 830 830 IMPLICIT NONE 831 831 … … 844 844 845 845 SUBROUTINE scatter2D_l1(VarIn, VarOut) 846 USE mod_phys_lmdz_mpi_data, ONLY 846 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 847 847 IMPLICIT NONE 848 848 … … 861 861 862 862 SUBROUTINE scatter2D_l2(VarIn, VarOut) 863 USE mod_phys_lmdz_mpi_data, ONLY 863 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 864 864 IMPLICIT NONE 865 865 … … 878 878 879 879 SUBROUTINE scatter2D_l3(VarIn, VarOut) 880 USE mod_phys_lmdz_mpi_data, ONLY 880 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 881 881 IMPLICIT NONE 882 882 … … 901 901 902 902 SUBROUTINE gather2D_i(VarIn, VarOut) 903 USE mod_phys_lmdz_mpi_data, ONLY 903 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 904 904 IMPLICIT NONE 905 905 … … 918 918 919 919 SUBROUTINE gather2D_i1(VarIn, VarOut) 920 USE mod_phys_lmdz_mpi_data, ONLY 920 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 921 921 IMPLICIT NONE 922 922 … … 935 935 936 936 SUBROUTINE gather2D_i2(VarIn, VarOut) 937 USE mod_phys_lmdz_mpi_data, ONLY 937 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 938 938 IMPLICIT NONE 939 939 … … 952 952 953 953 SUBROUTINE gather2D_i3(VarIn, VarOut) 954 USE mod_phys_lmdz_mpi_data, ONLY 954 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 955 955 IMPLICIT NONE 956 956 … … 971 971 972 972 SUBROUTINE gather2D_r(VarIn, VarOut) 973 USE mod_phys_lmdz_mpi_data, ONLY 973 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 974 974 IMPLICIT NONE 975 975 … … 988 988 989 989 SUBROUTINE gather2D_r1(VarIn, VarOut) 990 USE mod_phys_lmdz_mpi_data, ONLY 990 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 991 991 IMPLICIT NONE 992 992 … … 1005 1005 1006 1006 SUBROUTINE gather2D_r2(VarIn, VarOut) 1007 USE mod_phys_lmdz_mpi_data, ONLY 1007 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 1008 1008 IMPLICIT NONE 1009 1009 … … 1022 1022 1023 1023 SUBROUTINE gather2D_r3(VarIn, VarOut) 1024 USE mod_phys_lmdz_mpi_data, ONLY 1024 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 1025 1025 IMPLICIT NONE 1026 1026 … … 1041 1041 1042 1042 SUBROUTINE gather2D_l(VarIn, VarOut) 1043 USE mod_phys_lmdz_mpi_data, ONLY 1043 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 1044 1044 IMPLICIT NONE 1045 1045 … … 1058 1058 1059 1059 SUBROUTINE gather2D_l1(VarIn, VarOut) 1060 USE mod_phys_lmdz_mpi_data, ONLY 1060 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 1061 1061 IMPLICIT NONE 1062 1062 … … 1075 1075 1076 1076 SUBROUTINE gather2D_l2(VarIn, VarOut) 1077 USE mod_phys_lmdz_mpi_data, ONLY 1077 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 1078 1078 IMPLICIT NONE 1079 1079 … … 1092 1092 1093 1093 SUBROUTINE gather2D_l3(VarIn, VarOut) 1094 USE mod_phys_lmdz_mpi_data, ONLY 1094 USE mod_phys_lmdz_mpi_data, ONLY: klon_mpi 1095 1095 IMPLICIT NONE 1096 1096 -
LMDZ6/branches/Amaury_dev/libf/phy_common/physics_distribution_mod.F90
r5099 r5101 12 12 USE mod_phys_lmdz_para, ONLY: init_phys_lmdz_para, klon_omp 13 13 USE mod_grid_phy_lmdz, ONLY: init_grid_phy_lmdz 14 USE dimphy, ONLY 15 USE infotrac_phy, ONLY 14 USE dimphy, ONLY: Init_dimphy 15 USE infotrac_phy, ONLY: type_trac 16 16 #ifdef REPROBUS 17 USE CHEM_REP, ONLY 17 USE CHEM_REP, ONLY: Init_chem_rep_phys 18 18 #endif 19 19 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA … … 49 49 ! USE mod_phys_lmdz_para, ONLY: Init_phys_lmdz_para!, klon_omp 50 50 ! USE mod_grid_phy_lmdz, ONLY: Init_grid_phy_lmdz!, nbp_lev 51 ! USE dimphy, ONLY 52 ! USE infotrac_phy, ONLY 51 ! USE dimphy, ONLY: Init_dimphy 52 ! USE infotrac_phy, ONLY: type_trac 53 53 !#ifdef REPROBUS 54 ! USE CHEM_REP, ONLY 54 ! USE CHEM_REP, ONLY: Init_chem_rep_phys 55 55 !#endif 56 56 -
LMDZ6/branches/Amaury_dev/libf/phy_common/print_control_mod.F90
r5082 r5101 5 5 INTEGER,SAVE :: prt_level ! debug output level 6 6 LOGICAL,SAVE :: debug ! flag to specify if in "debug mode" 7 LOGICAL,SAVE :: alert_first_ call = .TRUE. ! for printing alerts on first call to routine only8 LOGICAL,SAVE :: call_alert ! (combination of is_master and alert_first_ call for easier use7 LOGICAL,SAVE :: alert_first_CALL = .TRUE. ! for printing alerts on first CALL to routine only 8 LOGICAL,SAVE :: call_alert ! (combination of is_master and alert_first_CALL for easier use 9 9 !$OMP THREADPRIVATE(lunout,prt_level,debug, alert_first_call, call_alert) 10 10
Note: See TracChangeset
for help on using the changeset viewer.