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 3 (modified by flavoni, 15 years ago) (diff)

Name changed from private/libIGCM/4Parallelpage to private/libIGCM/parallelpage

How to make a parallel run


Add a cpp key and compile

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

and then see:

http://www.nemo-ocean.eu/index.php//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
    
  • Enable run multi processors option in modipsl/config/ORCA2_LIM/IGCM00/config.card: :
    #-- Run Options :
    JobRunOptions='"-np "${BATCH_NUM_PROC_TOT}"'