229 Commits

Author SHA1 Message Date
jmpenn
0d02a0506a
Update Realtime Best Practices with advice on setting realtime software frame. (#1845)
* Add advice on setting realtime software frame.

* Fix typos, grammar, from review.
2025-02-27 11:20:59 -06:00
jmpenn
b2ade31e32
Update Frame-Logging.md to address #1838
Some checks failed
Linux Python 2 / build (clang-devel gcc gcc-c++ java-11-openjdk-devel libxml2-devel llvm-devel llvm-static ncurses-devel openmotif openmotif-devel perl perl-Digest-MD5 udunits2 udunits2-devel which zlib-devel python2-devel python3-devel, map[arch:rhel]) (push) Has been cancelled
Linux Python 2 / build (map[], echo package manager already configured, bison clang flex git llvm make maven cmake zip, install -y, echo gtest already installed) (push) Has been cancelled
Linux Python 2 / build (map[arch:debian arch_ver:12 os:ubuntu tag:22.04], 2) (push) Has been cancelled
Linux Python 2 / build (map[arch:rhel arch_ver:7], yum -y install epel-release yum -y update , libX11-devel libXt-devel swig3 gtest-devel, yum) (push) Has been cancelled
Linux Python 2 / build (map[arch:rhel arch_ver:8 os:oraclelinux tag:8], 2) (push) Has been cancelled
Linux Python 2 / build (map[arch:rhel arch_ver:8 os:rockylinux tag:8], 2) (push) Has been cancelled
Linux Python 2 / build (map[arch:rhel arch_ver:8], dnf -y install epel-release dnf -y update dnf install -y 'dnf-command(config-manager)' , dnf config-manager --enable powertools dnf install -y gtest-devel , dnf, swig diffutils) (push) Has been cancelled
Linux Python 2 / build (map[os:oraclelinux], dnf config-manager --enable ol8_codeready_builder dnf install -y gtest-devel ) (push) Has been cancelled
Linux Python 2 / build (swig curl g++ libx11-dev libxml2-dev libxt-dev libmotif-common libmotif-dev zlib1g-dev llvm-dev libclang-dev libudunits2-dev libgtest-dev default-jdk python2.7-dev python3-dev python3-pip python3-venv, map[arch:debian], apt-get update, apt-get i… (push) Has been cancelled
32-bit Oracle / trick_32bit_oracle (push) Has been cancelled
Test Docker Hub Images / latest (trick_ubuntu1804) (push) Has been cancelled
More Linux / build (clang-devel gcc gcc-c++ java-11-openjdk-devel libxml2-devel llvm-devel llvm-static ncurses-devel openmotif openmotif-devel perl perl-Digest-MD5 udunits2 udunits2-devel which zlib-devel python2-devel python3-devel, map[arch:rhel]) (push) Has been cancelled
More Linux / build (map[], echo package manager already configured, bison clang flex git llvm make maven cmake zip, install -y, echo gtest already installed) (push) Has been cancelled
More Linux / build (map[arch:debian arch_ver:10 os:debian tag:10], 2) (push) Has been cancelled
More Linux / build (map[arch:debian arch_ver:10 os:debian tag:10], 3) (push) Has been cancelled
More Linux / build (map[arch:debian arch_ver:10], apt-get install -y libgtest-dev cd /usr/src/gtest cmake . make cp libgtest* /usr/lib/ ) (push) Has been cancelled
More Linux / build (map[arch:debian arch_ver:11 os:debian tag:11], 2) (push) Has been cancelled
More Linux / build (map[arch:debian arch_ver:11 os:debian tag:11], 3) (push) Has been cancelled
More Linux / build (map[arch:debian arch_ver:11 os:ubuntu tag:20.04], 2) (push) Has been cancelled
More Linux / build (map[arch:debian arch_ver:11 os:ubuntu tag:20.04], 3) (push) Has been cancelled
More Linux / build (map[arch:debian arch_ver:11], export DEBIAN_FRONTEND=noninteractive apt-get update apt-get install -y tzdata ) (push) Has been cancelled
More Linux / build (map[arch:debian arch_ver:12 os:debian tag:bookworm], 2) (push) Has been cancelled
More Linux / build (map[arch:debian arch_ver:12 os:debian tag:bookworm], 3) (push) Has been cancelled
More Linux / build (map[arch:debian], 2, python2.7-dev) (push) Has been cancelled
More Linux / build (map[arch:rhel arch_ver:8 os:almalinux tag:8], 2) (push) Has been cancelled
More Linux / build (map[arch:rhel arch_ver:8 os:almalinux tag:8], 3) (push) Has been cancelled
More Linux / build (map[arch:rhel arch_ver:8], dnf -y install epel-release dnf -y update dnf install -y 'dnf-command(config-manager)' , dnf config-manager --enable powertools dnf install -y gtest-devel , dnf, swig diffutils) (push) Has been cancelled
More Linux / build (swig curl g++ libx11-dev libxml2-dev libxt-dev libmotif-common libmotif-dev zlib1g-dev llvm-dev libclang-dev libudunits2-dev libgtest-dev default-jdk python3-dev python3-pip python3-venv, map[arch:debian], apt-get update, apt-get install -y libg… (push) Has been cancelled
2025-02-04 11:50:40 -06:00
ddj116
16828a9000
TrickOps: Update send_hs.py to work with latest Trick output (#1810)
* Update send_hs.py to work with the new fields Trick's output produces
* Add unit tests and doctests for send_hs module
* Update TrickOps documentation to include info on send_hs usage
* Remove MonteCarloGenerationhelper.py's unecessary dependency on send_hs

Unrelated:

* Update pip when testing TrickOps per pip best practices

Closes #1807

Co-authored-by: Dan Jordan <daniel.d.jordan@nasa.gov>
2024-12-12 10:55:18 -06:00
dbankieris
aecf6a06fd
Improve SWIG %template directive scoping - take 2 (#1753)
* Correct convert_swig regex for qualified templates

Closes #1751

* Improve SWIG %template directive scoping - take 2

Refs #768

* Add nested namespace tests

Refs #768

* Replace ">>" with "> >"

Probably time to drop support for CentOS 7, ya know.

* Add SWIG template scoping documentation

Refs #1753
2024-11-12 11:22:55 -06:00
jmpenn
b794aba68d
Update Input-File.md to describe the Factory Function method of alloc… (#1763)
* Update Input-File.md to describe the Factory Function method of allocating objects from the input file.

* Fix issues caught during review. #1763
2024-08-28 10:39:54 -05:00
Pherring04
d2ec14dc02
Wiki button (#1755)
* Added a wiki button

* Removed commented code

* Updated SCP image

---------

Co-authored-by: Pherring04 <plherrin@JSLRL0523040929.ndc.nasa.gov>
2024-08-27 15:03:33 -05:00
Hong Chen
b87598c80c
Updated to use default-jdk package instead of openjdk-11-jdk for ubuntu. (#1757)
* Updated to use default-jdk package instead of openjdk-11-jdk for ubuntu.

* Added a note for using a specific JDK version for ubuntu.

* Fixed typo
2024-08-20 10:36:16 -05:00
Mrockwell2
446f1fa757
1747 create a document page for simulation control panel (#1750)
* Created a basic outline for the documentation

* Filled in outline more

* Created the reference images

* Documentation update

* Finish rough draft of Sim Control Panel documentation

* Updated the Throttle documentation

* Documentation updates

* Standardized punctuation

* Update

* Updated Docs

* update control panel

* Unseasoned Simulation Connection

* Shenanigans

* Fixed the shenanigans

* Changed to passive voice, updated graphic

* Update SimControlPanel.md for consistency and clean-up
2024-08-06 10:19:02 -05:00
Pherring04
a9aa7088ad
SWIG 4 Template Directive Changes (#1741)
* Updated convert_swig to account for template directive changes in SWIG 4

* Fixed merge issues

* Merge cleanup
2024-07-23 11:45:37 -05:00
Hong Chen
f666708374
Repurposed -OO for all sim run outputs including S_sie.resource being saved in the specified directory. (#1714)
* Repurposed -OO so all sim run outputs including S_sie.resource are saved to the specified folder. The files are placed in the sub-dir either RUN_xxx or DP_Product of the specified folder.

* Updated for repurposed -OO.

* Added quoting code markdown for such as in order to show <name> as is.

* Added quoting code for missing items.

* Updated to raise an error when the --read-only-sim flag is used without the -O or -OO. Also made updates to the related document accordingly.

* Fixed the error message to be more clear.
2024-07-16 10:31:52 -05:00
Cody Martin
b3c825d026
Fix typo in Realtime Best Practices (#1732)
Remove a duplicate _frame from a plain text version of a filename
2024-06-18 15:05:58 -05:00
Hong Chen
c2c068a04a
Made updates for macOS especially for Apple Silicon. (#1721) 2024-06-05 11:58:03 -05:00
Mrockwell2
e044d1f13a
Fixed links 2024-05-29 10:41:04 -05:00
Mrockwell2
982a434957
Update Simulation-Definition-File.md
Added an actual link instead of a placeholder
2024-05-29 10:29:58 -05:00
Hong Chen
27e4264c2a
Removed double quotes for port number and added some inline code syntax highlighting with back-ticks. (#1717)
* Removed double quotes for port number and added some inline code syntax highlighting with back-ticks.

* Added one more inline code syntax highlighting.
2024-05-23 10:13:50 -05:00
jmpenn
fdb2bb20b9
Update Realtime-Best-Practices.md
Add "Did I mention you should buy more memory?" to 3.5 instead of "Buy more memory! Do it!" Makes it clear that it's intentional.
2024-05-21 11:48:48 -05:00
jmpenn
0c8bc45a84
Update Realtime-Best-Practices.md
Fix link format
2024-05-20 13:16:43 -05:00
jmpenn
4744408762
Update Realtime-Best-Practices.md
Fix example heading format:
Added space between ##### and title
2024-05-20 11:06:59 -05:00
jmpenn
95f357a937
Update How-To-Guides.md
Fix Link:
Change  .../RealTime-Best-Practices.md" to Realtime-Best-Practices.md"
2024-05-20 10:57:58 -05:00
John M. Penn
5b994e687d Fixed link to figure. 2024-05-16 21:17:25 -05:00
John M. Penn
92f1234deb Fix review issues. 2024-05-16 21:08:46 -05:00
John M. Penn
12d483f094 Mark down formating fixes to Realtime-Best-Practices.md 2024-05-13 14:44:17 -05:00
John M. Penn
353b5afd84 Wrote a Real-time Best Practices HOW TO 2024-05-13 13:49:46 -05:00
Pherring04
6937d003b3
fixed outdated trick_message function calls in documentation (#1691) 2024-04-18 13:48:20 -05:00
Mrockwell2
289da24d24
Update Environment Variables to cover TRICK_SWIG_EXCLUDE (#1628)
* Update Environment-Variables.md

* Added clarification to the exclude variables and their purposes.
2023-12-19 15:22:43 -06:00
Hong Chen
da0110536e
Add conda instruction to "How to Setup a Virtual Python Environment" (#1588)
* Added conda instruction to "How to Setup a Virtual Python Enironment" guide

* Corrected the table of content for "How to Setup a Virtual Python Environment"

* Added one bullet for removing a conda environment.
2023-10-12 11:26:13 -05:00
Jacqueline Deans
cad2e324fb
Update configure script to check for swig >= 3 (#1554) 2023-08-28 13:55:17 -05:00
Scott Fennell
7337e3b3fe
Fix Other Resources links in Checkpointing-Best-Practices.md (#1552) 2023-08-15 12:57:37 -05:00
jmpenn
43b12bb959
Update Checkpointing-Best-Practices.md
Undo my changes so I can merge Scott's pull request
2023-08-15 11:11:42 -05:00
jmpenn
3f840d65f5
Update Checkpointing-Best-Practices.md
Fix links in "Other Resources"
2023-08-15 10:53:32 -05:00
jmpenn
c56cce3d9e
Add Checkpointing-Best-Practices.md to How-to guides. (#1549) 2023-08-14 10:07:42 -05:00
Jacqueline Deans
93b1810a29
Bump swig dependency to 3-4 (#1550) 2023-08-14 10:06:58 -05:00
John M. Penn
8ba7e59335 Add HOWTO for Python VIrtual Environment. 2023-08-07 10:16:29 -05:00
Hong Chen
bbe9768a30
Added separate_thread_set_enabled(bool) function to MessageSimObject class (#1523)
* Added separate_thread_set_enabled(bool) function to MessageSimObject class for user to use the feature of letting trick to write the messages out on a separate thread in a more intuitive way (hopefully ;-).

* Updated Status-Message-System.md for the newly added separate_thread_set_enabled(bool on_off) function in MessageSimObject class of default_trick_sys.sm

* Fixed the bullets

* Put missing update in due to merge.
2023-06-29 13:31:03 -05:00
Jacqueline Deans
d3cc021cca Move VariableServerSession logs into subdirectory; make separate toggle for session logs 2023-06-26 12:23:58 -05:00
Deans
99ee88a686 Add more Variable Server unit and integration tests, clean up and clarify naming 2023-06-26 12:23:58 -05:00
Hong Chen
b2d7721d20
1501 update python 2 to 3 in documents (#1516)
* Updated example code from Python 2 to 3 in How to Get Simulation Time from the Variable Server How-To Guide.

* Removed one line of commented code.

* Modified the examples in Trick Variable Server Tutorial from Python2 to 3 mainly due to socket send in bytes plus print statement update need for Python 3.

* Fixed 2 missed print statements.
2023-06-12 10:26:25 -05:00
Adam M Garsha
e102dd7ef2
Revised Monte Carlo Tutorial Page (#1511)
* Adding new monte carlo tutorial images

* Delete Trick-QP-Random.png

* Delete Trick-QP-Calculated.png

* Delete Trick-QP.png

* Delete Trick-QP-File.png

* Delete Trick-DRE.png

* Delete Trick-DP.png

* Added Trick-DP image

* Broad Tutorial Modifications

Lots of the content was changed. The navigation and headers are not correct yet.

* Fixed table of contents

* Fixed toc again
2023-06-07 11:10:59 -05:00
Jacqueline Deans
506bac5de7
Move ICG parsing standard specification to separate flag (#1517) 2023-06-05 14:40:32 -05:00
Jacqueline Deans
9c356131bc
Add option to specify a C++ standard to ICG for parsing (#1499) 2023-06-01 13:43:23 -05:00
Jacqueline Deans
2ef76cf42a Add old design documentation under developer_docs 2023-05-04 08:53:56 -05:00
Jacqueline Deans
4a3eaacb6e Add developer documentation for the CI setup. 2023-05-01 14:20:57 -05:00
Jacqueline Deans
6c685d8400
Revise Documentation, Correct a single constant (#1326) (#1489)
* Fix formatting, grammar, and syntax

Additionally, a sentence that referenced something that isn't used anywhere was removed.

* Promote headers, Format stuff

Many headers were far too deep. In some cases, the highest header was h4. To correct this, the offending headers were promoted once or twice as appropriate. Minor formatting changes were made, too.

* Fixed an incorrect conversion constant.

* Update library dependency explanation

The old explanation was confusing and seemingly self contradicting in places. This new explanation aims to fix that.

Co-authored-by: Matthew Elmer <m.elmer@mailbox.org>
2023-04-21 17:32:31 -05:00
Jacqueline Deans
c4f77b570e
Add developer docs for debugging python environment issues (#1488) 2023-04-18 11:28:14 -05:00
Jacqueline Deans
d76de7e1ee
Allow for read only S_sie.resource (#1420) 2023-04-17 17:23:48 -05:00
jmpenn
1b38c36d09
Update FAQ.md 2023-04-17 14:28:58 -05:00
jmpenn
bc1be92e84
Update FAQ.md 2023-04-17 14:28:17 -05:00
Jacqueline Deans
ffed03521c
Update Install-Guide.md 2023-04-13 14:26:25 -05:00
ddj116
0a1a092afa
Fix typos and clarify content in TrickOps markdown file (#1475)
Co-authored-by: Dan Jordan <daniel.d.jordan@nasa.gov>
2023-03-22 14:33:14 -05:00
Jacqueline Deans
19016b4817
job_class_order no longer accidentally disables some system job classes (#1465) 2023-03-07 08:43:39 -06:00