New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 12345 for NEMO/branches/2019/dev_r12072_MERGE_OPTION2_2019/src/OCE/DIA/diamlr.F90 – NEMO

Ignore:
Timestamp:
2020-01-28T15:26:14+01:00 (4 years ago)
Author:
acc
Message:

Branch dev_r12072_MERGE_OPTION2_2019. Fixed ticket #2372. Changes to enable compilation without key_iomput

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r12072_MERGE_OPTION2_2019/src/OCE/DIA/diamlr.F90

    r12184 r12345  
    1313   USE dom_oce        , ONLY :   adatrj 
    1414   USE timing         , ONLY :   timing_start, timing_stop 
     15#if defined key_iomput 
    1516   USE xios 
     17#endif 
    1618   USE tide_mod 
    1719 
     
    5759      !! 
    5860      !!---------------------------------------------------------------------- 
     61#if defined key_iomput 
    5962 
    6063      TYPE(xios_fieldgroup)                       ::   slxhdl_fldgrp 
     
    97100      ELSE 
    98101         IF (lwp) THEN 
    99             WRITE(numout, *) "diamlr: configuration not found or icomplete (field group 'diamlr_fields'" 
     102            WRITE(numout, *) "diamlr: configuration not found or incomplete (field group 'diamlr_fields'" 
    100103            WRITE(numout, *) "        and/or file group 'diamlr_files' and/or field 'diamlr_time' missing);" 
    101104            WRITE(numout, *) "        disabling output for multiple-linear-regression analysis." 
     
    385388 
    386389      END IF 
     390#else 
     391      IF( .FALSE. ) write(numout,*) 'dia_mlr_iom_init: should not see this'    ! useless statement to avoid compiler warnings 
     392#endif 
    387393 
    388394   END SUBROUTINE dia_mlr_iom_init 
Note: See TracChangeset for help on using the changeset viewer.