Commit Graph

1824 Commits

Author SHA1 Message Date
Penn, John M 047828115
35a2c91c86 Fix SIM_ball_L3 by integrating an ensemble state. 2021-06-30 11:44:58 -05:00
ddj116
c88faa04df
Merge pull request from nasa/1159-robustify-yaml-parsing
Robustify YAML config file validation
2021-06-29 09:06:54 -05:00
Dan Jordan
0be5f72e35 Robustify YAML config file validation, enhance unit tests
* Fixed run path/too/deep duplication logic
* Add more unit testing to cover edge cases in the YAML file
* Unify type checking to reduce code duplication
* Empty sections like run: are still ignored but now produce an error
  to remind the user to clean them up.
* Make get_sims() work with labels=None
* Test SIMs within deep directory structures to exercise pathing logic
* Add test for invalid sim path: syntax

Refs 
2021-06-25 16:02:12 -05:00
Fennell, Scott P 263712616
68cf81736c Trick 19.4.0 Pre-release ver no 2021-06-23 11:49:41 -05:00
Fennell, Scott P 263712616
15534f7f56 Trick Release 19.3.0 2021-06-23 11:39:47 -05:00
dependabot[bot]
2f51afe197
Bump pdfbox from 2.0.15 to 2.0.24 in /trick_source/java ()
Bumps pdfbox from 2.0.15 to 2.0.24.

---
updated-dependencies:
- dependency-name: org.apache.pdfbox:pdfbox
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-23 11:33:57 -05:00
Scott Fennell
d6bdd35f5e
separate perl generated top level objects from icg generated class information ()
closes  
Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>
2021-06-14 13:50:32 -05:00
dbankieris
ac159c3edc
Merge pull request from nasa/create-link-list-files-for-Trickification
Create link_list files for Trickification
2021-06-02 16:08:46 -05:00
Derek Bankieris
9b7e18af15 Create link_list files for Trickification
ICG and make_makefile_swig create py_link_list and io_link_list files
listing the files to be linked during sim builds. Trickified projects
require slightly altered lists.

Fixes 
2021-06-02 13:56:21 -05:00
Scott Fennell
a88f38b55c
Fix unit test name (RankineToCelsius)
Co-authored-by: Tobias Nießen <tniessen@users.noreply.github.com>
2021-06-01 13:26:21 -05:00
Scott Fennell
c0794733b7
update macOS install instructions to use llvm 11 (for now)
2021-05-27 11:44:38 -05:00
Scott Fennell
ddadc48ed8
Update test_linux.yml 2021-05-26 23:15:57 -05:00
Matas Lauzadis
7008e8bac7
Fix some typos in documentation ()
* Fix typo

* typos, grammar
2021-05-26 22:14:42 -05:00
Keith Vetter
832fc4e8a7
Fix compiler shadow warning for issue ()
closes  

If you use the -Wshadow flag, there are few compiler warnings
for shadowing. You can recreate with the Ball L1 sim:

    % vi S_overrides.mk
    TRICK_CFLAGS += -Wshadow -I../models
    TRICK_CXXFLAGS += -Wshadow -I../models
    % trick-CP
    ...

    In file included from build/S_source.cpp:3:0:
    build/../S_source.hh: In member function ‘void EventManagerSimObject::create_thread_process_event()’:
    build/../S_source.hh:425:23: warning: declaration of ‘name’ shadows a member of 'this' [-Wshadow]
    char* name = strdup(oss.str().c_str()) ;

To fix the S_source* generated code, it is just a
matter of changing default_trick_sys.sm.
2021-05-26 22:13:31 -05:00
Scott Fennell
acdc60050c
change c_intf ref_attributes param to const char ptr, remove casts from calls to function in trick ()
closes  

Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>
2021-05-26 22:12:02 -05:00
Scott Fennell
77c761016c
exclude docs and other workflows from trickops 2021-05-26 22:07:56 -05:00
Scott Fennell
5acd8dd4b4
Update test_macos.yml 2021-05-26 22:01:10 -05:00
Scott Fennell
0ec1f80945
add pull request to linux tests 2021-05-26 22:00:38 -05:00
Scott Fennell
55b6310b9f
add pull request to 32 bit tests 2021-05-26 21:59:18 -05:00
Scott Fennell
d42b26131c
disable fedora in github actions 2021-05-26 21:56:59 -05:00
Scott Fennell
d88779cfd1
downgrade llvm to 11 in github actions 2021-05-26 21:56:22 -05:00
Penn, John M 047828115
38852427c1 Fix section headers in Data-Record.md. 2021-05-24 14:18:29 -05:00
Penn, John M 047828115
20ad17dfab Update DRBinary Format documentation. 2021-05-24 13:58:52 -05:00
Penn, John M 047828115
1b7a2f6f37 Correct Variable-Server documentation regarding the responce of var_exists. 2021-05-20 14:46:15 -05:00
Penn, John M 047828115
5c35cf2b1f Merge branch 'master' of https://github.com/nasa/trick 2021-05-20 12:56:33 -05:00
Penn, John M 047828115
1e9c88dd0e Fix Minor Typos in Variable Server tutorial. 2021-05-20 12:55:54 -05:00
dbankieris
62410bb724
Merge pull request from nasa/zip-python-modules
Zip SWIG-generated python modules
2021-05-20 08:27:18 -05:00
Penn, John M 047828115
aab93a0c8b Fix links in Tutorial. 2021-05-19 23:59:18 -05:00
Penn, John M 047828115
a1bce98e91 Update the Trick Tutorial to explain how to control sim modes from a variable server client. 2021-05-19 23:09:49 -05:00
Scott Fennell
520e0343d1
update docs 2021-05-19 22:16:45 -05:00
Derek Bankieris
2c06ae6eaf Rename SIM_*/trick to SIM_*/.trick
Hide the non-zipped Python modules to indicate to users that changing
them will have no effect on the sim.

