Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repurposed -OO for all sim run outputs including S_sie.resource being saved in the specified directory. #1714

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hchen99
Copy link
Contributor

@hchen99 hchen99 commented May 20, 2024

Repurposed -OO for all sim run outputs including S_sie.resource are saved in the specified directory. The files are placed in the sub-dir either RUN_xxx or DP_Product of the specified directory.

…ved to the specified folder. The files are placed in the sub-dir either RUN_xxx or DP_Product of the specified folder.
@hchen99 hchen99 linked an issue May 20, 2024 that may be closed by this pull request
- The '-u' option specifies that all remaining arguments are meant to be used by user supplied jobs. All arguments after the -u can be accessed internal to the simulation jobs by calling the get_cmnd_args() function of the executive as illustrated below. In a master/slave simulation, the master's -u args will be passed to the slave.
- The sie option will generate the smart input editor (SIE) resource file.
- The `-d` argument is optional and, if specified, starts the simulation in an input file verification mode. In this mode the entire input file is read, echoed to standard out, and then the simulation exits without calling any jobs listed in the S_define file. This mode helps debug input file syntax errors.
- The `-O <output_file_path>` option allows the user to specify the directory to which simulation data log files will be written. If this option is omitted, the `RUN_<name>` directory is used.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ABSOLUTE CLARITY
-O <Output Directory> = only RUN_* output goes into <Output Directory>
-OO <Output Directory> = ALL runtime output (RUN_*, DP_Product, copy of sie_resource) redirected to <Output Directory>
--read-only-sim = REQUIRES -O OR -OO OUTPUT DIRECTORY same as -OO. If no -O or -OO output directory given, command line error with prejudice

if trick.sie_append_runtime_objs() is called from the input file:

  • with -O, sie_resource file in SIM directory is updated
  • with -OO or --real-time-sim, sie_resource in the -O/-OO directory is updated but NOT the one in the sim directory

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is for john, he loves clarity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No way to redirect frame logging output?
2 participants