diff --git a/src/LIB/SURCOUCHE/src/modd_io.f90 b/src/LIB/SURCOUCHE/src/modd_io.f90
index 77c77b43787ca147b242fdfa67728b93de1ce56c..6291995025891bf291c480212bb98f796415d845 100644
--- a/src/LIB/SURCOUCHE/src/modd_io.f90
+++ b/src/LIB/SURCOUCHE/src/modd_io.f90
@@ -1,4 +1,4 @@
-!MNH_LIC Copyright 1994-2020 CNRS, Meteo-France and Universite Paul Sabatier
+!MNH_LIC Copyright 1994-2021 CNRS, Meteo-France and Universite Paul Sabatier
 !MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 !MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 !MNH_LIC for details. version 1.
@@ -106,12 +106,14 @@ TYPE TFILEDATA
   INTEGER              :: NMODEL = 0              !Model number corresponding to the file (field not always set)
   INTEGER,DIMENSION(3) :: NMNHVERSION = (/0,0,0/) !MesoNH version used to create the file
   !
+#ifdef MNH_IOLFI
   ! Fields for LFI files
   INTEGER(KIND=LFIINT) :: NLFININAR = 0  !Number of articles of the LFI file (only accurate if file opened in read mode)
   INTEGER(KIND=LFIINT) :: NLFINPRAR = 0  !Number of predicted articles of the LFI file (non crucial)
   INTEGER              :: NLFITYPE  = -1 !Type of the file (used to generate list of files to transfers)
   INTEGER              :: NLFIVERB  = 1  !LFI verbosity level
   INTEGER(KIND=LFIINT) :: NLFIFLU   = -1 !File identifier
+#endif
   !
 #ifdef MNH_IOCDF4
   ! Fields for netCDF files
diff --git a/src/LIB/SURCOUCHE/src/mode_io_file_lfi.f90 b/src/LIB/SURCOUCHE/src/mode_io_file_lfi.f90
index 1d07379957d7f74d8d407d23b450d51f87f96067..ae58ffa6c527933ddf1c32a756b9f1532643d023 100644
--- a/src/LIB/SURCOUCHE/src/mode_io_file_lfi.f90
+++ b/src/LIB/SURCOUCHE/src/mode_io_file_lfi.f90
@@ -1,4 +1,4 @@
-!MNH_LIC Copyright 2018-2019 CNRS, Meteo-France and Universite Paul Sabatier
+!MNH_LIC Copyright 2018-2021 CNRS, Meteo-France and Universite Paul Sabatier
 !MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 !MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 !MNH_LIC for details. version 1.
@@ -16,6 +16,7 @@
 !  P. Wautelet 05/03/2019: rename IO subroutines and modules
 !
 !-----------------------------------------------------------------
+#ifdef MNH_IOLFI
 module mode_io_file_lfi
 
 use modd_io,     only: tfiledata
@@ -202,3 +203,5 @@ end subroutine IO_Flu_dealloc
 
 
 end module mode_io_file_lfi
+#endif
+
diff --git a/src/MNH/diag.f90 b/src/MNH/diag.f90
index b5b12924079dea33ebf4dadfd616899a1897ee0f..78e1f4cce29f71dfa0385405030e893c4016d638 100644
--- a/src/MNH/diag.f90
+++ b/src/MNH/diag.f90
@@ -1,4 +1,4 @@
-!MNH_LIC Copyright 1999-2020 CNRS, Meteo-France and Universite Paul Sabatier
+!MNH_LIC Copyright 1999-2021 CNRS, Meteo-France and Universite Paul Sabatier
 !MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 !MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 !MNH_LIC for details. version 1.
@@ -146,7 +146,9 @@ USE MODE_IO_FIELD_WRITE,   only: IO_Header_write
 USE MODE_IO,               only: IO_Config_set, IO_Init
 USE MODE_IO_MANAGE_STRUCT, only: IO_File_add2list,IO_Filelist_print
 USE MODE_ll
+#ifdef MNH_IOLFI
 use mode_menu_diachro,     only: MENU_DIACHRO