Refs 
2021-05-19 17:33:13 -05:00
Derek Bankieris
8d314fa1b1 Zip SWIG-generated python modules
Closes 
2021-05-19 17:23:33 -05:00
ddj116
1d9ea79107
Introducing TrickOps - An Extensible Sim Testing Framework ()
* Introducing TrickOps - An Extensible Sim Testing Framework

Features:

* Multiple simultaneous sim builds, runs, file vs. file comparisons,
  arbitrary post-run analyses, valgrind of runs
* Real-time progress bars for sim builds and runs
* Exit code management lets users easily define success & failure
* Failed comparisons can optionally generate koviz error reports

See share/trick/trickops/README.md for details

* Add GitHub Actions Workflow for TrickOps for Ubuntu:20.04 & CentOS latest

* Adds python unit and doc tests to github actions for push / pull requests
  for Ubuntu:20.04 and CentOS 8:latest. MacOS still forthcoming.
* Also updates documentation with TrickOps information
* Remove duplicate / overwriting SIM_ definitions in ExampleWorkflow.py

* Address Code Review / Discussion

* Reduce set of sims tested in ExampleWorkflow.py to stable set
* Add ExampleWorkflow.py to GitHub Actions
* Clarify documentation and add image of TrickOps in action
* Error/Ignore valgrind entries in YAML file if platform == darwin

* Fix run.compare() logic error and add unit test to cover it

Co-authored-by: Dan Jordan <daniel.d.jordan@nasa.gov>
2021-05-03 14:39:20 -05:00
Scott Fennell
b4d76559eb
edit call to setLangOpts in icg main.cpp to support llvm-12 interface ()
closes 
2021-04-30 11:15:38 -05:00
Penn, John M 047828115
edcacba00f Give trick-dre the capability to expand arrayed variables like trick-tv. 2021-04-29 14:29:18 -05:00
Scott Fennell
437a56b24c
Update Install-Guide.md 2021-04-26 23:53:27 -05:00
Scott Fennell
d75faecff8
add missing lock/unlock on pthread map mutex to VariableServer::shutdown fixes ()
closes 
2021-04-26 23:28:26 -05:00
Scott Fennell
1b978ef2da
Create Install-Guide.md 2021-04-26 22:06:59 -05:00
Scott Fennell
0fda0b4bf3
Update Install-Guide.md 2021-04-26 22:06:53 -05:00
Scott Fennell
9b621d2819
Update Install-Guide.md 2021-04-26 21:59:35 -05:00
Scott Fennell
9589c1062c
in ICG: Add FileSkipped preprocessor callback to FindTrickICG ()
*  add implementation of FileSkipped callback to FindTrickICG to add include chains for headers that have already been preprocessed

*  add test SIM for FindTrickICG offsets SIM_test_icg_file_skipped
2021-04-19 19:34:17 -05:00
Scott Fennell
6356a87b9f
Update DataRecordGroup.cpp () 2021-04-09 07:57:16 -05:00
Fennell, Scott P 263712616
35014fc69f fix mm delete var bug 2021-04-06 19:12:18 -05:00
jmpenn
334f8859da
Update Tutorial.md 2021-03-30 10:39:30 -05:00
Penn, John M 047828115
cfc7210f52 Update SAIntegrator tutorial for RKF45. 2021-03-30 09:59:20 -05:00
Scott Fennell
f439d95775
Void ptr external application ()
*  allocate using memory manager

*  replace void* vector with char* vector in external application

Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>
2021-03-25 13:17:21 -05:00
Fennell, Scott P 263712616
92ad2a8063 reapply prerelease version numbers to master branch 2021-03-12 13:49:27 -06:00
Fennell, Scott P 263712616
7b933255aa Trick Release 19.2.3 2021-03-12 13:42:49 -06:00
Scott Fennell
6691b14e9e
1093 c str ()
* update checkpoint_map.hh 

*  update checkpoint_pair.hh

*  update checkpoint_queue.hh

*  update MM_write_checkpoint.cc

*  update units_attach.i

*  update checkpoint_sequence_stl.hh

*  update checkpoint_stack.hh

*  update swig_extend_str.i

*  update swig_int_templates.hh

*  update checkpoint_stack.hh and swig_int_typemap.i

*  fix c_str issue without adding memory leaks

*  fix c_str issue without adding memory leaks

*  remove dangling pointers in injector sim object (without causing memory leaks)

*  remove dangling pointers in injector sim object (without causing memory leaks)

*  remove dangling pointers in Event Manaager sim object (without causing memory leaks)

*  fix MonteCarlo_c_intf dangling pointers

Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>

closes 
2021-03-12 13:23:35 -06:00
Penn, John M 047828115
a5e67ae3a9 SAIntegrator: Add RKF45Integrator_unittest. 2021-03-02 13:23:26 -06:00