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 11927 for NEMO/branches/UKMO/NEMO_4.0.1_fix_cpl/src/ICE/icerst.F90 – NEMO

Ignore:
Timestamp:
2019-11-19T15:49:40+01:00 (4 years ago)
Author:
dancopsey
Message:

Fix compile errors and resolve conflicts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.1_fix_cpl/src/ICE/icerst.F90

    r11715 r11927  
    274274         CALL ice_istate( nit000 ) 
    275275         ! 
    276          IF( .NOT.ln_iceini .OR. .NOT.ln_iceini_file ) & 
    277             &   CALL ctl_stop('STOP', 'ice_rst_read: you need ln_ice_ini=T and ln_iceini_file=T') 
     276         IF( .NOT.ln_iceini .OR. nn_iceini_file == 0 ) & 
     277            &   CALL ctl_stop('STOP', 'ice_rst_read: you need ln_ice_ini=T and nn_iceini_file=0') 
    278278         ! 
    279279      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.