45 INTEGER,
PARAMETER :: DMP_MIN = 3
70 ELSEIF(nodesi > 1)
THEN 71 layers=int(imax/nodesi)
72 IF(layers < dmp_min)
THEN 73 WRITE(
err_msg,1002)
'X', dmp_min,
'I',
'I', layers
86 ELSEIF(nodesj > 1)
THEN 87 layers=int(jmax/nodesj)
88 IF(layers < dmp_min)
THEN 89 WRITE(
err_msg,1002)
'Y', dmp_min,
'J',
'J', layers
103 IF(layers < dmp_min)
THEN 104 WRITE(
err_msg,1002)
'Z', dmp_min,
'K',
'K', layers
111 IF(numpes .NE. (nodesi*nodesj*
nodesk))
THEN 122 1000
FORMAT(
'Error 1000: No DMP grid partitioning data provided in ', &
123 'mfix.dat.',/
'NODESI, NODESJ, and NODESK are all undefined.',/&
124 'Refer to the users manual for required input and make the ', &
125 'necessary',/
'corrections to the input data file.')
127 1001
FORMAT(
'Warning 1001: Setting NODES',a1,
' to default: ', &
130 1002
FORMAT(
'Error 1002: Too many DMP partitions specified for ', &
131 a1,
' axis.',/
'There must be at least ',i2,
' computational ', &
132 'cells per DMP parition.',/
' >>> Computational Cells/DMP ', &
133 'Partition = int(',a1,
'MAX/NODES',a1,
') = ',i2,/
'Refer to ', &
134 'the users manual for required input and make the necessary',/&
135 'corrections to the input data file.')
137 1003
FORMAT(
'Error 1003: The number of requested processors is ', &
138 'inconsistent',/
'with the domain decomposition, (NODESi * ', &
139 'NODESj * NODESk).',/
' These numbers must match.',2/, &
140 ' Number of requested processes: ',i8,/, &
141 ' Domain decomposition : ',i8,/)
subroutine check_dmp_prereqs
subroutine init_err_msg(CALLER)
integer, parameter undefined_i
character(len=line_length), dimension(line_count) err_msg
subroutine flush_err_msg(DEBUG, HEADER, FOOTER, ABORT, LOG, CALL_TREE)