(0 comments)

Saving output to a file and viewing it in real-time

Use the UNIX "tee" command save to a file and still display to the screen at the same time. The 2>&1 argument saves both the stdout and stderr to your output file. You might not notice any difference unless you have an error in your run.

$ ../animal-oprof -i input.i | tee my_output.txt 2>&1

Displaying an output with terminal color codes

Use the UNIX "less" command with the option -R to interpret color codes when viewing a typical MOOSE console output file

$ less -R my_output.txt

Avoiding color in the first place

Use the MOOSE flag --no-color to display monochrome output on your screen

 $ ../animal-oprof -i input --no-color
Current rating: 4

Comments

There are currently no comments

New Comment

required

required (not published)

optional

R&D 100

Recent Blog Posts

Using our new clang-format Style

2 weeks, 3 days ago

Steady State Algorithm Change

9 months, 3 weeks ago

Making an App inherit from an App

10 months ago

Changing a published API (Deprecation)

10 months, 1 week ago

DiscreteMaterial Objects

1 year ago

Recent Posts

Archive

2017
2016
2015
2014

Tags

Authors

Feeds

RSS / Atom