MSGLMT
I/O Options and Subcase Information Entry The MSGLMT command can be used in the I/O Options section to limit the number of ERROR, WARNING and INFORMATION messages output, or to elevate a WARNING or INFORMATION message to an ERROR.
Format
MSGLMT (type) = value
MSGLMT, type, value
MSGLMT, mode
Examples
MSGLMT (WARNING) = 1000
MSGLMT (101) = 50
Definitions
Argument | Options | Description |
---|---|---|
type | <ERROR, WARNING,
ID> No default |
|
value | <INTEGER, OFF, NONE, ERROR, ABORT> 1 2 |
|
mode | <STRICT, UNREF, BRIEF> |
|
Comments
- By default, the limit for most individual ERROR and WARNING/INFORMATION messages is 10.
- The default limit for the total number of ERROR messages is 10,000 and for the total number of WARNING/INFORMATION messages is 1,000.
- The following table lists some special cases of
MSGLMT usage:
Special Cases Effect MSGLMT (Message ID/WARNING/ERROR) = 1 Prevents any information about consecutive occurrences of the specified message to be registered and counted. If WARNING/ERROR is used, only the first WARNING/ERROR is printed.
MSGLMT (Message ID/WARNING/ERROR) = 0 MSGLMT (Message ID/WARNING/ERROR) = OFF
Message ID: All occurrences of the specified message will be displayed. Warning: All Warnings will be displayed.ERROR: All Errors will be displayed.
MSGLMT (Message ID) = NONE The specified message (and multiple occurrences of the same, if any) will not be printed in the output file. Note:- If the Message ID belongs to an error, the specified error and multiple occurrences of the same error will not be printed in the output file. However, this will not allow the solver to continue after error suppression. This can sometimes generate an output file which states that an error occurred without any information regarding the nature of the error, since it was suppressed.
- Suppressed ERROR/WARNING messages still count toward respective limits and are reported in the job summary.
- Using MSGLMT(Message ID)=NONE for ERROR messages is not recommended.
MSGLMT (Message ID) = <Negative Integer> Negative values are not supported. A "Syntax error" will be displayed, if negative integer values are used. - MSGLMT may be set in the OptiStruct Configuration File.
- Multiple instances of MSGLMT may occur. If any instances conflict, the last instance will be honored.
- Some messages print lists of IDs, which can be very long,
MSGLMT can be used to control the number of IDs that are
printed. For example:
MSGLMT, 1692, <Integer> or MSGLMT (1692) =<integer>
prints the first <integer> number of duplicate GRID IDs:*** WARNING # 1692
Found duplicate GRID cards, removed 74 item(s) of identical data.10001 10002 ... (up to <integer> number)
prints all duplicate GRID IDs:MSGLMT, 1692, OFF or MSGLMT (1692) =OFF
*** WARNING # 1692
Found duplicate GRID cards, removed 86 item(s) of identical data.
10001 10002 10003 10004 10005