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.
user/flavoni/libIGCM/parallelpage – NEMO
wiki:user/flavoni/libIGCM/parallelpage

Version 7 (modified by flavoni, 15 years ago) (diff)

--

How to make a parallel run


Add a cpp key and compile

http://www.nemo-ocean.eu//Using-NEMO/User-Guides/Advanced/How-to-add-modify-new-modules-or-new-cpp-keys

and then see:

http://www.nemo-ocean.eu//Using-NEMO/User-Guides/Advanced/How-to-set-up-one-simulation#eztoc1210_5

  • Add key in modipsl/config/ORCA2_LIM/scripts/BB_make.ldef :
    key_mpp_mpi
    
  • Set number of processor in modipsl/modeles/NEMO/OPA_SRC/par_oce.F90 :
    set jpni, jpnj and jpnij    
    

  • Do an ins_make :
    ./modipsl/util/ins_make
    

  • Go in ORCA2_LIM directory :
    cd modipsl/config/ORCA2_LIM
    
  • Compile :
    gmake
    

Configure config.card

  • Set same number of processors at compiling time in modipsl/config/ORCA2_LIM/IGCM00/config.card: :
    #-- Total Number of Processors 
    JobNumProcTot=#proc at compiling time
    
  • Set a frequency for offline rebuild compatible with PeriodLength?
    RebuildFrequency=1Y
    

On brodie

  • Enable multi NQS class :
    #-- PBS Class (required on brodie mono/multi)
    JobClass=multi
    
  • Enable run multi processors option in modipsl/config/ORCA2_LIM/IGCM00/config.card: :
    #-- Run Options :
    JobRunOptions='"-np "${BATCH_NUM_PROC_TOT}"'
    

On vargas

  • Change MPI send type in namelist
       cn_mpi_send =  'I'      !  mpi send/recieve type   ='S', 'B', or 'I' for standard send,
    

Tests

computer  date config modipsl config NEMO Revision| jpnij (jpnixjpnj) length of simulation Real Time for 1 year dods link name
vargas 15/10/09 NEMO_IGCM ORCA2_LIM 1661 16 2Y/1Y 1000 s CLIMV16 M.-A. Foujols
brodie 15/10/09 NEMO_IGCM ORCA2_LIM 1661 4 2Y/1Y 470 s CLIMB4 M.-A. Foujols
mercure 16/10/09 NEMO_IGCM ORCA2_LIM 1670 4(1x4) 10Y/1Y 470 s v32bclim S. Flavoni