+#endif
 USE MODE_MNH_TIMING
 USE MODE_MODELN_HANDLER
 USE MODE_MSG
@@ -566,7 +568,9 @@ IF ( LAIRCRAFT_BALLOON ) THEN
   CALL IO_Header_write(TZDIACFILE)
   CALL WRITE_LFIFMN_FORDIACHRO_n(TZDIACFILE)
   CALL WRITE_AIRCRAFT_BALLOON(TZDIACFILE)
+#ifdef MNH_IOLFI
   CALL MENU_DIACHRO(TZDIACFILE,'END')
+#endif
   CALL IO_File_close(TZDIACFILE)
   WRITE(ILUOUT0,*) ' '
   WRITE(ILUOUT0,*) 'DIAG AFTER CLOSE DIACHRONIC FILE'
diff --git a/src/MNH/menu_diachro.f90 b/src/MNH/menu_diachro.f90
index ca9af590ab7d51c7471d1e084117e0ec84cd1d93..7c4fcea5abf4f33dfeb259ec7a071b8a9cb1ce44 100644
--- a/src/MNH/menu_diachro.f90
+++ b/src/MNH/menu_diachro.f90
@@ -1,8 +1,9 @@
-!MNH_LIC Copyright 1996-2020 CNRS, Meteo-France and Universite Paul Sabatier
+!MNH_LIC Copyright 1996-2021 CNRS, Meteo-France and Universite Paul Sabatier
 !MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 !MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 !MNH_LIC for details. version 1.
 !-----------------------------------------------------------------
+#ifdef MNH_IOLFI
 module mode_menu_diachro
 
 implicit none
@@ -223,3 +224,4 @@ LPACK=GPACK
 END SUBROUTINE MENU_DIACHRO
 
 end module mode_menu_diachro
+#endif
diff --git a/src/MNH/modeln.f90 b/src/MNH/modeln.f90
index d50b8881a4b286cacc58631e0de9b997c030406b..b7958c13fe04ae30d3172ad45823e96ba616a3c2 100644
--- a/src/MNH/modeln.f90
+++ b/src/MNH/modeln.f90
@@ -1,4 +1,4 @@
-!MNH_LIC Copyright 1994-2020 CNRS, Meteo-France and Universite Paul Sabatier
+!MNH_LIC Copyright 1994-2021 CNRS, Meteo-France and Universite Paul Sabatier
 !MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 !MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 !MNH_LIC for details. version 1.
@@ -363,7 +363,9 @@ USE MODE_IO_FIELD_WRITE,   only: IO_Field_user_write, IO_Fieldlist_write, IO_Hea
 USE MODE_IO_FILE,          only: IO_File_close, IO_File_open
 USE MODE_IO_MANAGE_STRUCT, only: IO_File_add2list
 USE MODE_ll
+#ifdef MNH_IOLFI
 use mode_menu_diachro,     only: MENU_DIACHRO
+#endif
 USE MODE_MNH_TIMING
 USE MODE_MODELN_HANDLER
 USE MODE_MPPDB
@@ -2090,7 +2092,9 @@ IF (OEXIT) THEN
     CALL WRITE_STATION_n(TDIAFILE)
     CALL WRITE_PROFILER_n(TDIAFILE)
     call Write_les_n( tdiafile )
+#ifdef MNH_IOLFI
     CALL MENU_DIACHRO(TDIAFILE,'END')
+#endif
     CALL IO_File_close(TDIAFILE)
   END IF
   !
diff --git a/src/MNH/write_budget.f90 b/src/MNH/write_budget.f90
index 18e2b56ba92f3d559692702d2c3661feefa68c20..77a76c5e6d09957a6712edd180a9e5d9377f6431 100644
--- a/src/MNH/write_budget.f90
+++ b/src/MNH/write_budget.f90
@@ -1,4 +1,4 @@
-!MNH_LIC Copyright 1995-2020 CNRS, Meteo-France and Universite Paul Sabatier
+!MNH_LIC Copyright 1995-2021 CNRS, Meteo-France and Universite Paul Sabatier
 !MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 !MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 !MNH_LIC for details. version 1.
