Commit Graph

47 Commits

Author SHA1 Message Date
Jacqueline Deans
93b1810a29
Bump swig dependency to 3-4 (#1550) 2023-08-14 10:06:58 -05:00
Jacqueline Deans
ffed03521c
Update Install-Guide.md 2023-04-13 14:26:25 -05:00
ddj116
9099792947
Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415)
* Provide MonteCarloGenerate capability

Intermediate commit, this squash represents all of Isaac Reaves' work
during his Fall 2022 Pathways internship tour

[skip ci]

* TrickOps: Add phase, [min-max] range, and overhaul YAML verification

* Add new "phase:" mechanism to TrickOps Runs and Builds to support
  project-specific constraints on build and run ordering
  - phase defaults to zero if not specified and must be between -1000
    and 1000 if given.
  - jobs can now optionally be requested by their phase or phase range
  - See trickops/README.md for details
* Add [min-max] notation capability to run: entries and compare: entries
  - [min-max] ranges provide definition of a set of runs using a common
    numbering scheme in the YAML file, greatly reducing YAML file size
    for monte-carlo and other zero-padded run numbering use cases
  - See trickops/README.md for details
* YAML parsing changes
  - Overhaul the logic which verifies YAML files for the expected
    TrickOps format. This is now done in TrickWorkflowYamlVerifier and
    provides much more robust error checking than previous approach
  - .yaml_requirements.yml now provides the required types, ranges, and
    default values as applicable to expected entries in YAML files
  - valgrind: is now an sub-option to run: entries, not its own section
    Users should now list their runs normallly and define their flags in
    in that run's valgrind: subsection
  - parallel_safety is now a per-sim parameter and not global. Users
    should move their global config to the sim layer
  - self.config_errors is now a list of errors. Users should now
    check for empty list when using instead of True/False
* Robustify the get_koviz_report_jobs unit test to work whether koviz
  exists on PATH or not
* Adjust trickops.py to use the new phase and range features
   - Make it more configurable on the command-line via argparse
   - Move SIM_mc_generation tests into test_sims.yml

[skip ci]

* Code review and cleanup from PR #1389

Documentation:

* Adjust documentation to fit suggested symlinked approach. Also
  cleaned up duplicate images and old documentation.
* Moved the verification section out of markdown and into a PDF since it
  heavily leverages formatting not available in markdown.
* Clarify a couple points on the Darwin Trick install guide
* Update wiki to clarify that data recording strings is not supported

MCG Code:

* Replace MonteCarloVariableRandomNormal::is_near_equal with new
  Trick::dbl_is_near from trick team

MCG Testing:

* Reduce the set of SIM_mc_generation comparisons. After discussion
  the trick team, we are choosing to remove all comparisons to
  verif_data/ which contain random-generated numbers since
  these tests cannot pass across all supported trick platforms.
* Fix the wrong rule on exlcuding -Werror for Darwin builds
  of SIM_mc_generation
* Remove data recording of strings in SIM_mc_generation

Trickops:

* Replace build_command with build_args per discussion w/ Trick team
  Since we only support arguments to trick-CP, replace the build_command
  yaml entry with build_args
* Disable var server connection by default in SingleRun if TrickWorkflow.quiet
  is True
* Guard against multiple Job starts
* Remove SimulationJob inheritance layer since old monte-carlo wasn't
  and never will be supported by TrickOps
* Ignore IOError raise from variable_server that looks like "The remote
  endpoint has closed the connection". This appears to occur when
  SingleRun jobs attempt to connect to the var server for a sim that
  terminates very early

[skip ci]

* Adjust phasing of old/new MCG initialize functions

* Clarify failure message in generate_dispersions if new/old MC are both
  used.
* Adjust the phasing order of MCG intialize method to be before
  legacy MC initialized. Without this, monte-carlo dry run completes with
  success before the check in generate_dispersions() can run
* Add -Wno-stringop-truncation to S_override.mk for SIM_mc_generation
  since gcc 8+ warns about SWIG generated content in top.cpp

* Introduce MonteCarloGenerationHelper python class

This new class provides an easy-to-use interface for MCG sim-module
users:

1. Run generation
2. Getting an sbatch array job suitable for SLURM
3. Getting a list of SingleRun() instances for generated runs, to be
   executed locally if desired

---------

