AcuSig
Signal AcuSolve to perform certain actions while it is executing.
Syntax
acuSig [options]
Type
AcuSolve Solver Program Command
Description
AcuSig is used to send a signal to AcuSolve while the latter is executing in order to change its behavior.
In the following, the full name of each option is followed by its abbreviated name and its type. For a general description of option specifications, see Command Line Options and Configuration Files. See below for more individual option details:
- help or h (boolean)
- If set, the program prints a usage message and exits. The usage message includes all available options, their current values, and the place where each option is set.
- problem or pb (string)
- The name of the problem is specified via this option. This name is used to generate and recognize internal files.
- problem_directory or pdir (string)
- The home directory of the problem. This is where the user input files reside. This option allows AcuSig to be executed from any directory and still affect the problem in the given directory. If problem_directory is set to ".", namely the Unix current directory, it is replaced by the full address of the current directory, as provided by the Unix getcwd command.
- working_directory or dir (string))
- All internal files are stored in this directory. This directory does not need to be on the same file system as the input files of the problem.
- run_id or run (integer)
- Run number the signal applies to. If 0, the latest run is used.
- stop (boolean)
- Signal AcuSolve to stop at the end of the current time step.
- stop_time_step or sts (integer)
- Signal AcuSolve to stop at the end of time step sts. -1 indicates do not stop.
- halt (boolean)
- Signal AcuSolve to stop as soon as possible.
- output or out (boolean)
- Signal AcuSolve to write nodal output to disk at the end of the current time step.
- output_time_steps or ots (string)
- Comma separated list of time steps to be output.
- output_times or otv (string)
- Comma separated list of times to be output.
- force_output_restart or rst (boolean)
- Signal AcuSolve to write restart output to disk at the end of the current time step.
- output_residual or res (boolean)
- Signal AcuSolve to write nodal residual to disk at the end of the current time step.
- output_projection_vecs or pvout (boolean)
- Signal AcuSolve to output the nodal projection vectors at the end of the current time step.
- not_converged or nc (boolean)
- Signal AcuSolve the current time step is not converged.
- do_not_amp_timeinc or nati (boolean)
- Signal AcuSolve to not increase the time increment of this step.
- reduce_timeinc or rti (boolean)
- Signal AcuSolve to reduce the time increment of the next time step.
- redo_step or rts (boolean)
- Signal AcuSolve to redo the current time step with a smaller time increment if possible.
- must_redo_step or mrts (boolean)
- Signal AcuSolve to redo the current time step with a smaller time increment, or exit if not possible.
- flush (boolean)
- Signal AcuSolve to flush the .log file buffer.
- line_buff or lbuff (boolean)
- Signal AcuSolve to flush the .log file buffer for each line.
- set_verbose or sv (integer)
- Set the solver verbose level for printing information to the screen. Each higher verbose level prints more information. If set_verbose is set to 0, or less, only solver warning and error messages are printed. If set_verbose is set to 1, basic processing information is printed in addition to warning and error messages. This level is recommended. set_verbose levels greater than 1 provide additional information useful only for debugging.
- user_global_data or data (string)
- Send a name=value message to AcuSolve.
- verbose or v (integer)
- Set the verbose level for printing information to the screen. Each higher verbose level prints more information. If verbose is set to 0, or less, only warning and error messages are printed. If verbose is set to 1, basic processing information is printed in addition to warning and error messages. This level is recommended. verbose levels greater than 1 provide information useful only for debugging.
Examples
acuSig -pb channel -stop
problem = channel
acuSig -stop
acuSig -stop -pdir $ACUSIM_HOME/HP/latest/examples/channel
acuSig -halt
acuSig -out
acuSig -ots "18,20,22"
For the three commands below, AcuSolve will continue to execute normally after the current step. However, they all may be combined with -stop to cause AcuSolve to stop after the output is written.
acuSig -otv "3.5,4.0,4.5"
acuSig -rst
acuSig -res
acuSig -flush
acuSig -lbuff
acuSig -no_lbuff
acuSig -sv 1
acuSig -data "var 1 = 332"
The value takes effect at the beginning of the next time step.