@@ -111,7 +111,9 @@ subroutine Write_budget( tpdiafile, tpdtcur, ptstep, ksv )
 
   use mode_datetime,       only: datetime_distance
   use mode_io_field_write, only: IO_Field_create, IO_Field_write
+#ifdef MNH_IOLFI
   use mode_menu_diachro,   only: Menu_diachro
+#endif
   use mode_msg
   use mode_time,           only: tdtexp
 
@@ -226,6 +228,7 @@ subroutine Write_budget( tpdiafile, tpdtcur, ptstep, ksv )
   !
   !*     3.1    storage of the masks  array
   !
+#ifdef MNH_IOLFI
       if ( Trim( tpdiafile%cformat ) == 'LFI' .or. Trim( tpdiafile%cformat ) == 'LFICDF4' ) then
         Allocate( zworkmask(Size( xbusurf, 1 ), Size( xbusurf, 2 ), 1, nbuwrnb, nbumask,1) )
         ! local array
@@ -261,6 +264,7 @@ subroutine Write_budget( tpdiafile, tpdtcur, ptstep, ksv )
 
         Deallocate( zworkmask )
       end if
+#endif
 
       if ( Trim( tpdiafile%cformat ) == 'LFICDF4' .or. Trim( tpdiafile%cformat ) == 'NETCDF4' ) then
         tzfile = tpdiafile
diff --git a/src/MNH/write_diachro.f90 b/src/MNH/write_diachro.f90
index 7b320fa3c7a2c18b92f3e36a7af1259c63522b28..535ca0bb0f23df2dd0c6c95c31ca63571a9c7a46 100644
--- a/src/MNH/write_diachro.f90
+++ b/src/MNH/write_diachro.f90
@@ -1,4 +1,4 @@
-!MNH_LIC Copyright 1996-2020 CNRS, Meteo-France and Universite Paul Sabatier
+!MNH_LIC Copyright 1996-2021 CNRS, Meteo-France and Universite Paul Sabatier
 !MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 !MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 !MNH_LIC for details. version 1.
@@ -142,9 +142,11 @@ end if
 gpack = lpack
 lpack = .false.
 
+#ifdef MNH_IOLFI
 if ( tpdiafile%cformat == 'LFI' .or. tpdiafile%cformat == 'LFICDF4' ) &
   call Write_diachro_lfi( tpdiafile, tpfields, hgroup, htype, tpdates, pvar, gicp, gjcp, gkcp, kil, kih, kjl, kjh, kkl, kkh, &
                           ptrajx, ptrajy, ptrajz )
+#endif
 
 #ifdef MNH_IOCDF4
 if ( tpdiafile%cformat == 'NETCDF4' .or. tpdiafile%cformat == 'LFICDF4' ) &
@@ -156,6 +158,7 @@ lpack = gpack
 
 end subroutine Write_diachro
 
+#ifdef MNH_IOLFI
 !-----------------------------------------------------------------------------
 subroutine Write_diachro_lfi( tpdiafile, tpfields, hgroup, htype, tpdates, pvar, oicp, ojcp, okcp, kil, kih, kjl, kjh, kkl, kkh, &
                               ptrajx, ptrajy, ptrajz )
@@ -616,8 +619,10 @@ deallocate( zdatime )
 call Menu_diachro( tzfile, ygroup )
 
 end subroutine Write_diachro_lfi
-!-----------------------------------------------------------------------------
+#endif
+
 #ifdef MNH_IOCDF4
+!-----------------------------------------------------------------------------
 subroutine Write_diachro_nc4( tpdiafile, tpfields, hgroup, htype, tpdates, pvar, oicp, ojcp, okcp, kil, kih, kjl, kjh, kkl, kkh, &
                               osplit )
 
diff --git a/src/Makefile.MESONH.mk b/src/Makefile.MESONH.mk
index 53ed3852d97e766f518dd65b5bc8b9faaa27d729..a041d5ed487f76311bcef3ee861589278dac40e0 100644
--- a/src/Makefile.MESONH.mk
+++ b/src/Makefile.MESONH.mk
@@ -1,4 +1,4 @@
-#MNH_LIC Copyright 1994-2019 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC Copyright 1994-2021 CNRS, Meteo-France and Universite Paul Sabatier
 #MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 #MNH_LIC for details. version 1.
