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.3 2003-03-27 23:33:40 chuckv Exp $, $Date: 2003-03-27 23:33:40 $, $Name: not supported by cvs2svn $, $Revision: 1.3 $ |
11 |
|
|
12 |
|
module mpiSimulation |
13 |
|
use definitions |
254 |
|
|
255 |
|
nComponentsLocal = thisComponentPlan%myNlocal |
256 |
|
|
257 |
+ |
write(*,*) "UpdateGridComponents: myNlocal ", nComponentsLocal |
258 |
|
call mpi_allreduce(nComponentsLocal,nComponentsRow,1,mpi_integer,& |
259 |
|
mpi_sum,thisComponentPlan%rowComm,mpiErrors) |
260 |
|
if (mpiErrors /= 0) then |
271 |
|
|
272 |
|
thisComponentPlan%nComponentsRow = nComponentsRow |
273 |
|
thisComponentPlan%nComponentsColumn = nComponentsColumn |
274 |
< |
|
274 |
> |
write(*,*) "UpdateGridComponents: myNRow ",& |
275 |
> |
thisComponentPlan%nComponentsRow |
276 |
> |
write(*,*) "UpdateGridComponents: myNColumn ",& |
277 |
> |
thisComponentPlan%nComponentsColumn |
278 |
|
|
279 |
|
end subroutine updateGridComponents |
280 |
|
|
629 |
|
ncol = thisplan%gsComponentPlan%nComponentsColumn |
630 |
|
end function getNcol |
631 |
|
|
632 |
< |
pure function getNrow(thisplan) result(ncol) |
632 |
> |
pure function getNrow(thisplan) result(nrow) |
633 |
|
type (gs_plan), intent(in) :: thisplan |
634 |
< |
integer :: ncol |
635 |
< |
ncol = thisplan%gsComponentPlan%nComponentsrow |
634 |
> |
integer :: nrow |
635 |
> |
nrow = thisplan%gsComponentPlan%nComponentsRow |
636 |
|
end function getNrow |
637 |
|
|
638 |
|
function isMPISimSet() result(isthisSimSet) |
666 |
|
write(default_error,*) "nBondGlobal: ", mpiSim%nBondsGlobal |
667 |
|
write(default_error,*) "nTorsionsGlobal: ", mpiSim%nTorsionsGlobal |
668 |
|
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 |
669 |
|
write(default_error,*) "myNlocal: ", mpiSim%myNlocal |
670 |
|
write(default_error,*) "myNode: ", mpiSim%myNode |
671 |
|
write(default_error,*) "numberProcessors: ", mpiSim%numberProcessors |