From 59de8f8376be2a5372e01bc130936cabdc456731 Mon Sep 17 00:00:00 2001 From: Philippe WAUTELET <philippe.wautelet@aero.obs-mip.fr> Date: Wed, 6 Jan 2021 15:54:26 +0100 Subject: [PATCH] Philippe 06/01/2021: IO: add MNH_IOLFI key to compile or not with LFI support This is incomplete for the moment. MesoNH must always be compiled with this key for the time being. --- src/LIB/SURCOUCHE/src/modd_io.f90 | 4 +++- src/LIB/SURCOUCHE/src/mode_io_file_lfi.f90 | 5 ++++- src/MNH/diag.f90 | 6 +++++- src/MNH/menu_diachro.f90 | 4 +++- src/MNH/modeln.f90 | 6 +++++- src/MNH/write_budget.f90 | 6 +++++- src/MNH/write_diachro.f90 | 9 +++++++-- src/Makefile.MESONH.mk | 7 +++++-- src/Rules.AIX64.mk | 7 ++++++- src/Rules.BG.mk | 7 ++++++- src/Rules.BGQ.mk | 7 ++++++- src/Rules.LXNAGfor.mk | 7 ++++++- src/Rules.LXarm.mk | 7 ++++++- src/Rules.LXcray.mk | 7 ++++++- src/Rules.LXg95.mk | 7 ++++++- src/Rules.LXgfortran.mk | 7 ++++++- src/Rules.LXifort.mk | 7 ++++++- src/Rules.LXpathf95.mk | 7 ++++++- src/Rules.LXpgi.mk | 7 ++++++- src/Rules.SX8.mk | 7 ++++++- 20 files changed, 109 insertions(+), 22 deletions(-) diff --git a/src/LIB/SURCOUCHE/src/modd_io.f90 b/src/LIB/SURCOUCHE/src/modd_io.f90 index 77c77b437..629199502 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 1d0737995..ae58ffa6c 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 b5b129240..78e1f4cce 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 ca9af590a..7c4fcea5a 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 d50b8881a..b7958c13f 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 18e2b56ba..77a76c5e6 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 7b320fa3c..535ca0bb0 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 53ed3852d..a041d5ed4 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 2f125e2ce..88f2cd2c4 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 068f99dea..802ddba3f 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 79f9363bd..3500dde67 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 318cb4ba3..5ccc4a7b1 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 c9b81e0b2..64f5e01db 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 4e4b34b87..20b92e599 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 7a1add9c3..8b3da6758 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 956cd7e45..d4e628326 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 a912f800b..6920bf3a7 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 d116ac262..22f984d5d 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 3b5062370..697a802cd 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 669582ee8..332661185 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) -- GitLab