@@ -215,13 +215,16 @@ endif
 ##########################################################
 #           Source NEWLFI                                #
 ##########################################################
+ifdef MNH_IOLFI
+CPPFLAGS_MNH += -DMNH_IOLFI
 DIR_NEWLFI      += LIB/NEWLFI/src
 #CPPFLAGS_NEWLFI = -DSWAPIO -DLINUX
 INC_NEWLFI      = -I$(B)LIB/NEWLFI/src
+endif
 #
 ifdef DIR_NEWLFI
 #
-# Management/parametrisation of size of INTEGER ofr file > 16 GO & RECL for LFI
+# Management/parametrisation of size of INTEGER for files > 16 GiB & RECL for LFI
 #
 LFI_INT?=4
 ifneq "$(findstring 8,$(LFI_INT))" ""
diff --git a/src/Rules.AIX64.mk b/src/Rules.AIX64.mk
index 2f125e2cef063ec5d03bb90cdd492d1e824289d5..88f2cd2c44ff17b19cc462471bb6782fc9f26caa 100644
--- a/src/Rules.AIX64.mk
+++ b/src/Rules.AIX64.mk
@@ -1,4 +1,4 @@
-#MNH_LIC Copyright 1994-2019 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC Copyright 1994-2021 CNRS, Meteo-France and Universite Paul Sabatier
 #MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 #MNH_LIC for details. version 1.
@@ -98,6 +98,11 @@ CNAME_GRIBEX=""
 #if MNH_TOOLS exists => compile the tools
 MNH_TOOLS = yes
 #
+## IOLFI flag
+#
+#if MNH_IOLFI exists => compile the NEWLFI library (for LFI files)
+MNH_IOLFI=yes
+#
 ## COMPRESS flag
 #
 #if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
diff --git a/src/Rules.BG.mk b/src/Rules.BG.mk
index 068f99dea7da2ab34b6b4125f9ca99fd70b8306e..802ddba3f7f955457b6ddfa05aabae93819a2f9b 100644
--- a/src/Rules.BG.mk
+++ b/src/Rules.BG.mk
@@ -1,4 +1,4 @@
-#MNH_LIC Copyright 1994-2019 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC Copyright 1994-2021 CNRS, Meteo-France and Universite Paul Sabatier
 #MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 #MNH_LIC for details. version 1.
@@ -109,6 +109,11 @@ CNAME_GRIBEX=""
 #if MNH_TOOLS exists => compile the tools
 #MNH_TOOLS = no
 #
+## IOLFI flag
+#
+#if MNH_IOLFI exists => compile the NEWLFI library (for LFI files)
+MNH_IOLFI=yes
+#
 ## COMPRESS flag
 #
 #if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
diff --git a/src/Rules.BGQ.mk b/src/Rules.BGQ.mk
index 79f9363bd0dcb0e67e1fcf720242c3580f6b77d4..3500dde671ff1e89a01392f2cb39c08d382afa96 100644
--- a/src/Rules.BGQ.mk
+++ b/src/Rules.BGQ.mk
@@ -1,4 +1,4 @@
-#MNH_LIC Copyright 1994-2019 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC Copyright 1994-2021 CNRS, Meteo-France and Universite Paul Sabatier
 #MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 #MNH_LIC for details. version 1.
@@ -168,6 +168,11 @@ GRIBAPI_CONF= --host=powerpc64-bgq-linux
 #if MNH_TOOLS exists => compile the tools
 #MNH_TOOLS = no
 #
+## IOLFI flag
+#
+#if MNH_IOLFI exists => compile the NEWLFI library (for LFI files)
+MNH_IOLFI=yes
+#
 ## COMPRESS flag
 #
 #if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
