Index: /trunk/LMDZ.MARS/changelog.txt
===================================================================
--- /trunk/LMDZ.MARS/changelog.txt	(revision 3846)
+++ /trunk/LMDZ.MARS/changelog.txt	(revision 3847)
@@ -4904,2 +4904,5 @@
 == 09/07/2025 == JBC
 Better error handling for reading "start1D.txt" and "profile_prescribed_h2o_vap" files.
+
+== 15/07/2025 == JBC
+New test of incompatibility: 'activice' requires 'microphys' + Correction of a flag from 'water' to 'activice'.
Index: /trunk/LMDZ.MARS/libf/phymars/conf_phys.F
===================================================================
--- /trunk/LMDZ.MARS/libf/phymars/conf_phys.F	(revision 3846)
+++ /trunk/LMDZ.MARS/libf/phymars/conf_phys.F	(revision 3847)
@@ -763,5 +763,5 @@
            print*,'if activice is used, water should be used too'
            call abort_physic(modname,
-     &          "activeice requires water",1)
+     &          "activice requires water",1)
          endif
 
@@ -888,4 +888,10 @@
      &          "scavenging requires microphys",1)
         endif
+
+         if (activice .and. .not. microphys) then
+           print*,'if activice is used, then microphys must be used!'
+           call abort_physic(modname,
+     &          "activice requires microphys",1)
+         endif
 
 ! Instantaneous scavenging by CO2
Index: /trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
===================================================================
--- /trunk/LMDZ.MARS/libf/phymars/physiq_mod.F	(revision 3846)
+++ /trunk/LMDZ.MARS/libf/phymars/physiq_mod.F	(revision 3847)
@@ -2701,5 +2701,5 @@
         fluxsurf_dir_dn_sw(ig) = 0.
        else
-            if (water) then
+            if (activice) then
              ! both water and dust contribute
             fluxsurf_dir_dn_sw(ig) = flux_1AU/dist_sol/dist_sol*mu0(ig)*
