38
39
40
41
42
43
44
45
46
47
48
49
53
54
55
56#include "implicit_f.inc"
57
58
59
60#include "com01_c.inc"
61#include "scr12_c.inc"
62
63
64
65
66 TYPE(SUBMODEL_DATA),INTENT(IN)::LSUBMODEL(*)
67
68
69
70
71 INTEGER I, NB_SPMD, SUB_ID
72 LOGICAL IS_AVAILABLE
73 CHARACTER (LEN=255) :: STR
74
75 is_available = .false.
76
77 dectyp=0
78 nspmd=0
79 decani=0
80 decmot=0
81 decneq=100
82 nthread=0
83
86 DO i=1,nb_spmd
88 IF(sub_id == 0) THEN
89 CALL hm_get_intv(
'DOMDEC',dectyp,is_available,lsubmodel)
90 CALL hm_get_intv(
'SPMD',nspmd,is_available,lsubmodel)
91
92 CALL hm_get_intv(
'DECMOT',decmot,is_available,lsubmodel)
93
94 CALL hm_get_intv(
'Nthread',nthread,is_available,lsubmodel)
95 EXIT
96 ENDIF
97 ENDDO
98
99 RETURN
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_option_count(entity_type, hm_option_number)
subroutine hm_option_start(entity_type)