diff --git a/src/Rules.LXNAGfor.mk b/src/Rules.LXNAGfor.mk
index 318cb4ba34a70725def6ace645a075ffe1ba2494..5ccc4a7b119565743b50c83396ae497c971bb9f9 100644
--- a/src/Rules.LXNAGfor.mk
+++ b/src/Rules.LXNAGfor.mk
@@ -1,4 +1,4 @@
-#MNH_LIC Copyright 1994-2019 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC Copyright 1994-2021 CNRS, Meteo-France and Universite Paul Sabatier
 #MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 #MNH_LIC for details. version 1.
@@ -90,6 +90,11 @@ NETCDF_SUPPFLAGS = -dusty -kind=byte
 #if MNH_TOOLS exists => compile the tools
 MNH_TOOLS = yes
 #
+## IOLFI flag
+#
+#if MNH_IOLFI exists => compile the NEWLFI library (for LFI files)
+MNH_IOLFI=yes
+#
 ## COMPRESS flag
 #
 #if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
diff --git a/src/Rules.LXarm.mk b/src/Rules.LXarm.mk
index c9b81e0b274aaca96506cf445314a8873526a9c1..64f5e01dbbb001cda375b04f96d94a0d9b5ae111 100644
--- a/src/Rules.LXarm.mk
+++ b/src/Rules.LXarm.mk
@@ -1,4 +1,4 @@
-#MNH_LIC Copyright 1994-2019 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC Copyright 1994-2021 CNRS, Meteo-France and Universite Paul Sabatier
 #MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 #MNH_LIC for details. version 1.
@@ -112,6 +112,11 @@ MNH_TOOLS=yes
 endif
 endif
 #
+## IOLFI flag
+#
+#if MNH_IOLFI exists => compile the NEWLFI library (for LFI files)
+MNH_IOLFI=yes
+#
 ## COMPRESS flag
 #
 #if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
diff --git a/src/Rules.LXcray.mk b/src/Rules.LXcray.mk
index 4e4b34b870f3dc1def5c79d66e45cc772b4b1049..20b92e599d0254d5891df8ee4b814659b52009cf 100644
--- a/src/Rules.LXcray.mk
+++ b/src/Rules.LXcray.mk
@@ -1,4 +1,4 @@
-#MNH_LIC Copyright 1994-2019 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC Copyright 1994-2021 CNRS, Meteo-France and Universite Paul Sabatier
 #MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 #MNH_LIC for details. version 1.
@@ -106,6 +106,11 @@ GRIBAPI_CONF="FCFLAGS= -em -ef "
 #if MNH_TOOLS exists => compile the tools
 MNH_TOOLS = yes
 #
+## IOLFI flag
+#
+#if MNH_IOLFI exists => compile the NEWLFI library (for LFI files)
+MNH_IOLFI=yes
+#
 ## COMPRESS flag
 #
 #if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
diff --git a/src/Rules.LXg95.mk b/src/Rules.LXg95.mk
index 7a1add9c315f623c9f06569b07761c4f92b1953a..8b3da6758987ccf17f9800b37b764e685eda92e9 100644
--- a/src/Rules.LXg95.mk
+++ b/src/Rules.LXg95.mk
@@ -1,4 +1,4 @@
-#MNH_LIC Copyright 1994-2019 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC Copyright 1994-2021 CNRS, Meteo-France and Universite Paul Sabatier
 #MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 #MNH_LIC for details. version 1.
@@ -77,6 +77,11 @@ CNAME_GRIBEX=g95
 #if MNH_TOOLS exists => compile the tools
 MNH_TOOLS = yes
 #
+## IOLFI flag
+#
+#if MNH_IOLFI exists => compile the NEWLFI library (for LFI files)
+MNH_IOLFI=yes
+#
 ## COMPRESS flag
 #
 #if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
diff --git a/src/Rules.LXgfortran.mk b/src/Rules.LXgfortran.mk
index 956cd7e4591f67c834a7439a5d819ae6e1b528f3..d4e628326b63b2a0ea2910fc46899dbbc18538a4 100644
--- a/src/Rules.LXgfortran.mk
+++ b/src/Rules.LXgfortran.mk
@@ -1,4 +1,4 @@
-#MNH_LIC Copyright 1994-2020 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC Copyright 1994-2021 CNRS, Meteo-France and Universite Paul Sabatier
 #MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 #MNH_LIC for details. version 1.
