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 482 – NEMO

Changeset 482


Ignore:
Timestamp:
2006-06-19T16:29:26+02:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_bugfix_048 : CE + CT : the namelist file must be opened before the calling sequence to mynode() in opa.F90 module specially for MPI case

Location:
trunk/NEMO/OFF_SRC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OFF_SRC/mppini.F90

    r354 r482  
    1414   USE dom_oce         ! ocean space and time domain  
    1515   USE in_out_manager  ! I/O Manager 
     16   USE sol_oce         ! ocean elliptic solver 
    1617   USE lib_mpp         ! distribued memory computing library 
    1718   USE ioipsl 
  • trunk/NEMO/OFF_SRC/opa.F90

    r343 r482  
    9292      ENDIF 
    9393 
    94       ! Nodes selection 
    95       narea = mynode() 
    96       narea = narea + 1    ! mynode return the rank of proc (0 --> jpnij -1 ) 
    97       lwp   = narea == 1 
    98  
    9994      OPEN( UNIT=numnam, FILE='namelist', FORM='FORMATTED', STATUS='OLD' ) 
    10095 
     
    107102         WRITE(numout,*) 
    108103      ENDIF 
     104 
     105      ! Nodes selection 
     106      narea = mynode() 
     107      narea = narea + 1    ! mynode return the rank of proc (0 --> jpnij -1 ) 
     108      lwp   = narea == 1 
    109109 
    110110      !                                     ! ============================== ! 
Note: See TracChangeset for help on using the changeset viewer.