Index: LMDZ6/trunk/libf/phylmd/cpl_mod.F90
===================================================================
--- LMDZ6/trunk/libf/phylmd/cpl_mod.F90	(revision 5653)
+++ LMDZ6/trunk/libf/phylmd/cpl_mod.F90	(revision 5654)
@@ -363,5 +363,5 @@
        CALL histdef(nidct, 'tmp_lat','tmp_lat', &
             "-",nbp_lon,nbp_lat, nhoridct, 1, 1, 1, -99, 32, "inst", dtime,dtime)
-       DO jf=1,maxsend
+       DO jf=1,maxsend_phys
          IF (infosend(i)%action) THEN
              CALL histdef(nidct, infosend(i)%name ,infosend(i)%name , &
@@ -1280,5 +1280,5 @@
     REAL, DIMENSION(nbp_lon, jj_nb)                          :: tmp_calv
 ! Table with all fields to send to coupler
-    REAL, DIMENSION(nbp_lon, jj_nb, maxsend)                 :: tab_flds
+    REAL, DIMENSION(nbp_lon, jj_nb, maxsend_phys)            :: tab_flds
     REAL, DIMENSION(klon_mpi)                                :: rlon_mpi, rlat_mpi
     REAL  :: calving(nb_zone_calving)
@@ -1510,5 +1510,5 @@
 !*************************************************************************************
     IF (is_sequential) THEN
-        DO j=1,maxsend
+        DO j=1,maxsend_phys
           IF (infosend(j)%action) CALL histwrite(nidct,infosend(j)%name, itau_w, &
              tab_flds(:,:,j),nbp_lon*(nbp_lat),ndexct)
Index: LMDZ6/trunk/libf/phylmd/oasis.F90
===================================================================
--- LMDZ6/trunk/libf/phylmd/oasis.F90	(revision 5653)
+++ LMDZ6/trunk/libf/phylmd/oasis.F90	(revision 5654)
@@ -61,7 +61,9 @@
   INTEGER, PARAMETER :: ids_delta_sst = 30, ids_delta_sal = 31, ids_dter = 32, &
        ids_dser = 33, ids_dt_ds = 34
+  INTEGER, PARAMETER :: ids_atmn2o = 35
   
-  INTEGER, PARAMETER :: maxsend    = 34  ! Maximum number of fields to send
-  
+  INTEGER, PARAMETER :: maxsend    = 35  ! Maximum number of fields to send
+  INTEGER, PARAMETER :: maxsend_phys = 34 ! Maximum number of fields to send in LMDZ phys - the last one will be send by Inca 
+
   ! Id for fields received from ocean
 
@@ -227,4 +229,7 @@
             infosend(ids_atmco2)%action = .TRUE. ; infosend(ids_atmco2)%name = 'COATMCO2'
         ENDIF
+        IF (n2o_cycle_cpl) THEN
+            infosend(ids_atmn2o)%action = .TRUE. ; infosend(ids_atmn2o)%name = 'COATMN2O'
+        ENDIF
         infosend(ids_qraioc)%action = .TRUE. ; infosend(ids_qraioc)%name = 'COQRAIOC'
         infosend(ids_qsnooc)%action = .TRUE. ; infosend(ids_qsnooc)%name = 'COQSNOOC'
@@ -358,10 +363,4 @@
     END DO
 
-
-IF (CPPKEY_INCA) THEN
-    IF (dms_cycle_cpl .OR. n2o_cycle_cpl) THEN
-       CALL init_inca_oasis(inforecv(idr_ocedms:idr_ocen2o))
-    ENDIF
-END IF
  
 !************************************************************************************
@@ -396,4 +395,11 @@
        WRITE(lunout,*) 'inicma : endef psmile ok '
     ENDIF
+
+
+IF (CPPKEY_INCA) THEN
+    IF (dms_cycle_cpl .OR. n2o_cycle_cpl) THEN
+       CALL init_inca_oasis(inforecv(idr_ocedms:idr_ocen2o),infosend(ids_atmn2o:ids_atmn2o))
+    ENDIF
+END IF
 
 !$OMP END MASTER
@@ -479,5 +485,5 @@
     INTEGER, INTENT(IN)                              :: ktime
     LOGICAL, INTENT(IN)                              :: last
-    REAL, DIMENSION(nbp_lon, jj_nb, maxsend), INTENT(IN) :: tab_put
+    REAL, DIMENSION(nbp_lon, jj_nb, maxsend_phys), INTENT(IN) :: tab_put
 
 ! Local variables
@@ -513,5 +519,5 @@
        IF (is_south_pole_dyn) wend=iend-nbp_lon+1
        
-       DO i = 1, maxsend
+       DO i = 1, maxsend_phys
           IF (infosend(i)%action) THEN
              field = RESHAPE(tab_put(:,:,i),(/nbp_lon*jj_nb/))
@@ -525,5 +531,5 @@
 !************************************************************************************
 
-    DO i = 1, maxsend
+    DO i = 1, maxsend_phys
       IF (infosend(i)%action .AND. infosend(i)%nid .NE. -1 ) THEN
           field = RESHAPE(tab_put(:,:,i),(/nbp_lon*jj_nb/))
