#include "implicit_f.inc"
#include "com01_c.inc"
Go to the source code of this file.
|
| subroutine | spmdset (n, npby, nnpby, lpby, nsl, k) |
◆ spmdset()
| subroutine spmdset |
( |
integer | n, |
|
|
integer, dimension(nnpby,*) | npby, |
|
|
integer | nnpby, |
|
|
integer, dimension(*) | lpby, |
|
|
integer | nsl, |
|
|
integer | k ) |
Definition at line 33 of file spmdset.F.
34
35
36
37#include "implicit_f.inc"
38
39
40
41#include "com01_c.inc"
42
43
44
45 INTEGER N,NPBY(NNPBY,*),LPBY(*), NNPBY, NSL, K
46
47
48
49 INTEGER NLOCAL
51
52
53
54 INTEGER P,J,FMAIN(NSPMD),S_FMAIN
55
56 DO p = 1, nspmd
57 fmain(p) = 0
58 ENDDO
59 s_fmain = 0
60 DO p = 1, nspmd
61 DO j = 1, nsl
62 IF (
nlocal(lpby(j+k),p)/=0)
THEN
63 fmain(p) = 1
64 s_fmain = s_fmain + 1
65 GO TO 85
66 ENDIF
67 ENDDO
6885 CONTINUE
69 END DO
70
71 DO p = 1, nspmd
72 IF (fmain(p) == 1) THEN
74 ENDIF
75 ENDDO
76
78 IF(npby(8,n)/=0)THEN
80 ENDIF
81
82 RETURN
subroutine ifrontplus(n, p)