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 474 for trunk/NEMO/OPA_SRC/geo2ocean.F90 – NEMO

Ignore:
Timestamp:
2006-05-11T17:24:19+02:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_update_061: SM: end of ctl_stop + mpi optimization in _bilap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/geo2ocean.F90

    r247 r474  
    255255 
    256256         CASE default 
    257             IF(lwp) WRITE(numout,cform_err) 
    258             IF(lwp) WRITE(numout,*) 'geo2oce : bad grid argument : ', cgrid 
    259             nstop = nstop + 1 
     257            WRITE(ctmp1,*) 'geo2oce : bad grid argument : ', cgrid 
     258            CALL ctl_stop( ctmp1 ) 
    260259       END SELECT 
    261260       
     
    327326      IF( kchoix == 0 ) THEN 
    328327         IF( nmem == 0 ) THEN 
    329             IF(lwp) WRITE(numout,cform_err) 
    330             IF(lwp) WRITE(numout,*) 'repere : e r r o r  in kchoix : ', kchoix 
    331             IF(lwp) WRITE(numout,*) ' for the first call , you must indicate ' 
    332             IF(lwp) WRITE(numout,*) ' the direction of change ' 
    333             IF(lwp) WRITE(numout,*) ' kchoix = 1 geo       --> stretched ' 
    334             IF(lwp) WRITE(numout,*) ' kchoix =-1 stretched --> geo ' 
    335             nstop = nstop + 1 
     328            WRITE(ctmp1,*) 'repere : e r r o r  in kchoix : ', kchoix 
     329            CALL ctl_stop( ctmp1, ' for the first call , you must indicate ',   & 
     330                 &                ' the direction of change ',   & 
     331                 &                ' kchoix = 1 geo       --> stretched ',   & 
     332                 &                ' kchoix =-1 stretched --> geo ' ) 
    336333         ELSE 
    337334            kchoix = nmem 
     
    340337         nmem = kchoix 
    341338      ELSE 
    342          IF(lwp) WRITE(numout,cform_err) 
    343          IF(lwp) WRITE(numout,*) 'repere : e r r o r  in kchoix : ', kchoix 
    344          IF(lwp) WRITE(numout,*) ' kchoix must be equal to -1, 0 or 1 ' 
    345          nstop = nstop + 1 
     339         WRITE(ctmp1,*) 'repere : e r r o r  in kchoix : ', kchoix 
     340         CALL ctl_stop( ctmp1, ' kchoix must be equal to -1, 0 or 1 ' ) 
    346341      ENDIF 
    347342 
Note: See TracChangeset for help on using the changeset viewer.