| 1 |
############################################################################## Copyright(C) 1999-2020 National Technology & Engineering Solutions |
| 2 |
############################################################################## of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 3 |
############################################################################## NTESS, the U.S. Government retains certain rights in this software. |
| 4 |
############################################################################## |
| 5 |
############################################################################## See packages/seacas/LICENSE for details |
| 6 |
|
| 7 |
############################################################################## |
| 8 |
# Lines beginning with a "#" are considered a comment. |
| 9 |
# |
| 10 |
# Blank lines are ignored. |
| 11 |
# |
| 12 |
# This file is set up as a number of lines, each of which consists of |
| 13 |
# a key phrase, followed by a value. |
| 14 |
# |
| 15 |
# The order of the key phrases is not significant |
| 16 |
# |
| 17 |
# Case is not significant, unless it is significant in the value of a |
| 18 |
# variable (such as file names). |
| 19 |
# |
| 20 |
# Order of the suboptions is not significant. |
| 21 |
############################################################################## |
| 22 |
|
| 23 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 24 |
# INPUT EXODUSII FILE = <filename> |
| 25 |
# |
| 26 |
# This line contains the name of the input ExodusII mesh file which is |
| 27 |
# to be load balanced |
| 28 |
#----------------------------------------------------------------------------- |
| 29 |
INPUT EXODUSII FILE = testa.exoII |
| 30 |
|
| 31 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 32 |
# OUTPUT NEMESISI FILE = <filename> |
| 33 |
# |
| 34 |
# This line is OPTIONAL. |
| 35 |
# |
| 36 |
# This line contains the name of the output NemsisI. This filename must |
| 37 |
# be different than the input filename. |
| 38 |
# |
| 39 |
# Default: nem_slice generates a name |
| 40 |
#----------------------------------------------------------------------------- |
| 41 |
OUTPUT NEMESISI FILE = testa.nemI |
| 42 |
|
| 43 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 44 |
# OUTPUT VISUALIZATION FILE = <option> |
| 45 |
# |
| 46 |
# This line is OPTIONAL. |
| 47 |
# |
| 48 |
# Specify if a visualization file should be generated for this decomposition. |
| 49 |
# The options for this line are "yes", "true", "false", and "no". |
| 50 |
# |
| 51 |
# Default: no visualization file |
| 52 |
#----------------------------------------------------------------------------- |
| 53 |
OUTPUT VISUALIZATION FILE = true |
| 54 |
|
| 55 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 56 |
# GRAPH TYPE FILE = [ELEMENTAL | NODAL] |
| 57 |
# |
| 58 |
# This line determines what kind of a decomposition is going to be |
| 59 |
# generated. The options are ELEMENTAL and NODAL. |
| 60 |
#----------------------------------------------------------------------------- |
| 61 |
GRAPH TYPE = ELEMENTAL |
| 62 |
|
| 63 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 64 |
# DECOMPOSITION METHOD = <options> |
| 65 |
# |
| 66 |
# This line contains all of the information about the decomposition |
| 67 |
# method that will be used. The options are: |
| 68 |
# multikl - use multilevel Kernighan-Lin partitioning |
| 69 |
# method |
| 70 |
# spectral - use spectral partitioning method |
| 71 |
# scattered - use scattered partitioning method |
| 72 |
# linear - use linear partitioning method |
| 73 |
# inertial - use inertial partitioning method |
| 74 |
# random - use random partitioning method |
| 75 |
# infile=<filename> - read assignment vector from file |
| 76 |
# NOTE: one and only one of the above options must be specified |
| 77 |
# |
| 78 |
# kl - OPTIONAL, use Kernighan-Lin refinement for |
| 79 |
# multilevel methods; Default = none |
| 80 |
# none - OPTIONAL, do not use any refinement; |
| 81 |
# Default = none |
| 82 |
# num_sects=<integer> - OPTIONAL, number of eigenvectors; Default = 1 |
| 83 |
# cnctd_dom - OPTIONAL, set CONNECTED_DOMAINS parameter |
| 84 |
# in Chaco. This option forces Chaco to make |
| 85 |
# sure that all domains are connected after |
| 86 |
# the partitioning. Default = off |
| 87 |
# outfile=<filename> - OPTIONAL, One the partition is complete, |
| 88 |
# write out the assignment vector to an ascii |
| 89 |
# file. The nemesisI file is still created if |
| 90 |
# this option is used. NOTE: This option and |
| 91 |
# the "infile" option cannot be used at the |
| 92 |
# same time. Default = off |
| 93 |
#----------------------------------------------------------------------------- |
| 94 |
DECOMPOSITION METHOD = INERTIAL,KL, NUM_SECTS=1, CNCTD_DOM |
| 95 |
|
| 96 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 97 |
# SOLVER SPECIFICATIONS = <options> |
| 98 |
# |
| 99 |
# This line is OPTIONAL. |
| 100 |
# |
| 101 |
# This line contains all of the options for the eigensolver. The options are: |
| 102 |
# tolerance=<number> - OPTIONAL, set the eigensolver tolerance; |
| 103 |
# Default = 1.0e-3 |
| 104 |
# use_rqi - OPTIONAL, use the RQI/Symmlq eigensolver; |
| 105 |
# Default = OFF |
| 106 |
# vmax=<integer> - OPTIONAL, set the number of vertices to |
| 107 |
# coarsen down to; Default = 200 |
| 108 |
#----------------------------------------------------------------------------- |
| 109 |
SOLVER SPECIFICATIONS = TOLERANCE=2.0e-3,USE_RQI,VMAX=200 |
| 110 |
|
| 111 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 112 |
# MACHINE DESCRIPTION = <options> |
| 113 |
# |
| 114 |
# This line is used to describe the machine. The options are: |
| 115 |
# hcube=<integer> - Set machine type to hypercube where the |
| 116 |
# order of the cube is given. |
| 117 |
# hypercube=<integer> - same as "hcube" |
| 118 |
# mesh=<mesh description> - Set the machine type to a mesh. The |
| 119 |
# description can be given as a 1, 2, or |
| 120 |
# three dimensional mesh by giving the |
| 121 |
# number of processors in each dimension |
| 122 |
# separated by an "x". For example, a 2d |
| 123 |
# mesh with 10 processors on each side is |
| 124 |
# designated be "10x10" |
| 125 |
# cluster=<cluster desc> - Set the machine type to a Cluster machine. |
| 126 |
# This causes nem_slice to slice first on |
| 127 |
# the number of boxes, and then call Chaco |
| 128 |
# for each box. The hope is that this will |
| 129 |
# minimize the communication across the boxes. |
| 130 |
# The machine description is as follows: |
| 131 |
# <# boxes><m|h><description> |
| 132 |
# # boxes - number of boxes, integer |
| 133 |
# m | h - designates each box as |
| 134 |
# either mesh or hypercube |
| 135 |
# description - the description of the |
| 136 |
# mesh or hypercube same |
| 137 |
# as above. |
| 138 |
# example: |
| 139 |
# cluster=16m8x8 |
| 140 |
# 16 boxes, and each box has a 2d mesh |
| 141 |
# that is 8 by 8 processors. |
| 142 |
#----------------------------------------------------------------------------- |
| 143 |
MACHINE DESCRIPTION = MESH=2x2 |
| 144 |
|
| 145 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 146 |
# WEIGHTING SPECIFICATIONS = <options> |
| 147 |
# |
| 148 |
# This line is OPTIONAL. |
| 149 |
# |
| 150 |
# This line contains any weighting information. If this line is absent, |
| 151 |
# then all weighting is turned off. The options are: |
| 152 |
# read=<filename> - OPTIONAL, This is the name of an ExodusII |
| 153 |
# file from which to read the vertex weights. |
| 154 |
# If this is specified, then either var_name |
| 155 |
# or var_index must be specified. |
| 156 |
# var_name=<var name> - This is the name of the variable in the |
| 157 |
# file, read, which will be used as vertex |
| 158 |
# weights. |
| 159 |
# var_index=<integer> - This is the index of the variable in the |
| 160 |
# file, read, which will be used as vertex |
| 161 |
# weights. |
| 162 |
# time_index=<integer> - OPTIONAL, This is the time index of the |
| 163 |
# variable to be read. If it is not given |
| 164 |
# then the default is time index 1. |
| 165 |
# eb=<block id>:<weight> - OPTIONAL, This is a way to weight a specific |
| 166 |
# element block. Weights should be specified |
| 167 |
# with integers. So, in order to assign element |
| 168 |
# block id 10 with a weight of 6 the following |
| 169 |
# would be used: eb=10:6. If an element block |
| 170 |
# weight is place after a read on the weighting |
| 171 |
# specification line, then it will overwrite |
| 172 |
# the vertex weights from the read. |
| 173 |
# edges - turn edge weights on |
| 174 |
#----------------------------------------------------------------------------- |
| 175 |
WEIGHTING SPECIFICATIONS = READ=testa-out-r.exoII,Var_Name=Temp,time_index=5 |
| 176 |
|
| 177 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 178 |
# MISC OPTIONS = <options> |
| 179 |
# |
| 180 |
# This line is OPTIONAL. |
| 181 |
# |
| 182 |
# This line is used to handle any miscellaneous information that doesn't |
| 183 |
# really fit anywhere else. The options are: |
| 184 |
# checks_off - OPTIONAL, This turns off some of the |
| 185 |
# error checking that nem_slice performs |
| 186 |
# when it is finding an elements side ids. |
| 187 |
# NOTE: this option should be used with |
| 188 |
# caution. |
| 189 |
# face_adj - OPTIONAL, In an elemental distribution, |
| 190 |
# use a face concept of adjacency to generate |
| 191 |
# the graph that will be passed to Chaco. |
| 192 |
# This definition only allows adjacency |
| 193 |
# between elements if they share an entire |
| 194 |
# face. The default is for elements to be |
| 195 |
# adjacent if the share at least one node. |
| 196 |
# groups {group designator} - Define groups that will be passed into |
| 197 |
# Chaco separately. The groups are designated |
| 198 |
# by element block ids. This option should be |
| 199 |
# used when there is a problem handling |
| 200 |
# elements from different blocks on the same |
| 201 |
# processor. The rules for the group designator |
| 202 |
# are as follows: |
| 203 |
# - The beginning and end of the group |
| 204 |
# designator are set using brackets "{","}" |
| 205 |
# - Blocks are grouped using the slash "/" |
| 206 |
# character |
| 207 |
# - Ids are separated with white space, comma, |
| 208 |
# or by the hyphen "-" character |
| 209 |
# - Any blocks not included in the list, are |
| 210 |
# added to a separate group |
| 211 |
# - Duplicates in the list are permitted, but |
| 212 |
# the last group to which a block is placed |
| 213 |
# is where the block will go |
| 214 |
# - Block IDs not in the exodus file are |
| 215 |
# quietly ignored |
| 216 |
# Example: |
| 217 |
# Assume block IDs= 1-20 31-45 |
| 218 |
# |
| 219 |
# descriptor group1 group2 group3 |
| 220 |
# - {1-20} 1-20 31-45 |
| 221 |
# - {30-45 3/ 10-12} 3, 30-45 10,11,12 1,2,4-20 |
| 222 |
# - {1-20/40-45/5-10 21-41} 1-4,11-20 42,43,45 5-10 31-41 |
| 223 |
#----------------------------------------------------------------------------- |
| 224 |
MISC OPTIONS = checks_off, face_adj, groups {1 / 2} |