Co-authored-by: Dan Jordan <daniel.d.jordan@nasa.gov>
2023-03-06 09:25:50 -06:00
Scott Fennell
265513684a
Update Install-Guide.md 2022-11-15 09:54:17 -06:00
Scott Fennell
e65a0b0783
Add python 2 instructions to install guide 2022-11-04 09:20:09 -05:00
Scott Fennell
1769bb7061
Update Install-Guide.md 2022-09-26 15:15:03 -05:00
Scott Fennell
99bdf509b3
Update Install-Guide.md 2022-09-26 15:11:21 -05:00
Scott Fennell
4ac9777ab8
Move Troubleshooting link 2022-09-26 15:10:12 -05:00
Scott Fennell
550991669d
Add uninstall old trick to troubleshooting in install guide 2022-09-26 15:09:32 -05:00
Scott Fennell
d8df914ebf
Add Environment section to Troubleshooting in Install Guide 2022-09-26 14:58:57 -05:00
Scott Fennell
af4a40057d
Update Install-Guide.md
closes #1300 references #1302
2022-08-11 11:27:36 -05:00
Jacqueline Deans
cdc1f240d8
Add gtest instructions for MacOS to install guide 2022-07-19 16:49:12 -05:00
Scott Fennell
df68e659fe
Update Install-Guide.md 2022-06-20 11:24:47 -05:00
Scott Fennell
ee4fd17de0
Update Install-Guide.md 2022-06-15 16:11:51 -05:00
Scott Fennell
bc18f5492c
Update Install-Guide.md 2022-06-15 16:11:21 -05:00
Scott Fennell
c0aed4312f
add python to macOS install dependencies 2022-06-13 10:16:47 -05:00
Scott Fennell
ee370d6d33
Update Install-Guide.md 2022-06-10 15:40:45 -05:00
Scott Fennell
64c502d03f
Add apple silicon issue link to install guide
#1283
2022-06-10 15:37:01 -05:00
Scott Fennell
56e08cce1e
Update install guide for macOS 2022-04-14 12:23:24 -05:00
Scott Fennell
0c207dd511
Update Install-Guide.md 2022-04-04 12:42:55 -05:00
Scott Fennell
dbf465f217
Add temporary workaround to find udunits on mac to install guide 2021-12-15 12:37:44 -06:00
Scott Fennell
8f0a87b046
Update Install-Guide.md 2021-11-19 12:35:05 -06:00
Scott Fennell
02bdd8f4a4
Update Install-Guide.md 2021-10-19 11:59:03 -05:00
Scott Fennell
240796c045
Update Install-Guide.md 2021-10-19 11:57:31 -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
Scott Fennell
c0794733b7
update macOS install instructions to use llvm 11 (for now)
#1152
2021-05-27 11:44:38 -05:00
Derek Bankieris
8d314fa1b1 Zip SWIG-generated python modules
Closes #1144
2021-05-19 17:23:33 -05:00
Scott Fennell
437a56b24c
Update Install-Guide.md 2021-04-26 23:53:27 -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
c0791b46d9
icg default constructor is deleted (#1109)
* check if default constructor is deleted #1094

* unit test icg deleted default constructor #1094

* Update centos 7 swig version to 3.0 to support deleted function in SIM_deleted_default_constructor test

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

closes #1094
2021-02-05 19:32:36 -06:00
Zain Merchant
5f59948cb8
Trick installation on MacOS documentation update (#1071)
* Trick installation on MacOS

Step 5 in the installation guide “Install cask to get java and xquartz” results in the following error: “Error: Cask 'java' is unavailable: No Cask with this name exists. Did you mean one of these?”, then giving some other possible downloads. It seems that Java cannot be installed using home-brew in this way. The way around this I used was to install Java from Oracle’s website (https://www.java.com/en/download/) and the JDK from here (https://www.oracle.com/java/technologies/javase-jdk15-downloads.html), then install the other packages on their own. This has been tested to be working on macOS Catalina.

* macOS install documentation to install java with brew by default

I changed the URL for the JDK as well to go to their SE page, so that when java 16+ is released they can still find the latest JDK.

Co-authored-by: Scott Fennell <spfennell@gmail.com>
2020-11-05 14:32:17 -06:00
Scott Fennell
892c0ac493
Update Install-Guide.md 2020-09-02 16:02:47 -05:00
Scott Fennell
0871600cad
Update Install-Guide.md 2020-09-02 15:59:03 -05:00
Scott Fennell
ab0d1cf1bd
Update Install-Guide.md 2020-09-02 15:56:28 -05:00
Scott Fennell
004a5a0384
Update Install-Guide.md 2020-09-02 15:52:31 -05:00
Scott Fennell
c8e90dde81
1048 and 1050 update Install Guide (#1051)
closes #1048 and closes #1050

Update java version, check/update dependencies and various other improvements.
2020-09-02 15:37:50 -05:00
Scott Fennell
35eaf0e17d
Update Install-Guide.md 2020-02-25 11:01:55 -06:00
Scott Fennell
5b51245bf0
Update Install-Guide.md 2020-02-25 10:57:52 -06:00
Scott Fennell
1ea0fffd65
Add RHEL 8 instructions to install guide closes #962 2020-02-25 10:54:07 -06:00
Scott Fennell
762a540513
Update Install-Guide.md 2020-02-05 14:45:19 -06:00
Scott Fennell
0941126e99
Update Install-Guide.md 2020-02-05 14:44:56 -06:00
Scott Fennell
4f5ce7e4a1
Maven, offline mode, and --enable-mongoose (#939)
closes #938 
closes #941 
closes #943
2020-02-05 14:31:58 -06:00
Scott Fennell
b4bbcf275e
Update Install-Guide.md 2020-01-09 14:34:18 -06:00
Scott Fennell
cf41891496
#925 add Fedora 30 to install instructions, and clarify package dependency versions 2020-01-08 13:20:54 -06:00
Scott Fennell
1c9cf79e50 add wiki to repository for github pages 2019-11-20 11:04:58 -06:00