1 / 3

Appl (Psmile) calls : Psmile_init_mpi1 (from prism_init)

Driver calls :  Prismdrv_init_appl. Appl (Psmile) calls : Psmile_init_mpi1 (from prism_init). MPI_comm_dup MPI_COMM_WORLD  comm_drv_global Comm_drv_global  comm_drv_trans. MPI_comm_dup MPI_COMM_WORLD  comm_global Comm_global  comm_trans. Proc 0 of driver has read scc

tamber
Download Presentation

Appl (Psmile) calls : Psmile_init_mpi1 (from prism_init)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Driver calls :  Prismdrv_init_appl • Appl (Psmile) calls : • Psmile_init_mpi1 (from prism_init) MPI_comm_dup MPI_COMM_WORLD  comm_drv_global Comm_drv_global  comm_drv_trans MPI_comm_dup MPI_COMM_WORLD  comm_global Comm_global  comm_trans Proc 0 of driver has read scc file  distribution by collective calls collective calls (MPI_Allreduce,MPI_Bcast) for proc in comm_drv_global == for all procs (ie psmile + driver) collective calls (MPI_Allreduce,MPI_Bcast) for proc in comm_global == for all procs (ie psmile + driver) MPI1 : MPI_COMM_WORLD contains all the procs : psmile+driver

  2. key = 0 ; color = Appl%sequence_number CALL MPI_Comm_Split (comm_global, & color, key, Appl%com, id_err ) key = 0 ; color = 0 CALL MPI_Comm_Split (comm_drv_global, & color, key, comm_drv_local, id_err ) Definition of the comm of 1 appl Definition of the comm of the driver key = 0 do index = 1, noApplication If (index = Appl%sequence_number) then color = index else color = MPI_undefined endif CALL MPI_Comm_Split (comm_global, & color, key, comm, id_err ) do index = 1, ig_nb_appl key = 0 ; color = index CALL MPI_Comm_Split (comm_drv_global, & color, key, comm, id_err ) Driver calls :  Prismdrv_def_mpi_comm • Appl (Psmile) calls : • Psmile_def_mpi_comm Definition of comm_coupler between driver and one appl Definition of comm_coupling(index) between driver and one appl = comm

  3. Driver calls :  Prismdrv_def_mpi_comm • Appl (Psmile) calls : • Psmile_def_mpi_comm key = 0 ; color = MPI_undefined CALL MPI_Comm_Split (comm_drv_global, & color, key, comm_psmile, id_err ) key = 0 ; color = 1 CALL MPI_Comm_Split (comm_global, & color, key, comm_psmile, id_err ) Definition of the comm of all appl

More Related