Commit Graph

1706 Commits

Author SHA1 Message Date
Scott Fennell
4a9d9482ef
1194 trick system icg exclude (#1195)
* Fix ICG errors while processing system header files closes #1189

Found an InitPreprocessor call and am using it.  Not sure which version
of clang it was added, just using for the version I'm on (10) and above.
Also found some GCC defines that are used during normal compilation.
Added these to our list of defines during ICG.  This clears up all of
the errors I've been seeing.

* Fix ICG errors while processing system header files #1189

OK, found the flag that activates the ATOMIC defines I was previously
hardcoding.

* #1194 add trick-system-icg-exclude

Co-authored-by: Alex Lin <alexander.s.lin@nasa.gov>
2021-10-12 12:02:03 -05:00
Alex Lin
9f9fd7ca20
Fix ICG errors while processing system header files #1189 (#1190)
* Fix ICG errors while processing system header files #1189

Found an InitPreprocessor call and am using it.  Not sure which version
of clang it was added, just using for the version I'm on (10) and above.
Also found some GCC defines that are used during normal compilation.
Added these to our list of defines during ICG.  This clears up all of
the errors I've been seeing.

* Fix ICG errors while processing system header files #1189

OK, found the flag that activates the ATOMIC defines I was previously
hardcoding.
2021-10-12 11:30:49 -05:00
dbankieris
0ccfed9b9b
Merge pull request #1193 from nasa/1192
Always requeue timed-out MonteCarlo runs
2021-10-07 11:30:02 -05:00
Derek Bankieris
40ef4acfe3 Always requeue timed-out MonteCarlo runs
Closes #1192
2021-10-07 10:27:08 -05:00
Penn, John M 047828115
0b373d96cf Refactor web server configuration. #1188 2021-09-29 18:00:33 -05:00
Penn, John M 047828115
90639e35d5 In Makefile.common, don't allow TRICK_CIVET to be enabled. #1188 2021-09-14 01:10:11 -05:00
Penn, John M 047828115
6865501781 Temporarily disable the python_tests which are really civetserver tests during implementation of issue #1188 2021-09-13 17:46:56 -05:00
jmpenn
f377c36234
Merge pull request #1183 from nasa/issue28
Initial excision of DMTCP from Trick. #28
2021-08-31 11:56:24 -05:00
jmpenn
8e5e213978
Merge branch 'master' into issue28 2021-08-30 16:10:28 -05:00
Penn, John M 047828115
f272e89e1b Comment out inappropriate alloc_info tests. 2021-08-30 15:22:06 -05:00
Penn, John M 047828115
2153eaa6f0 Add print statement back to configure. Tidy up GridLayout instnciation. #28 #1183 2021-08-30 12:30:35 -05:00
Scott Fennell
82c55d405d
Merge master into branch to fix web server tests (#1185)
* suppress warning for detached head during civitweb clone

closes #1180

* disable sigchld handler by default #931 (#1182)

* disable sigchld handler by default #931

* update test to set sigchld trap before testing

closes #931

* Fixed webserver http_alloc test (#1184)

Co-authored-by: cherpin00 <44306236+cherpin00@users.noreply.github.com>
2021-08-28 16:20:34 -05:00
cherpin00
6ae4bc330f
Fixed webserver http_alloc test (#1184) 2021-08-28 16:19:08 -05:00
Penn, John M 047828115
e487e5609f Initial excision of DMTCP from Trick. #28 2021-08-27 19:38:56 -05:00
Scott Fennell
167c4a6530
disable sigchld handler by default #931 (#1182)
* disable sigchld handler by default #931

* update test to set sigchld trap before testing

closes #931
2021-08-27 13:48:46 -05:00
Scott Fennell
b260bcb85f
suppress warning for detached head during civitweb clone
closes #1180
2021-08-27 11:43:47 -05:00
Penn, John M 047828115
94f20d426a Merge branch 'master' of https://github.com/nasa/trick 2021-08-18 13:15:52 -05:00
Penn, John M 047828115
4c52ed2753 Merge Caleb Herpins port of Trick webserver from Mongoose to CivetWeb #730. 2021-08-18 13:15:10 -05:00
Scott Fennell
dbafed34b5
use default repo name in tutorial introduction
Novice linux/trick users don't catch that "trick" and "trick.git" are incompatible, because they don't understand that the file extension is a part of the directory name. For this reason they frequently leave the ".git" in their shell environment and they get stuck there for a while. While it is important that trick users have an understanding of how their shell uses the PATH variable, I do not think this little section at the bottom of the intro should have to be debugged so frequently.
2021-08-13 10:32:07 -05:00
Scott Fennell
f6ce855683
#1171 2021-08-05 11:57:54 -05:00
Scott Fennell
49da752089
Trick offline instructions closes #1171 2021-08-05 11:55:26 -05:00
Penn, John M 047828115
db45886625 Clock spin test can't assume code performance on an arbitrary machine. #87 2021-08-04 10:51:52 -05:00
Penn, John M 047828115
0825b32118 Up the allowance for time difference in GetTimeOfDayClock_test spin test. #87 2021-08-02 12:25:31 -05:00
Penn, John M 047828115
93b683540d Fix GetTimeOfDayClock_test for race condition. #87 2021-08-02 11:49:39 -05:00
Penn, John M 047828115
0b823bb6f2 Remove BC635Clock.hh and TPROCTEClock.hh from sim_services.i #87 2021-08-02 03:03:32 -05:00
Penn, John M 047828115
838a2fcc4c Remove BC635Clock.hh and TPROCTEClock.hh from files_to_ICG.hh. #87 2021-08-02 02:02:25 -05:00
Penn, John M 047828115
cd17e00787 Delete BC635Clock.hh and TPROCTEClock.hh. #87 2021-08-02 01:32:33 -05:00
Penn, John M 047828115
6df675c7ee Remove deprecated Clocks and unit tests, and update Trick::Clock documentation. #87 2021-08-02 00:40:55 -05:00
Penn, John M 047828115
0e0f4f4365 Fix broken link in TutVariableServer.md 2021-08-01 22:17:40 -05:00
Scott Fennell
88ac5b5990
Update Integrator.md 2021-07-07 12:00:15 -05:00
Scott Fennell
4db5935a2e
Update Integrator.md
change Integrator to IntegLoop
2021-07-07 11:58:55 -05:00
Penn, John M 047828115
0e646e9792 Make ball_ensemble_collision.c compatible with ancient Centos 7 C compiler. 2021-07-01 21:18:37 -05:00
Penn, John M 047828115
35a2c91c86 Fix SIM_ball_L3 by integrating an ensemble state. #725 2021-06-30 11:44:58 -05:00
ddj116
c88faa04df
Merge pull request #1160 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 #1159
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 (#1162)
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 #1127 (#1161)
closes #1127 
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 #1157 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 #1155
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)
#1152
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 (#1128)
* Fix typo

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

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 (#1135)
closes #1129 

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