Changeset 4607 for LMDZ6/trunk/libf
- Timestamp:
- Jul 5, 2023, 11:39:50 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3dmem/leapfrog_loc.F
r4389 r4607 43 43 & day_ref,start_time,dt 44 44 #ifdef CPP_XIOS 45 USE xios, ONLY: xios_update_calendar 45 USE mod_xios_dyn3dmem, ONLY : dyn3d_ctx_handle 46 USE xios, ONLY: xios_update_calendar, xios_set_current_context 46 47 #endif 47 48 … … 1519 1520 1520 1521 #ifdef INCA 1521 if (ANY(type_trac == ['inca','inco'])) CALL finalize_inca 1522 IF (ANY(type_trac == ['inca','inco'])) THEN 1523 CALL finalize_inca 1524 ! switching back to LMDZDYN context 1525 #ifdef CPP_XIOS 1526 !$OMP MASTER 1527 IF (ok_dyn_xios) THEN 1528 CALL xios_set_current_context(dyn3d_ctx_handle) 1529 ENDIF 1530 !$OMP END MASTER 1531 #endif 1532 ENDIF 1522 1533 #endif 1523 1534 #ifdef REPROBUS … … 1568 1579 1569 1580 #ifdef INCA 1570 if (ANY(type_trac == ['inca','inco'])) CALL finalize_inca 1581 IF (ANY(type_trac == ['inca','inco'])) THEN 1582 CALL finalize_inca 1583 ! switching back to LMDZDYN context 1584 #ifdef CPP_XIOS 1585 !$OMP MASTER 1586 IF (ok_dyn_xios) THEN 1587 CALL xios_set_current_context(dyn3d_ctx_handle) 1588 ENDIF 1589 !$OMP END MASTER 1590 #endif 1591 ENDIF 1571 1592 #endif 1572 1593 #ifdef REPROBUS … … 1735 1756 1736 1757 #ifdef INCA 1737 if (ANY(type_trac == ['inca','inco'])) CALL finalize_inca 1758 IF (ANY(type_trac == ['inca','inco'])) THEN 1759 CALL finalize_inca 1760 ! switching back to LMDZDYN context 1761 #ifdef CPP_XIOS 1762 !$OMP MASTER 1763 IF (ok_dyn_xios) THEN 1764 CALL xios_set_current_context(dyn3d_ctx_handle) 1765 ENDIF 1766 !$OMP END MASTER 1767 #endif 1768 ENDIF 1769 1738 1770 #endif 1739 1771 #ifdef REPROBUS … … 1842 1874 1843 1875 #ifdef INCA 1844 if (ANY(type_trac == ['inca','inco'])) CALL finalize_inca 1876 IF (ANY(type_trac == ['inca','inco'])) THEN 1877 CALL finalize_inca 1878 ! switching back to LMDZDYN context 1879 #ifdef CPP_XIOS 1880 !$OMP MASTER 1881 IF (ok_dyn_xios) THEN 1882 CALL xios_set_current_context(dyn3d_ctx_handle) 1883 ENDIF 1884 !$OMP END MASTER 1885 #endif 1886 ENDIF 1887 1845 1888 #endif 1846 1889 #ifdef REPROBUS
Note: See TracChangeset
for help on using the changeset viewer.