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 2639 for branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/SBC – NEMO

Ignore:
Timestamp:
2011-03-02T19:23:26+01:00 (13 years ago)
Author:
cetlod
Message:

re-introduce missing allocated array

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/SBC/sbcssr.F90

    r2620 r2639  
    107107         ENDIF 
    108108 
     109         ! Allocate erp and qrp array 
     110         ALLOCATE( qrp(jpi,jpj), erp(jpi,jpj), STAT=ierror ) 
     111         IF( ierror > 0 )   CALL ctl_stop( 'STOP', 'sbc_ssr: unable to allocate erp and qrp array' ) 
     112 
    109113         IF( nn_sstr == 1 ) THEN      !* set sf_sst structure & allocate arrays 
    110114            ! 
     
    119123            IF( ierror > 0 )   CALL ctl_stop( 'STOP', 'sbc_ssr: unable to allocate sf_sst data array' ) 
    120124            ! 
    121             ALLOCATE( qrp(jpi,jpj), STAT=ierror ) 
    122             IF( ierror > 0 )   CALL ctl_stop( 'STOP', 'sbc_ssr: unable to allocate qrp array' ) 
    123125         ENDIF 
    124126         ! 
     
    135137            IF( ierror > 0 )   CALL ctl_stop( 'STOP', 'sbc_ssr: unable to allocate sf_sss data array' ) 
    136138            ! 
    137             ALLOCATE( erp(jpi,jpj), STAT=ierror ) 
    138             IF( ierror > 0 )   CALL ctl_stop( 'STOP', 'sbc_ssr: unable to allocate erp array' ) 
    139139         ENDIF 
    140140         ! 
Note: See TracChangeset for help on using the changeset viewer.