@@ -106,6 +106,11 @@ MNH_TOOLS=yes
 endif
 endif
 #
+## IOLFI flag
+#
+#if MNH_IOLFI exists => compile the NEWLFI library (for LFI files)
+MNH_IOLFI=yes
+#
 ## COMPRESS flag
 #
 #if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
diff --git a/src/Rules.LXifort.mk b/src/Rules.LXifort.mk
index a912f800b0dadff45dcd117e54bfe49c4443c0c5..6920bf3a78d09b9f98bb89d160c8c324cdfb6156 100644
--- a/src/Rules.LXifort.mk
+++ b/src/Rules.LXifort.mk
@@ -1,4 +1,4 @@
-#MNH_LIC Copyright 1994-2019 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC Copyright 1994-2021 CNRS, Meteo-France and Universite Paul Sabatier
 #MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 #MNH_LIC for details. version 1.
@@ -201,6 +201,11 @@ ifeq "$(MNH_INT)" "4"
 MNH_TOOLS=yes
 endif
 #
+## IOLFI flag
+#
+#if MNH_IOLFI exists => compile the NEWLFI library (for LFI files)
+MNH_IOLFI=yes
+#
 ## COMPRESS flag
 #
 #if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
diff --git a/src/Rules.LXpathf95.mk b/src/Rules.LXpathf95.mk
index d116ac262a9690d95c1d54cbc1119b73d111737a..22f984d5d374f41563fbe69ed19f4a695b0ee381 100644
--- a/src/Rules.LXpathf95.mk
+++ b/src/Rules.LXpathf95.mk
@@ -1,4 +1,4 @@
-#MNH_LIC Copyright 1994-2019 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC Copyright 1994-2021 CNRS, Meteo-France and Universite Paul Sabatier
 #MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 #MNH_LIC for details. version 1.
@@ -57,6 +57,11 @@ CNAME_GRIBEX=pathf95
 #if MNH_TOOLS exists => compile the tools
 MNH_TOOLS = yes
 #
+## IOLFI flag
+#
+#if MNH_IOLFI exists => compile the NEWLFI library (for LFI files)
+MNH_IOLFI=yes
+#
 ## COMPRESS flag
 #
 #if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
diff --git a/src/Rules.LXpgi.mk b/src/Rules.LXpgi.mk
index 3b50623706d93a6c5cb5738fddfd6886b6ed4602..697a802cd349074ee574a4f077b88c85c5537036 100644
--- a/src/Rules.LXpgi.mk
+++ b/src/Rules.LXpgi.mk
@@ -1,4 +1,4 @@
-#MNH_LIC Copyright 1994-2019 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC Copyright 1994-2021 CNRS, Meteo-France and Universite Paul Sabatier
 #MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 #MNH_LIC for details. version 1.
@@ -112,6 +112,11 @@ CNAME_GRIBEX=_pgf77
 #if MNH_TOOLS exists => compile the tools
 MNH_TOOLS = yes
 #
+## IOLFI flag
+#
+#if MNH_IOLFI exists => compile the NEWLFI library (for LFI files)
+MNH_IOLFI=yes
+#
 ## COMPRESS flag
 #
 #if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
diff --git a/src/Rules.SX8.mk b/src/Rules.SX8.mk
index 669582ee8fde48898ce5487f9c76a4ab90ee61dc..332661185c2da308649408401d3aca97a00d324b 100644
--- a/src/Rules.SX8.mk
+++ b/src/Rules.SX8.mk
@@ -1,4 +1,4 @@
-#MNH_LIC Copyright 1994-2019 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC Copyright 1994-2021 CNRS, Meteo-France and Universite Paul Sabatier
 #MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 #MNH_LIC for details. version 1.
@@ -100,6 +100,11 @@ CNAME_GRIBEX=sxmpif90
 #if MNH_TOOLS exists => compile the tools
 #MNH_TOOLS = no
 #
+## IOLFI flag
+#
+#if MNH_IOLFI exists => compile the NEWLFI library (for LFI files)
+MNH_IOLFI=yes
+#
 ## COMPRESS flag
 #
 #if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)