# | Line 7 | Line 7 | |
---|---|---|
7 | !! | |
8 | !! @author Charles F. Vardeman II | |
9 | !! @author Matthew Meineke | |
10 | < | !! @version $Id: mpiSimulation_module.F90,v 1.1.1.1 2003-03-21 17:42:12 mmeineke Exp $, $Date: 2003-03-21 17:42:12 $, $Name: not supported by cvs2svn $, $Revision: 1.1.1.1 $ |
10 | > | !! @version $Id: mpiSimulation_module.F90,v 1.4 2003-04-01 16:50:14 chuckv Exp $, $Date: 2003-04-01 16:50:14 $, $Name: not supported by cvs2svn $, $Revision: 1.4 $ |
11 | ||
12 | module mpiSimulation | |
13 | use definitions | |
# | Line 136 | Line 136 | contains | |
136 | integer :: localStatus | |
137 | !! Global reference tag for local particles | |
138 | integer, dimension(ntags),intent(inout) :: tags | |
139 | + | |
140 | + | write(*,*) 'mpiSim_mod thinks node', thisComponentPlan%myNode, ' has tags(1) = ', tags(1) |
141 | ||
142 | ||
143 | + | |
144 | status = 0 | |
145 | if (componentPlanSet) then | |
146 | return | |
# | Line 254 | Line 257 | contains | |
257 | ||
258 | nComponentsLocal = thisComponentPlan%myNlocal | |
259 | ||
260 | + | write(*,*) "UpdateGridComponents: myNlocal ", nComponentsLocal |
261 | call mpi_allreduce(nComponentsLocal,nComponentsRow,1,mpi_integer,& | |
262 | mpi_sum,thisComponentPlan%rowComm,mpiErrors) | |
263 | if (mpiErrors /= 0) then | |
# | Line 270 | Line 274 | contains | |
274 | ||
275 | thisComponentPlan%nComponentsRow = nComponentsRow | |
276 | thisComponentPlan%nComponentsColumn = nComponentsColumn | |
277 | < | |
277 | > | write(*,*) "UpdateGridComponents: myNRow ",& |
278 | > | thisComponentPlan%nComponentsRow |
279 | > | write(*,*) "UpdateGridComponents: myNColumn ",& |
280 | > | thisComponentPlan%nComponentsColumn |
281 | ||
282 | end subroutine updateGridComponents | |
283 | ||
# | Line 625 | Line 632 | contains | |
632 | ncol = thisplan%gsComponentPlan%nComponentsColumn | |
633 | end function getNcol | |
634 | ||
635 | < | pure function getNrow(thisplan) result(ncol) |
635 | > | pure function getNrow(thisplan) result(nrow) |
636 | type (gs_plan), intent(in) :: thisplan | |
637 | < | integer :: ncol |
638 | < | ncol = thisplan%gsComponentPlan%nComponentsrow |
637 | > | integer :: nrow |
638 | > | nrow = thisplan%gsComponentPlan%nComponentsRow |
639 | end function getNrow | |
640 | ||
641 | function isMPISimSet() result(isthisSimSet) | |
# | Line 662 | Line 669 | contains | |
669 | write(default_error,*) "nBondGlobal: ", mpiSim%nBondsGlobal | |
670 | write(default_error,*) "nTorsionsGlobal: ", mpiSim%nTorsionsGlobal | |
671 | write(default_error,*) "nSRIGlobal: ", mpiSim%nSRIGlobal | |
665 | – | write(default_error,*) "myMolStart: ", mpiSim%myMolStart |
666 | – | write(default_error,*) "myMolEnd: ", mpiSim%myMolEnd |
667 | – | write(default_error,*) "myMol: ", mpiSim%myMol |
672 | write(default_error,*) "myNlocal: ", mpiSim%myNlocal | |
673 | write(default_error,*) "myNode: ", mpiSim%myNode | |
674 | write(default_error,*) "numberProcessors: ", mpiSim%numberProcessors |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |