John M. Penn
9a5bbb160a
Get rid of yyset_lineno in the parsers. Ref #404
2017-03-30 19:53:33 -05:00
John M. Penn
56ce1c75cc
Fix yyset_out, yyset_lineno calls and remove yyset_in calls in parsers. Ref #404
2017-03-30 16:14:28 -05:00
John M. Penn
a7039aea61
Create va_list versions of Integrator state load and unload member functions. Ref #401
2017-03-28 17:55:27 -05:00
Derek Bankieris
b53c52ac33
Separate ICG & SWIG exclusion constructs
...
Refs #392
2017-03-27 15:19:43 -05:00
Derek Bankieris
2335f6bb69
Correct Monte Carlo compiler error on CentOS 7
...
Also change the Cannon sim monte_post jobs to use mc_read/write instead
of tc_read/write
Refs #396
2017-03-24 08:11:32 -05:00
Derek Bankieris
80ab0767e2
Combine command and data sockets in Monte Carlo
...
Refs #396
2017-03-23 12:22:40 -05:00
Derek Bankieris
17a5028e43
Infer TRICK_HOME automatically
...
Refs #358
2017-03-21 10:24:02 -05:00
Derek Bankieris
47847a8aef
Add ability to pass options to slave sims
...
Refs #395
2017-03-20 10:46:10 -05:00
Derek Bankieris
73cbbd96cd
Refactor ICG to report skipped files consistently
...
Refs #394
2017-03-15 15:53:56 -05:00
Alex Lin
b88c75631a
Missing includes when using clang/llvm 4.0 #393
...
Added some missing header file includes.
2017-03-15 10:05:06 -05:00
Derek Bankieris
2e4c3286a3
Automatically generate dependencies with SWIG
...
Like gcc, swig supports all those -M options. Use them to automatically
manage *_py.cpp dependencies.
Add dependency generation to trickify.mk as well.
2017-03-14 13:38:09 -05:00
Alex Lin
c5fbaeb7d6
Fix fonts in java GUIs #192
...
I fixed a hard coded size=12 font in the sim control panel.
2017-03-13 11:10:24 -05:00
Alex Lin
a1bc45548b
tool for detecting mismatch between friend init_attr and containing class #371
...
Added a check and warning message in ICG that warns you if a friend function
starts with "init_attr" but does not match the current class name.
2017-03-10 09:38:33 -06:00
John M. Penn
eef5b14fbf
Add tweaks that speed up matrix multiplication routines. ref #386
2017-02-27 12:51:35 -06:00
Derek Bankieris
e6ad95f493
Grand Make Dependency Graph, part 1
...
Refs #360
2017-02-23 13:26:28 -06:00
Alex Lin
2450f51781
Add name of parameter to error message coming out of MemoryManager_restrore_stls #382
...
Printing the name now.
2017-02-15 09:00:34 -06:00
Derek Bankieris
d965f4b0a8
Infer TRICK_HOME automatically
...
Refs #358
2017-02-10 10:29:56 -06:00
Alex Lin
337139cacb
S_overrides.mk is included twice when building #360
...
A different approach. Instead of trying to limit the number of times
S_overrides.mk is included, combine the makefiles so only one
call to make is made.
2017-02-09 09:46:58 -06:00
Alex Lin
38d2b10b9e
Forward-declared classes aren't fully populated in S_sie.resource #378
...
I chose the wrong call when trying to support clang 3.9 and it's
removal of getRBraceLoc. The best equivalent call in 3.9 is
getBraceRange().getEnd().
2017-01-23 17:48:16 -06:00
Derek Bankieris
4146b440b8
Make trick (Python package) a namespace package
...
Namespace packages are a mechanism for splitting a single Python
package across multiple directories on disk. With the addition of
$(TRICK_HOME)/pymods/trick, there now exists a package named 'trick' at
$(TRICK_HOME)/pymods and in each SIM_* directory. This change allows sims
to import modules from both locations.
Refs #365
2017-01-20 10:30:21 -06:00
Derek Bankieris
a6b68bb101
Infer TRICK_HOME automatically
...
Refs #358
2017-01-20 09:39:04 -06:00
Alex Lin
008337e69b
Monte Carlo dry runs produce monte_input files #318
...
The input file that is created while running monte carlo runs is done
in 3 different places. There was no easy way to collect all of those
lines in one place, so I duplicated the lines in the dryrun function.
2017-01-12 16:52:05 -06:00
Alex Lin
2c93f2ac75
Improve error handling when duplicate variable added to a DRHDF5 #353
...
Added a printout that shows the logging group and variable name that
had a problem when trying to add to the HDF5 recording.
2017-01-12 08:44:30 -06:00
Alex Lin
8a0653fa09
Detect when TRICK_ICG is used in header files and compensate for it. #375
...
clang call to addPPCallbacks changed between clang versions 3.5 and 3.6.
2017-01-12 08:42:16 -06:00
Alex Lin
4b28951c1c
When doing input file verification the exit code is always 1. #335
...
After doing verification of the input file we return the exit code
of the python processor.
2017-01-11 17:40:05 -06:00
Alex Lin
9f01209316
ICG generates non-compilable io_* code for std::vector::iterator members #331
...
Added a test if our field is an iterator type. If it is we cannot create io_src
code for it. We skip it once identified.
2017-01-11 16:07:02 -06:00
Alex Lin
b60320464a
Detect when TRICK_ICG is used in header files and compensate for it. #375
...
Always differences between clang versions.
2017-01-11 15:59:10 -06:00
Alex Lin
ba47c2048c
Detect when TRICK_ICG is used in header files and compensate for it. #375
...
Created a hook for the clang preprocessor. The hook does 2 things. It
keeps track to which header files we have entered and exited. Second it
searches for the use of TRICK_ICG. If we find an instance of TRICK_ICG we
mark all of the included files from this point up the chain as requiring
compensation. To compensate for using TRICK_ICG we write out the older
offset statements to get the location of variables in classes/structures.
2017-01-11 15:02:21 -06:00
Alex Lin
0197df7103
Test output xml does not validate. #372
...
Removed the parent attribute.
2017-01-09 09:52:48 -06:00
Alex Lin
a831cbfaa8
Merge pull request #366 from iamthad/use_stderr
...
Use std::cerr instead of std::cout for error messages
2016-12-20 15:02:23 -06:00
Derek Bankieris
7a08829d3d
Introduce makefile variable TRICK_SYSTEM_LDFLAGS
...
Like other TRICK_SYSTEM variables, users should not modify this.
This renders TRICK_LDFLAGS and TRICK_USER_LINK_LIBS redundant. While we
would like to eventually remove TRICK_USER_LINK_LIBS, it's not likely to
ever actually happen.
Refs #369
2016-12-14 12:36:21 -06:00
Derek Bankieris
76f6a003b3
Add -std=c++11 to VariableServer Makefile
...
Refs #367
2016-12-14 10:06:01 -06:00
Derek Bankieris
634d561567
Fix VariableServerThread::var_units
...
Refs #367
2016-12-14 09:43:55 -06:00
Derek Bankieris
2c9181a896
Infer TRICK_HOME automatically
...
Refs #358
2016-12-13 15:29:15 -06:00
Thadeus Fleming
fb1925e0d8
Use std::cerr instead of std::cout for error messages
2016-12-10 11:49:44 -06:00
Derek Bankieris
3600e3880a
Infer TRICK_HOME automatically
...
Refs #358
2016-11-30 14:12:34 -06:00
Derek Bankieris
9fa76d8e78
Use std::strerror to report system call errors
...
Refs #357
2016-11-30 13:25:52 -06:00
Derek Bankieris
4d7ea87a43
Fix typo
...
Refs #355
2016-11-30 11:47:56 -06:00
Derek Bankieris
9fdb5d4c51
Merge input and error streams for plotting apps
...
Refs #355
2016-11-29 15:59:36 -06:00
Derek Bankieris
d72a09fef7
Add ability to clear all variables from a DR group
...
Don't let "sys.exec.out.time" be removed
Refs #350
2016-11-29 13:38:32 -06:00
Derek Bankieris
d859ac8453
Add funciton to remove all data record groups
...
Refs #350
2016-11-29 11:47:10 -06:00
Derek Bankieris
4281b92141
Fix MonteMonitor
...
Refs #354
2016-11-29 11:28:15 -06:00
Derek Bankieris
ac3360e87f
Add ability to remove variable from data recording
...
For the record, I'd like to point out that many of the DataRecordGroup
functions shouldn't be called after init, but we don't prevent anyone
from doing so. Bad Trick!
Refs #350
2016-11-18 08:53:24 -06:00
Michael Vetter
18f0d7e871
Remove trailing whitespaces
...
Makes it easier to edit the files. So if we press 'end of line' we are
really at the end of line.
2016-11-08 10:25:07 +01:00
Derek Bankieris
eedd0783cd
Replace multiple radian units with single instance
...
One of the constructor parameters enables automatic creation of
SI-prefixed versions of the root unit, which obviates the need to
create them individually.
Refs #345
2016-11-07 08:22:55 -06:00
Derek Bankieris
2248b5bcfa
Remove unused variables. Normalize formatting.
...
Refs # 345
2016-11-04 15:56:51 -05:00
Derek Bankieris
de69363cbd
Improve formatting
...
Remove trailing whitespace. Replace tabs with spaces.
Refs #345
2016-11-04 15:48:29 -05:00
Derek Bankieris
245389182d
Automatically determine TRICK_HOME in makefile
...
Refs #344
2016-11-04 14:49:52 -05:00
Derek Bankieris
d61fe5f3c3
Removed unused file Simcom.java #343
2016-11-04 14:49:52 -05:00
John M. Penn
0a19eeb602
Removed un-needed null pointer checks in DPX code. Ref #16
2016-11-02 15:34:06 -05:00