Changeset 4743 for LMDZ6/branches/Portage_acc/libf/dyn3dmem/leapfrog_loc.F
- Timestamp:
- Oct 30, 2023, 5:37:00 PM (7 months ago)
- Location:
- LMDZ6/branches/Portage_acc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Portage_acc
- Property svn:mergeinfo changed
-
LMDZ6/branches/Portage_acc/libf/dyn3dmem/leapfrog_loc.F
r4446 r4743 42 42 USE temps_mod, ONLY: itaufin,jD_ref,jH_ref,day_ini, 43 43 & day_ref,start_time,dt 44 #ifdef CPP_XIOS 45 USE xios, ONLY: xios_update_calendar 46 #endif 44 USE mod_xios_dyn3dmem, ONLY : dyn3d_ctx_handle 45 USE lmdz_xios, ONLY: xios_update_calendar, 46 & xios_set_current_context, 47 & using_xios 47 48 48 49 IMPLICIT NONE … … 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 !$OMP MASTER 1526 IF (ok_dyn_xios) THEN 1527 CALL xios_set_current_context(dyn3d_ctx_handle) 1528 ENDIF 1529 !$OMP END MASTER 1530 ENDIF 1522 1531 #endif 1523 1532 #ifdef REPROBUS … … 1568 1577 1569 1578 #ifdef INCA 1570 if (ANY(type_trac == ['inca','inco'])) CALL finalize_inca 1579 IF (ANY(type_trac == ['inca','inco'])) THEN 1580 CALL finalize_inca 1581 ! switching back to LMDZDYN context 1582 !$OMP MASTER 1583 IF (ok_dyn_xios) THEN 1584 CALL xios_set_current_context(dyn3d_ctx_handle) 1585 ENDIF 1586 !$OMP END MASTER 1587 ENDIF 1571 1588 #endif 1572 1589 #ifdef REPROBUS … … 1640 1657 #endif 1641 1658 1642 #ifdef CPP_XIOS1643 1659 IF (ok_dyn_xios) THEN 1644 1660 c$OMP MASTER … … 1649 1665 & ucov,teta,pk,phi,q,masse,ps,phis) 1650 1666 ENDIF 1651 #endif1652 1667 1653 1668 endif ! of if (leapf.or.(.not.leapf.and.(.not.forward))) … … 1735 1750 1736 1751 #ifdef INCA 1737 if (ANY(type_trac == ['inca','inco'])) CALL finalize_inca 1752 IF (ANY(type_trac == ['inca','inco'])) THEN 1753 CALL finalize_inca 1754 ! switching back to LMDZDYN context 1755 !$OMP MASTER 1756 IF (ok_dyn_xios) THEN 1757 CALL xios_set_current_context(dyn3d_ctx_handle) 1758 ENDIF 1759 !$OMP END MASTER 1760 ENDIF 1761 1738 1762 #endif 1739 1763 #ifdef REPROBUS … … 1801 1825 #endif 1802 1826 1803 #ifdef CPP_XIOS1804 1827 IF (ok_dyn_xios) THEN 1805 1828 c$OMP MASTER … … 1810 1833 & ucov,teta,pk,phi,q,masse,ps,phis) 1811 1834 ENDIF 1812 #endif1813 1835 1814 1836 ENDIF ! of IF(MOD(itau,iecri).EQ.0) … … 1842 1864 1843 1865 #ifdef INCA 1844 if (ANY(type_trac == ['inca','inco'])) CALL finalize_inca 1866 IF (ANY(type_trac == ['inca','inco'])) THEN 1867 CALL finalize_inca 1868 ! switching back to LMDZDYN context 1869 !$OMP MASTER 1870 IF (ok_dyn_xios) THEN 1871 CALL xios_set_current_context(dyn3d_ctx_handle) 1872 ENDIF 1873 !$OMP END MASTER 1874 ENDIF 1875 1845 1876 #endif 1846 1877 #ifdef REPROBUS
Note: See TracChangeset
for help on using the changeset viewer.