Changeset 4319
- Timestamp:
- Nov 2, 2022, 1:36:29 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmdiso/isotopes_mod.F90
r4158 r4319 345 345 LOGICAL :: lD 346 346 !$OMP BARRIER 347 IF(.NOT.(is_mpi_root.AND.is_omp_root)) RETURN 348 val=def; CALL getin(nam,val); CALL bcast(val) 349 lD=.TRUE.; IF(PRESENT(lDisp)) lD=lDisp 350 IF(lD) CALL msg(TRIM(nam)//' = '//TRIM(val)) 347 IF(is_mpi_root.AND.is_omp_root) THEN 348 val=def; CALL getin(nam,val) 349 lD=.TRUE.; IF(PRESENT(lDisp)) lD=lDisp 350 IF(lD) CALL msg(TRIM(nam)//' = '//TRIM(val)) 351 END IF 352 CALL bcast(val) 351 353 END SUBROUTINE getinp_s 352 354 … … 362 364 LOGICAL :: lD 363 365 !$OMP BARRIER 364 IF(.NOT.(is_mpi_root.AND.is_omp_root)) RETURN 365 val=def; CALL getin(nam,val); CALL bcast(val) 366 lD=.TRUE.; IF(PRESENT(lDisp)) lD=lDisp 367 IF(lD) CALL msg(TRIM(nam)//' = '//TRIM(int2str(val))) 366 IF(is_mpi_root.AND.is_omp_root) THEN 367 val=def; CALL getin(nam,val) 368 lD=.TRUE.; IF(PRESENT(lDisp)) lD=lDisp 369 IF(lD) CALL msg(TRIM(nam)//' = '//TRIM(int2str(val))) 370 END IF 371 CALL bcast(val) 368 372 END SUBROUTINE getinp_i 369 373 … … 379 383 LOGICAL :: lD 380 384 !$OMP BARRIER 381 IF(.NOT.(is_mpi_root.AND.is_omp_root)) RETURN 382 val=def; CALL getin(nam,val); CALL bcast(val) 383 lD=.TRUE.; IF(PRESENT(lDisp)) lD=lDisp 384 IF(lD) CALL msg(TRIM(nam)//' = '//TRIM(real2str(val))) 385 IF(is_mpi_root.AND.is_omp_root) THEN 386 Val=def; CALL getin(nam,val) 387 lD=.TRUE.; IF(PRESENT(lDisp)) lD=lDisp 388 IF(lD) CALL msg(TRIM(nam)//' = '//TRIM(real2str(val))) 389 ENDIF 390 CALL bcast(val) 385 391 END SUBROUTINE getinp_r 386 392 … … 396 402 LOGICAL :: lD 397 403 !$OMP BARRIER 398 IF(.NOT.(is_mpi_root.AND.is_omp_root)) RETURN 399 val=def; CALL getin(nam,val); CALL bcast(val) 400 lD=.TRUE.; IF(PRESENT(lDisp)) lD=lDisp 401 IF(lD) CALL msg(TRIM(nam)//' = '//TRIM(bool2str(val))) 404 IF(is_mpi_root.AND.is_omp_root) THEN 405 val=def; CALL getin(nam,val) 406 lD=.TRUE.; IF(PRESENT(lDisp)) lD=lDisp 407 IF(lD) CALL msg(TRIM(nam)//' = '//TRIM(bool2str(val))) 408 END IF 409 CALL bcast(val) 402 410 END SUBROUTINE getinp_l 403 411
Note: See TracChangeset
for help on using the changeset viewer.