Skip to content

Commit 5dfdd81

Browse files
committed
Remove comm input from Master_job_DataResp
1 parent 87d5867 commit 5dfdd81

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

f90/MPI/Main_MPI.f90

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ Subroutine Master_job_fwdPred(sigma,d1,eAll,comm,trial)
680680

681681
! Compute the model Responces
682682
if (EsMgr_save_in_file) then
683-
call Master_job_DataResp(nTx, sigma, d1, trial_lcl, comm_leader)
683+
call Master_job_DataResp(nTx, sigma, d1, trial_lcl)
684684
else
685685
do iTx=1,nTx
686686
do i = 1,d1%d(iTx)%nDt
@@ -706,15 +706,14 @@ end subroutine Master_job_fwdPred
706706

707707
!----------------------------------------------------------------------------
708708
!########################## Master_job_DataResp ############################
709-
subroutine Master_job_DataResp(nTx, sigma, d, trial, comm)
709+
subroutine Master_job_DataResp(nTx, sigma, d, trial)
710710

711711
implicit none
712712

713713
integer, intent(in) :: nTx
714714
type (modelParam_t), intent(in) :: sigma
715715
type (dataVectorMTX_t), intent(inout) :: d
716716
logical, intent(in), optional :: trial
717-
integer, intent(in), optional :: comm
718717

719718
character (len=*), parameter :: JOB_NAME = "DATARESP"
720719

@@ -735,7 +734,7 @@ subroutine Master_job_DataResp(nTx, sigma, d, trial, comm)
735734
comm_current = comm_leader
736735
end if
737736

738-
modem_ctx % comm_current = comm
737+
modem_ctx % comm_current = comm_current
739738

740739
call create_worker_job_task_place_holder
741740

0 commit comments

Comments
 (0)