-
Notifications
You must be signed in to change notification settings - Fork 578
/
Copy pathconfig-specs.ini
3522 lines (3016 loc) · 184 KB
/
config-specs.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# config-specs.ini
#
#------------------------------------------------------------------------------
#------------------------------- Quick Start ----------------------------------
#------------------------------------------------------------------------------
# This is a configuration file for the `GenConfig` tool, used to specify what
# CMake configuration settings correspond to the various environments (loaded
# by the `LoadEnv` tool, and specified in `supported-systems.ini`,
# `supported-envs.ini`, and `environment-specs.ini`) and the flags/options in
# `supported-config-flags.ini`. The syntax for a section specifying a
# complete configuration is as follows:
#
# [complete-configuration-name]
# # list
# # of
# # commands
#
# The `environment-name` is a string comprised of the fully qualified
# environment name returned by `LoadEnv`, followed by at least one option
# from every flag listed in `supported-config-flags.ini` (in the order in
# which flags appear in that file), all separated by underscores.
# For instance,
#
# rhel7_cee-intel-19.0.3-mpich2-3.2-release_static_no-kokkos-arch_mpi_no-rdc_empire
# ^__fully_qualified_env_name_____^ ^ ^ ^ ^ ^ ^-- package-enables
# | | | | |-- use-rdc
# | | | |-- use-mpi
# | | |-- kokkos-arch
# | |-- lib-type
# |-- build-type
#
# Important: incomplete configurations are not permitted; every
# configuration must list at least one option from every flag listed in
# `supported-config-flags.ini` ordered as follows:
# 1. the order in which flags appear in `supported-config-flags.ini` and;
# 2. for SELECT_MANY flags, multiple options must appear in case-insensitive, ascending alphanumeric order
#
# The commands that can be used within a section to establish an environment
# are the following:
#
# * `use section_name`: Inserts the contents of the section_name section in
# place of this statement.
# * `opt-set Param1 [Param2] [ParamN] : VALUE`: Sets a program option.
# * `opt-remove Param1 [SUBSTR]`: Removes options in the option list that
# match `Param1`. If `SUBSTR` (verbatim) is included, only a substring
# need match to remove `Param1` from the option list.
# * `opt-set-cmake-var VARNAME [TYPE] [FORCE] [PARENT_SCOPE] : VALUE`: Sets
# a CMake variable. The `TYPE` is optional, but recommended. See the
# CMake documentation on `set()` for more information on `FORCE` and
# `PARENT_SCOPE`.
#
# It is possible to create sections within the file that do not correspond to a
# complete configuration (we call these partial configurations), but rather are
# intended to be `use`d within other sections. In such cases, the recommended
# convention for the section name is to use ALL-CAPS, and pick something
# representative of where it will be used, e.g., use `[RHEL7]` to collect
# operations that are common to all `[rhel7_*]` complete configurations.
# For instance,
#
# [RHEL7]
# # TODO: list of commands common to to all rhel7 configurations
#
# [RHEL7_USE-MPI|YES_USE-RDC|NO] # Reads as "RHEL7 and USE-MPI is YES and USE-RDC is NO"
# opt-set-cmake-var TPL_ENABLE_MPI BOOL : ON
# # TODO: mpi commands common to all rhel7 configurations
#
# [rhel7_cee-intel-19.0.3-mpich2-3.2-release_static_no-kokkos-arch_mpi_no-rdc_empire]
# use RHEL7
# # TODO: set kokkos arch
# use RHEL7_USE-MPI|YES_USE-RDC|NO # uses rhel7 `mpi_no-rdc` settings
# # ERROR: opt-set-cmake-var TPL_ENABLE_MPI BOOL : OFF
# # TODO: finish list of commands
#
# Note:
# The commands in a section will be executed in the order in which they
# appear, so you need to be careful with the ordering of commands.
#
# This file is organized into the following high-level sections:
#
# 1. Configuration settings common to all supported configurations
# 2. Tweaks corresponding to flag-option pairs from
# `supported-config-flags.ini`
# 3. Tweaks corresponding to particular combinations of flag-option pairs
# from `supported-config-flags.ini`
# 4. Tweaks corresponding to particular systems
#
#------------------------------------------------------------------------------
#------------------------- Detailed Documentation -----------------------------
#------------------------------------------------------------------------------
# Syntax, Semantics, Conventions and usages
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1. Configuration settings common to all supported configurations
# [PARTIAL-CONFIGURATION]
# # list of commands
#
# PARTIAL-CONFIGURATION can be any alphanumeric string that can be applied
# via the `use` command.
#
# There are two operators permitted in section names within `config-specs.ini`:
# Assignment: `|` reads as "is", this operator is not used in complete configurations
# Logical-and: `_` reads as "and", this operator may be used in either partial or complete configurations
# Note: See https://gitlab-ex.sandia.gov/trilinos-devops-consolidation/code/GenConfig/-/issues/12 for a
# complete discussion of why "is", "and", and "where" operators are not supported.
#
# 2. Tweaks corresponding to flag-option pairs from
# `supported-config-flags.ini`
# [UNIQUE-FLAG-1-NAME|UNIQUE-OPTION-1] # Reads as "UNIQUE-FLAG-1-NAME is UNIQUE-OPTION-1"
# # list of commands for setting unique-flag-1-name to unique-option-1
#
# UNIQUE-FLAG-1-NAME can be any unique-flag-name listed in `supported-config-flags.ini`, in uppercase.
# UNIQUE-OPTION-1 can be any unique-option assocatied with the given unique-flag-name, in uppercase.
# UNIQUE-FLAG-1-NAME|UNIQUE-OPTION-1 will be applied via the `use` command.
#
# 3. Tweaks corresponding to particular combinations of flag-option pairs
# from `supported-config-flags.ini`
# [UNIQUE-FLAG-1-NAME|UNIQUE-OPTION-1_UNIQUE-FLAG-2-NAME|UNIQUE-OPTION-4] # `_` is treated as logical-and
#
# UNIQUE-FLAG-1-NAME can be any unique-flag-name listed in `supported-config-flags.ini`, in uppercase.
# UNIQUE-FLAG-2-NAME can be any unique-flag-name listed in `supported-config-flags.ini`, in uppercase.
# UNIQUE-OPTION-1 can be any unique-option assocatied with the given unique-flag-name, in uppercase.
# UNIQUE-OPTION-4 can be any unique-option assocatied with the given unique-flag-name, in uppercase.
# UNIQUE-FLAG-1-NAME|UNIQUE-OPTION-1_UNIQUE-FLAG-2-NAME|UNIQUE-OPTION-4 will be applied via the `use` command.
#
# 4. Tweaks corresponding to particular systems
# [SYSTEM-NAME_UNIQUE-FLAG1-NAME|UNIQUE-OPTION1-NAME_UNIQUE-FLAG-NAME2|UNIQUE-OPTION4-NAME]
# # list of commands
#
# SYSTEM-NAME_UNIQUE-FLAG1-NAME|UNIQUE-OPTION1-NAME_UNIQUE-FLAG-NAME2|UNIQUE-OPTION4-NAME will be applied via the
# `use` command.
#
# [complete-configuration-name1]
# # list of commands
#
# complete-configuration-name1 consists of:
# 1. `_` operators only
# 2. The fully qualified environment name prepended to at least one option from every flag listed in
# `supported-config-flags.ini` (in the order in which flags appear in that file). If multiple options
# for a SELECT_MANY flag are listed, they must appear in case-insensitive, ascending alphanumeric order.
#
# Adding a New Flag/Option Set
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# If you need to extend the `GenConfig` tool to parse a new set of keywords out
# of the build name, you'll need to do the following:
#
# 1. Add the new flag/option set to `supported-config-flags.ini` (see there
# for details).
# 2. Add new `[FLAG|OPTION]` sections to high-level section 2 of the file for
# each of the new options being introduced. If one of the options doesn't
# actually have any operations associated with it, create the section
# anyway and comment something like "# Nothing to do here.".
# 3. Optionally add sections to high-level section 3 of the file if any of
# the new options, when combined with existing options, should yield
# certain operations (see that section for examples).
# 4. For all existing complete configurations, introduce the new options into
# those section names. If they `use` a partial configuration section,
# insert the new option into that section name as well if appropriate.
# 5. For each system, if the new options do anything that is system-specific,
# add `[SYSTEM-NAME_FLAG|OPTION]` sections and `use` them as appropriate.
#
#------------------------------------------------------------------------------
#
# Adding a New Option to a Flag
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# If you need to add a new option to an existing flag---for instance, you want
# to add a new user to the `package-enables` flag such that you can specify a
# different set of packages to turn on---all you need to do is:
#
# 1. Add the new option to the flag in `supported-config-flags.ini` (see
# there for details).
# 2. Find the group of `[FLAG|OPTION]` sections in the high-level section 2
# of this file.
# 3. Add a new section for the new option.
# 4. Add commands to that new section as appropriate.
# 5. If applicable, create sections in high-level section 3 of this file
# corresponding to combinations of the new option with existing options
# (see that section for examples).
# 6. `use` the new `[FLAG|OPTION]` section within complete configuration
# sections, being sure to modify those section names appropriately.
#
#------------------------------------------------------------------------------
#
# Removing an Option from a Flag
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# If you need to remove an option that is no longer supported:
#
# 1. Remove the option from `supported-config-flags.ini` (see there for
# details).
# 2. Find the `[FLAG|OPTION]` section in this file and remove it.
# 3. Find any places the `[FLAG|OPTION]` section was `use`d within other
# sections and remove those as well.
# 4. Modify any section names appropriately to indicate the removal of the
# option.
#
# Note: You may wish to deprecate an option for a time before removing it. To
# do so, your team may wish to adopt a convention of prepending `dep-`
# to flag/option names to indicate their deprecation.
#
#------------------------------------------------------------------------------
#
# Removing a Flag/Option Set
# ~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# If you need to remove an entire flag/option set---for instance, if you used
# to give your users flexibility in a certain way, but are now taking that away
# to consolidate what is officially supported---simply follow the instructions
# above for "Removing an Option from a Flag" for all the options pertaining to
# the flag you want to remove.
#
#------------------------------------------------------------------------------
#
# Modifying an Existing Flag/Option Set
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# If you wish to simply alter a flag/option set, for instance, by renaming
# things, simply use a combination of the instructions above. Ensure you make
# corresponding changes to `supported-config-flags.ini`.
#
#------------------------------------------------------------------------------
#
# Adding a New Configuration for an Existing System
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# If you need to stand up a new configuration on an existing system---for
# instance, you want to toggle a flag in a way it hasn't yet been set on that
# system---simply:
#
# 1. Find the chunk of the file corresponding to the system you want to add
# the configuration to.
# 2. Find a section corresponding to a complete configuration similar to the
# one you want to stand up.
# 3. Copy and paste that section.
# 4. Toggle the flags however you'd like in the section name.
# 5. Make the corresponding changes to the sections that get `use`d within.
# 6. Optionally add any additional commands specific to this new
# configuration.
#
#------------------------------------------------------------------------------
#
# Removing an Existing Configuration
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# If you wish to remove a particular configuration---for instance, if it will
# no longer be supported---simply find the section in this file corresponding
# to the complete configuration you'll no longer support and remove it.
#
# Note: You may wish to deprecate an option for a time before removing it. To
# do so, your team may wish to adopt a convention of prepending `dep-`
# to flag/option names to indicate their deprecation.
#------------------------------------------------------------------------------
#
# Tweaking an Existing Configuration
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# If you need to make changes to an existing complete configuration---for
# instance, if it was set up incorrectly---all you need to do is find the
# section in the file corresponding to the configuration you want to change,
# and then alter the commands in that section appropriately. If you need to
# make changes in a section `use`d by the section you want to change, make
# those changes, but be careful how that will impact other similar complete
# configurations.
#
#------------------------------------------------------------------------------
#
# Adding New Configurations for a New System
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# If it's time to stand up some new configurations on a new system, the
# procedure to follow is:
#
# 1. Add the new environments on the new system to the `LoadEnv` tool,
# modifying `supported-systems.ini`, `supported-envs.ini`, and
# `environment-specs.ini` appropriately (see those files for details).
# 2. Add a chunk of new sections to this file corresponding to the new
# system. The systems are arranged alphabetically in the file.
# 3. Create a `[SYSTEM-NAME]` section that includes `use COMMON`, along with
# any other settings specific to the new system.
# 4. If applicable, create `[SYSTEM-NAME_FLAG|OPTION]` sections containing
# commands to be executed only when `FLAG` is `OPTION` on `SYSTEM-NAME`.
# 5. Create complete configuration sections following the naming scheme shown
# at the top of this file.
# 6. Fill in those configurations with `use` directives to include the
# appropriate partial sections from earlier in the file.
#
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
#---------------------------- Example ini file --------------------------------
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# 1. Configuration settings common to all supported configurations.
#------------------------------------------------------------------------------
[COMMON]
opt-set-cmake-var CMAKE_GENERATOR STRING : Ninja
#opt-set-cmake-var Trilinos_ENABLE_BUILD_STATS BOOL : ON
opt-set-cmake-var Trilinos_PARALLEL_LINK_JOBS_LIMIT STRING : 8
opt-set-cmake-var Trilinos_SHOW_GIT_COMMIT_PARENTS BOOL : ON
# Misc options typically added by CI testing mode in TriBITS
opt-set-cmake-var Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES BOOL : ON
opt-set-cmake-var Trilinos_ALLOW_NO_PACKAGES BOOL : ON
opt-set-cmake-var Trilinos_DISABLE_ENABLED_FORWARD_DEP_PACKAGES BOOL : ON
opt-set-cmake-var Trilinos_IGNORE_MISSING_EXTRA_REPOSITORIES BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_TESTS BOOL : ON
opt-set-cmake-var Trilinos_TEST_CATEGORIES STRING : BASIC
opt-set-cmake-var Trilinos_ENABLE_CONFIGURE_TIMING BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_ALL_FORWARD_DEP_PACKAGES BOOL : ON
# Options from cmake/std/MpiReleaseDebugSharedPtSettings.cmake
opt-set-cmake-var Trilinos_ENABLE_EXPLICIT_INSTANTIATION BOOL : ON
opt-set-cmake-var Teuchos_ENABLE_DEFAULT_STACKTRACE BOOL : OFF
# Options from cmake/std/BasicCiTestingSettings.cmake
opt-set-cmake-var Trilinos_TPL_SYSTEM_INCLUDE_DIRS BOOL : TRUE
opt-set-cmake-var TPL_ENABLE_GLM BOOL : OFF
opt-set-cmake-var TPL_ENABLE_Matio BOOL : OFF
opt-set-cmake-var TPL_ENABLE_X11 BOOL : OFF
opt-set-cmake-var TPL_ENABLE_Pthread BOOL : ON
opt-set-cmake-var TPL_ENABLE_BLAS BOOL : ON
opt-set-cmake-var TPL_ENABLE_LAPACK BOOL : ON
opt-set-cmake-var TPL_ENABLE_Boost BOOL : ON
opt-set-cmake-var TPL_ENABLE_BoostLib BOOL : ON
opt-set-cmake-var TPL_ENABLE_ParMETIS BOOL : ON
opt-set-cmake-var TPL_ENABLE_Zlib BOOL : ON
opt-set-cmake-var TPL_ENABLE_HDF5 BOOL : ON
opt-set-cmake-var TPL_ENABLE_Netcdf BOOL : ON
opt-set-cmake-var TPL_ENABLE_SuperLU BOOL : ON
opt-set-cmake-var Trilinos_TRACE_ADD_TEST BOOL : ON
opt-set-cmake-var TPL_ENABLE_Scotch BOOL : ON
# Disable test that was enabled when Scotch TPL was enabled (#2051, #2052)
opt-set-cmake-var Zoltan2_orderingTestDriverExample_MPI_1_DISABLE BOOL : ON
# Disable long-failing Piro test until it can be fixed (#826)
opt-set-cmake-var Piro_EpetraSolver_MPI_4_DISABLE BOOL : ON
# Disable randomly failing ROL test until it can be fixed
opt-set-cmake-var ROL_test_algorithm_TypeP_CompareTypeU_MPI_1_DISABLE BOOL : ON
# Disable tests that timeout in PR testing until it can be fixed (#4614)
opt-set-cmake-var PanzerAdaptersSTK_PoissonInterfaceExample_2d_diffsideids_MPI_1_DISABLE BOOL : ON
# Disable long-failing Anazazi test until it can be fixed (#3585)
opt-set-cmake-var Anasazi_Epetra_OrthoManagerGenTester_0_MPI_4_DISABLE BOOL : ON
# Disable Random_XorShift64 and Random_XorShift1024 due to random failures. See #3282.
opt-set-cmake-var Kokkos_AlgorithmsUnitTest_MPI_1_EXTRA_ARGS STRING : --gtest_filter=-*Random_XorShift64:-*Random_XorShift1024
# Disable this test due to temporary requirement on Kokkos_ENABLE_DEPRECATED_CODE_3
opt-set-cmake-var Kokkos_CoreUnitTest_Serial1_MPI_1_EXTRA_ARGS STRING : --gtest_filter=-*join_backward_compatibility
opt-set-cmake-var Kokkos_CoreUnitTest_Serial1_EXTRA_ARGS STRING : --gtest_filter=-*join_backward_compatibility
# Disable this test to avoid spurious failures, see kokkos/kokkos#5502
opt-set-cmake-var Kokkos_CoreUnitTest_Default_MPI_1_EXTRA_ARGS STRING : --gtest_filter=-*defaultdevicetype.shared_space
opt-set-cmake-var Kokkos_CoreUnitTest_Default_EXTRA_ARGS STRING : --gtest_filter=-*defaultdevicetype.shared_space
# Options from SEMSDevEnv.cmake
opt-set-cmake-var Trilinos_ENABLE_PyTrilinos BOOL : OFF
opt-set-cmake-var Boost_INCLUDE_DIRS PATH : ${SEMS_BOOST_INCLUDE_PATH|ENV}
opt-set-cmake-var Boost_LIBRARY_DIRS PATH : ${SEMS_BOOST_LIBRARY_PATH|ENV}
opt-set-cmake-var BoostLib_INCLUDE_DIRS PATH : ${SEMS_BOOST_INCLUDE_PATH|ENV}
opt-set-cmake-var BoostLib_LIBRARY_DIRS PATH : ${SEMS_BOOST_LIBRARY_PATH|ENV}
opt-set-cmake-var ParMETIS_INCLUDE_DIRS PATH : ${SEMS_PARMETIS_INCLUDE_PATH|ENV}
opt-set-cmake-var ParMETIS_LIBRARY_DIRS PATH : ${SEMS_PARMETIS_LIBRARY_PATH|ENV}
opt-set-cmake-var Zlib_INCLUDE_DIRS PATH : ${SEMS_ZLIB_INCLUDE_PATH|ENV}
opt-set-cmake-var Zlib_LIBRARY_DIRS PATH : ${SEMS_ZLIB_LIBRARY_PATH|ENV}
opt-set-cmake-var HDF5_INCLUDE_DIRS PATH : ${SEMS_HDF5_INCLUDE_PATH|ENV}
opt-set-cmake-var HDF5_LIBRARY_DIRS PATH : ${SEMS_HDF5_LIBRARY_PATH|ENV}
opt-set-cmake-var Netcdf_INCLUDE_DIRS PATH : ${SEMS_NETCDF_INCLUDE_PATH|ENV}
opt-set-cmake-var Netcdf_LIBRARY_DIRS PATH : ${SEMS_NETCDF_LIBRARY_PATH|ENV}
opt-set-cmake-var SuperLU_INCLUDE_DIRS PATH : ${SEMS_SUPERLU_INCLUDE_PATH|ENV}
opt-set-cmake-var SuperLU_LIBRARY_DIRS PATH : ${SEMS_SUPERLU_LIBRARY_PATH|ENV}
opt-set-cmake-var TPL_Scotch_INCLUDE_DIRS PATH : ${SEMS_SCOTCH_INCLUDE_PATH|ENV}
opt-set-cmake-var Scotch_LIBRARY_DIRS PATH : ${SEMS_SCOTCH_LIBRARY_PATH|ENV}
# Build stats compiler wrappers (#7376)
# Commented out due to: "make[2]: execvp: /bin/sh: Argument list too long" when compiling packages/panzer/adapters-stk
# opt-set-cmake-var Trilinos_REMOVE_BUILD_STATS_TIMING_FILES_ON_FRESH_CONFIGURE BOOL : OFF
# Explicit libraries
opt-set-cmake-var TPL_DLlib_LIBRARIES PATH : ${DL_LIBRARIES|ENV}
opt-set-cmake-var TPL_Netcdf_LIBRARIES STRING : ${SEMS_NETCDF_LIBRARY_PATH|ENV}/libnetcdf.so;${SEMS_NETCDF_LIBRARY_PATH|ENV}/libpnetcdf.a
opt-set-cmake-var TPL_BLAS_LIBRARIES STRING : ${BLAS_LIBRARIES|ENV}
opt-set-cmake-var TPL_LAPACK_LIBRARIES STRING : ${LAPACK_LIBRARIES|ENV}
[COMMON_SPACK_TPLS]
use COMMON
# BLAS & LAPACK
opt-set-cmake-var TPL_BLAS_LIBRARIES STRING FORCE : -L${BLAS_ROOT|ENV}/lib;-lblas;-lgfortran;-lgomp
opt-set-cmake-var TPL_BLAS_LIBRARY_DIRS STRING FORCE : ${BLAS_ROOT|ENV}/lib
opt-set-cmake-var TPL_LAPACK_LIBRARIES STRING FORCE : -L${BLAS_ROOT|ENV}/lib;-llapack;-lgfortran;-lgomp
opt-set-cmake-var TPL_LAPACK_LIBRARY_DIRS STRING FORCE : ${BLAS_ROOT|ENV}/lib
# Boost
opt-set-cmake-var BoostLib_INCLUDE_DIRS PATH FORCE : ${BOOST_INC|ENV}
opt-set-cmake-var BoostLib_LIBRARY_DIRS PATH FORCE : ${BOOST_LIB|ENV}
opt-set-cmake-var Boost_INCLUDE_DIRS PATH FORCE : ${BOOST_INC|ENV}
opt-set-cmake-var Boost_LIBRARY_DIRS PATH FORCE : ${BOOST_LIB|ENV}
opt-set-cmake-var TPL_BoostLib_LIBRARIES STRING FORCE : ${BOOST_LIB|ENV}/libboost_program_options.a;${BOOST_LIB|ENV}/libboost_system.a
opt-set-cmake-var TPL_Boost_LIBRARIES STRING FORCE : ${BOOST_LIB|ENV}/libboost_program_options.a;${BOOST_LIB|ENV}/libboost_system.a
# HDF5
opt-set-cmake-var HDF5_INCLUDE_DIRS PATH FORCE : ${HDF5_INC|ENV}
opt-set-cmake-var HDF5_LIBRARY_DIRS PATH FORCE : ${HDF5_LIB|ENV}
# Netcdf-c
opt-set-cmake-var Netcdf_INCLUDE_DIRS PATH FORCE : ${NETCDF_C_INC|ENV}
opt-set-cmake-var Netcdf_LIBRARY_DIRS PATH FORCE : ${NETCDF_C_LIB|ENV}
opt-set-cmake-var TPL_Netcdf_LIBRARIES STRING FORCE : -L${NETCDF_C_LIB|ENV};${NETCDF_C_LIB|ENV}/libnetcdf.a;${PARALLEL_NETCDF_LIB|ENV}/libpnetcdf.a
# ParMETIS
opt-set-cmake-var TPL_ENABLE_ParMETIS BOOL FORCE : OFF
opt-set-cmake-var ParMETIS_INCLUDE_DIRS PATH FORCE : ${PARMETIS_INC|ENV}
opt-set-cmake-var ParMETIS_INCLUDE_DIRS STRING FORCE : ${PARMETIS_INC|ENV}
opt-set-cmake-var ParMETIS_LIBRARY_DIRS PATH FORCE : ${PARMETIS_LIB|ENV}
opt-set-cmake-var ParMETIS_LIBRARY_DIRS STRING FORCE : ${PARMETIS_LIB|ENV}
opt-set-cmake-var TPL_ParMETIS_LIBRARIES STRING FORCE : ${PARMETIS_LIB|ENV}/libparmetis.so
# Scotch
opt-set-cmake-var TPL_ENABLE_Scotch BOOL FORCE : OFF
opt-set-cmake-var Scotch_INCLUDE_DIRS STRING FORCE : ${SCOTCH_INC|ENV}
opt-set-cmake-var Scotch_LIBRARY_DIRS PATH FORCE : ${SCOTCH_LIB|ENV}
opt-set-cmake-var Scotch_LIBRARY_DIRS STRING FORCE : ${SCOTCH_LIB|ENV}
opt-set-cmake-var TPL_Scotch_INCLUDE_DIRS PATH FORCE : ${SCOTCH_INC|ENV}
opt-set-cmake-var TPL_Scotch_LIBRARIES STRING FORCE : ${SCOTCH_LIB|ENV}/libscotch.so
# SuperLU
opt-set-cmake-var SuperLU_INCLUDE_DIRS PATH FORCE : ${SUPERLU_INC|ENV}
opt-set-cmake-var SuperLU_INCLUDE_DIRS STRING FORCE : ${SUPERLU_INC|ENV}
opt-set-cmake-var SuperLU_LIBRARY_DIRS PATH FORCE : ${SUPERLU_LIB|ENV}
opt-set-cmake-var SuperLU_LIBRARY_DIRS STRING FORCE : ${SUPERLU_LIB|ENV}
# Metis
opt-set-cmake-var TPL_METIS_LIBRARIES STRING FORCE : ${METIS_LIB|ENV}/libmetis.so
# Zlib
opt-set-cmake-var Zlib_INCLUDE_DIRS PATH FORCE : ${ZLIB_INC|ENV}
opt-set-cmake-var Zlib_LIBRARY_DIRS PATH FORCE : ${ZLIB_LIB|ENV}
# This is temporarily disabled because it seems to be particularly sensitive to the spack-built
# MPI issue (TRILFRAME-552)
opt-set-cmake-var ROL_example_PinT_parabolic-control_AugmentedSystem_test_MPI_2_DISABLE BOOL FORCE : ON
[COMMON_AUE_SPACK]
use COMMON_SPACK_TPLS
# Overrides from [COMMON_SPACK_TPLS] to let container handle the values
opt-set-cmake-var TPL_Netcdf_LIBRARIES STRING FORCE : ""
opt-set-cmake-var TPL_BLAS_LIBRARIES STRING FORCE : ""
opt-set-cmake-var TPL_LAPACK_LIBRARIES STRING FORCE : ""
opt-set-cmake-var TPL_HDF5_LIBRARIES STRING FORCE : ""
opt-set-cmake-var SuperLU_LIBRARY_NAMES STRING FORCE : superlu;m
[COMMON_USE-MPI|NO]
use COMMON
opt-set-cmake-var TPL_ENABLE_ParMETIS BOOL FORCE : OFF
opt-set-cmake-var TPL_ENABLE_Scotch BOOL FORCE : OFF
opt-set-cmake-var TPL_Netcdf_LIBRARIES STRING FORCE : ${SEMS_NETCDF_LIBRARY_PATH|ENV}/libnetcdf.so
[COMMON_INTEL]
use COMMON
opt-set-cmake-var SuperLUDist_INCLUDE_DIRS PATH : ${SEMS_SUPERLU_DIST_INCLUDE_PATH|ENV}
opt-set-cmake-var SuperLUDist_LIBRARY_DIRS PATH : ${SEMS_SUPERLU_DIST_LIBRARY_PATH|ENV}
opt-set-cmake-var TPL_ENABLE_SuperLUDist BOOL : ON
# Override TPL_ENABLE_SuperLU=ON from [COMMON]
opt-set-cmake-var TPL_ENABLE_SuperLU BOOL FORCE : OFF
opt-set-cmake-var Tpetra_INST_INT_INT BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_STKBalance BOOL FORCE : OFF
#STK-TODO: try to remember to come back and remove this when stk-balance
#is able to tolerate int as a global-index.
#------------------------------------------------------------------------------
# 2. Tweaks corresponding to flag-option pairs from
# `supported-config-flags.ini`.
#------------------------------------------------------------------------------
#
# COVERAGE
#
[COVERAGE]
opt-set-cmake-var CMAKE_CXX_FLAGS STRING FORCE : ${CMAKE_CXX_FLAGS|CMAKE} --coverage -O0
#
# BUILD-TYPE
#
[BUILD-TYPE|DEBUG]
opt-set-cmake-var CMAKE_BUILD_TYPE STRING : DEBUG
opt-set-cmake-var Trilinos_ENABLE_DEBUG BOOL : ON
# Intrepid2 will not build with bounds check enabled:
# coreKokkos_Array.hpp:152:57: error: array subscript is below array bounds [-Werror=array-bounds]
opt-set-cmake-var Kokkos_ENABLE_DEBUG_BOUNDS_CHECK BOOL : OFF
opt-set-cmake-var Kokkos_ENABLE_DEBUG BOOL : ON
[BUILD-TYPE|DEBUG-COVERAGE-GNU]
use BUILD-TYPE|DEBUG
use COVERAGE
[BUILD-TYPE|RELEASE]
opt-set-cmake-var CMAKE_BUILD_TYPE STRING : RELEASE
opt-set-cmake-var Trilinos_ENABLE_DEBUG BOOL : OFF
opt-set-cmake-var Kokkos_ENABLE_DEBUG_BOUNDS_CHECK BOOL : OFF
opt-set-cmake-var Kokkos_ENABLE_DEBUG BOOL : OFF
[BUILD-TYPE|RELEASE-DEBUG]
opt-set-cmake-var CMAKE_BUILD_TYPE STRING : RELEASE
opt-set-cmake-var Trilinos_ENABLE_DEBUG BOOL : ON
# Intrepid2 will not build with bounds check enabled:
# coreKokkos_Array.hpp:152:57: error: array subscript is below array bounds [-Werror=array-bounds]
opt-set-cmake-var Kokkos_ENABLE_DEBUG_BOUNDS_CHECK BOOL : OFF
opt-set-cmake-var Kokkos_ENABLE_DEBUG BOOL : ON
#
# LIB-TYPE
#
[LIB-TYPE|STATIC]
opt-set-cmake-var BUILD_SHARED_LIBS BOOL : OFF
opt-set-cmake-var TPL_FIND_SHARED_LIBS BOOL : OFF
opt-set-cmake-var TPL_Boost_LIBRARIES STRING : ${SEMS_BOOST_LIBRARY_PATH|ENV}/libboost_program_options.a;${SEMS_BOOST_LIBRARY_PATH|ENV}/libboost_system.a
opt-set-cmake-var TPL_BoostLib_LIBRARIES STRING : ${SEMS_BOOST_LIBRARY_PATH|ENV}/libboost_program_options.a;${SEMS_BOOST_LIBRARY_PATH|ENV}/libboost_system.a
[LIB-TYPE|SHARED]
opt-set-cmake-var BUILD_SHARED_LIBS BOOL : ON
opt-set-cmake-var TPL_FIND_SHARED_LIBS BOOL : ON
opt-set-cmake-var TPL_Boost_LIBRARIES STRING : ${SEMS_BOOST_LIBRARY_PATH|ENV}/libboost_program_options.so;${SEMS_BOOST_LIBRARY_PATH|ENV}/libboost_system.so
opt-set-cmake-var TPL_BoostLib_LIBRARIES STRING : ${SEMS_BOOST_LIBRARY_PATH|ENV}/libboost_program_options.so;${SEMS_BOOST_LIBRARY_PATH|ENV}/libboost_system.so
#
# KOKKOS-ARCH
#
[KOKKOS-ARCH|NO-KOKKOS-ARCH]
# Nothing to do here.
[KOKKOS-ARCH|KNC]
opt-set-cmake-var Kokkos_ARCH_KNC BOOL : ON
[KOKKOS-ARCH|KNL]
opt-set-cmake-var Kokkos_ARCH_KNL BOOL : ON
[KOKKOS-ARCH|SNB]
opt-set-cmake-var Kokkos_ARCH_SNB BOOL : ON
[KOKKOS-ARCH|HSW]
opt-set-cmake-var Kokkos_ARCH_HSW BOOL : ON
[KOKKOS-ARCH|BDW]
opt-set-cmake-var Kokkos_ARCH_BDW BOOL : ON
[KOKKOS-ARCH|SKX]
opt-set-cmake-var Kokkos_ARCH_SKX BOOL : ON
[KOKKOS-ARCH|KEPLER]
opt-set-cmake-var Kokkos_ARCH_KEPLER BOOL : ON
[KOKKOS-ARCH|KEPLER30]
opt-set-cmake-var Kokkos_ARCH_KEPLER30 BOOL : ON
[KOKKOS-ARCH|KEPLER32]
opt-set-cmake-var Kokkos_ARCH_KEPLER32 BOOL : ON
[KOKKOS-ARCH|KEPLER35]
opt-set-cmake-var Kokkos_ARCH_KEPLER35 BOOL : ON
[KOKKOS-ARCH|KEPLER37]
opt-set-cmake-var Kokkos_ARCH_KEPLER37 BOOL : ON
[KOKKOS-ARCH|MAXWELL]
opt-set-cmake-var Kokkos_ARCH_MAXWELL BOOL : ON
[KOKKOS-ARCH|MAXWELL50]
opt-set-cmake-var Kokkos_ARCH_MAXWELL50 BOOL : ON
[KOKKOS-ARCH|MAXWELL52]
opt-set-cmake-var Kokkos_ARCH_MAXWELL52 BOOL : ON
[KOKKOS-ARCH|MAXWELL53]
opt-set-cmake-var Kokkos_ARCH_MAXWELL53 BOOL : ON
[KOKKOS-ARCH|PASCAL60]
opt-set-cmake-var Kokkos_ARCH_PASCAL60 BOOL : ON
[KOKKOS-ARCH|PASCAL61]
opt-set-cmake-var Kokkos_ARCH_PASCAL61 BOOL : ON
[KOKKOS-ARCH|VOLTA70]
opt-set-cmake-var Kokkos_ARCH_VOLTA70 BOOL : ON
[KOKKOS-ARCH|VOLTA72]
opt-set-cmake-var Kokkos_ARCH_VOLTA72 BOOL : ON
[KOKKOS-ARCH|TURING75]
opt-set-cmake-var Kokkos_ARCH_TURING75 BOOL : ON
[KOKKOS-ARCH|AMPERE80]
opt-set-cmake-var Kokkos_ARCH_AMPERE80 BOOL : ON
[KOKKOS-ARCH|AMPERE86]
opt-set-cmake-var Kokkos_ARCH_AMPERE86 BOOL : ON
[KOKKOS-ARCH|ARMV80]
opt-set-cmake-var Kokkos_ARCH_ARMV80 BOOL : ON
[KOKKOS-ARCH|ARMV81]
opt-set-cmake-var Kokkos_ARCH_ARMV81 BOOL : ON
[KOKKOS-ARCH|ARMV8-THUNDERX]
opt-set-cmake-var Kokkos_ARCH_ARMV8-THUNDERX BOOL : ON
[KOKKOS-ARCH|ARMV8-TX2]
opt-set-cmake-var Kokkos_ARCH_ARMV8-TX2 BOOL : ON
[KOKKOS-ARCH|A64FX]
opt-set-cmake-var Kokkos_ARCH_A64FX BOOL : ON
[KOKKOS-ARCH|BGQ]
opt-set-cmake-var Kokkos_ARCH_BGQ BOOL : ON
[KOKKOS-ARCH|POWER7]
opt-set-cmake-var Kokkos_ARCH_POWER7 BOOL : ON
[KOKKOS-ARCH|POWER8]
opt-set-cmake-var Kokkos_ARCH_POWER8 BOOL : ON
[KOKKOS-ARCH|POWER9]
opt-set-cmake-var Kokkos_ARCH_POWER9 BOOL : ON
[KOKKOS-ARCH|VEGA900]
opt-set-cmake-var Kokkos_ARCH_VEGA900 BOOL : ON
[KOKKOS-ARCH|VEGA906]
opt-set-cmake-var Kokkos_ARCH_VEGA906 BOOL : ON
[KOKKOS-ARCH|VEGA908]
opt-set-cmake-var Kokkos_ARCH_VEGA908 BOOL : ON
[KOKKOS-ARCH|AMDAVX]
opt-set-cmake-var Kokkos_ARCH_AMDAVX BOOL : ON
[KOKKOS-ARCH|ZEN]
opt-set-cmake-var Kokkos_ARCH_ZEN BOOL : ON
[KOKKOS-ARCH|ZEN2]
opt-set-cmake-var Kokkos_ARCH_ZEN2 BOOL : ON
#
# NODE-TYPE
#
# note: mortar uses serial mode no matter what so we need to instantiate
# Tpetra_INST_SERIAL BOOL : ON in all cases to get it's examples to work
[NODE-TYPE|SERIAL]
opt-set-cmake-var Trilinos_ENABLE_OpenMP BOOL : OFF
opt-set-cmake-var Kokkos_ENABLE_OPENMP BOOL : OFF
opt-set-cmake-var Phalanx_KOKKOS_DEVICE_TYPE STRING : SERIAL
opt-set-cmake-var Tpetra_INST_SERIAL BOOL : ON
opt-set-cmake-var Kokkos_ENABLE_CUDA BOOL : OFF
opt-set-cmake-var Kokkos_ENABLE_CUDA_LAMBDA BOOL : OFF
opt-set-cmake-var Tpetra_INST_CUDA BOOL : OFF
opt-set-cmake-var Sacado_ENABLE_HIERARCHICAL_DFAD BOOL : OFF
opt-set-cmake-var TPL_ENABLE_CUDA BOOL : OFF
opt-set-cmake-var TPL_ENABLE_CUSPARSE BOOL : OFF
[NODE-TYPE|CUDA]
opt-set-cmake-var Trilinos_ENABLE_OpenMP BOOL : OFF
opt-set-cmake-var Kokkos_ENABLE_OPENMP BOOL : OFF
opt-set-cmake-var Phalanx_KOKKOS_DEVICE_TYPE STRING : CUDA
opt-set-cmake-var Tpetra_INST_SERIAL BOOL : ON
opt-set-cmake-var Kokkos_ENABLE_CUDA BOOL : ON
opt-set-cmake-var Kokkos_ENABLE_CUDA_LAMBDA BOOL : ON
opt-set-cmake-var Tpetra_INST_CUDA BOOL : ON
opt-set-cmake-var Sacado_ENABLE_HIERARCHICAL_DFAD BOOL : ON
opt-set-cmake-var TPL_ENABLE_CUDA BOOL : ON
opt-set-cmake-var TPL_ENABLE_CUSPARSE BOOL : ON
[NODE-TYPE|OPENMP]
opt-set-cmake-var Trilinos_ENABLE_OpenMP BOOL : ON
opt-set-cmake-var Kokkos_ENABLE_OPENMP BOOL : ON
opt-set-cmake-var Phalanx_KOKKOS_DEVICE_TYPE STRING : OPENMP
opt-set-cmake-var Tpetra_INST_SERIAL BOOL : ON
opt-set-cmake-var Kokkos_ENABLE_CUDA BOOL : OFF
opt-set-cmake-var Kokkos_ENABLE_CUDA_LAMBDA BOOL : OFF
opt-set-cmake-var Tpetra_INST_CUDA BOOL : OFF
opt-set-cmake-var Sacado_ENABLE_HIERARCHICAL_DFAD BOOL : OFF
opt-set-cmake-var TPL_ENABLE_CUDA BOOL : OFF
opt-set-cmake-var TPL_ENABLE_CUSPARSE BOOL : OFF
[NODE-TYPE|OPENMP-NO-SERIAL]
use NODE-TYPE|OPENMP
opt-set-cmake-var Tpetra_INST_SERIAL BOOL FORCE : OFF
opt-set-cmake-var Kokkos_ENABLE_SERIAL BOOL : OFF
#
# USE-ASAN
#
[USE-ASAN|YES]
opt-set-cmake-var Trilinos_ENABLE_Fortran BOOL FORCE : OFF
# Unfortunately turning off Fortran turns off the mangling detection, so hardcode it here
opt-set-cmake-var FC_FN_UNDERSCORE STRING FORCE : UNDER
opt-set-cmake-var CMAKE_C_FLAGS STRING FORCE : -Wno-all -Wno-deprecated -g -O1 -fsanitize=address -fno-omit-frame-pointer
opt-set-cmake-var CMAKE_CXX_FLAGS STRING FORCE : -Wno-all -Wno-deprecated -g -O1 -fsanitize=address -fno-omit-frame-pointer
opt-set-cmake-var CMAKE_EXE_LINKER_FLAGS STRING FORCE : -ldl -fsanitize=address -fuse-ld=lld
opt-set-cmake-var Trilinos_EXTRA_LINK_FLAGS STRING FORCE : -ldl -fsanitize=address -fuse-ld=lld
[USE-ASAN|NO]
# Nothing to do here.
#
# USE-COMPLEX
#
[USE-COMPLEX|YES]
opt-set-cmake-var Trilinos_ENABLE_COMPLEX BOOL : ON
[USE-COMPLEX|NO]
opt-set-cmake-var Trilinos_ENABLE_COMPLEX BOOL : OFF
#
# USE-FPIC
#
[USE-FPIC|YES]
opt-set-cmake-var CMAKE_POSITION_INDEPENDENT_CODE BOOL : ON
[USE-FPIC|NO]
# Nothing to do here.
#
# USE-MPI
#
[USE-MPI|YES]
opt-set-cmake-var CMAKE_C_COMPILER FILEPATH : ${MPICC|ENV}
opt-set-cmake-var CMAKE_CXX_COMPILER FILEPATH : ${MPICXX|ENV}
opt-set-cmake-var CMAKE_Fortran_COMPILER FILEPATH : ${MPIF90|ENV}
opt-set-cmake-var MPI_BASE_DIR PATH : ${SEMS_MPI_ROOT|ENV}
opt-set-cmake-var TPL_ENABLE_MPI BOOL : ON
[USE-MPI|NO]
opt-set-cmake-var CMAKE_C_COMPILER FILEPATH : ${SERIAL_CC|ENV}
opt-set-cmake-var CMAKE_CXX_COMPILER FILEPATH : ${SERIAL_CXX|ENV}
opt-set-cmake-var CMAKE_Fortran_COMPILER FILEPATH : ${SERIAL_FC|ENV}
opt-set-cmake-var TPL_ENABLE_MPI BOOL : OFF
#
# USE-PT
#
[USE-PT|YES]
opt-set-cmake-var Trilinos_ENABLE_SECONDARY_TESTED_CODE BOOL : OFF
[USE-PT|NO]
opt-set-cmake-var Trilinos_ENABLE_SECONDARY_TESTED_CODE BOOL : ON
#
# USE-RDC
#
[USE-RDC|YES]
opt-set-cmake-var CMAKE_CXX_FLAGS STRING FORCE : ${CMAKE_CXX_FLAGS|CMAKE} --remove-duplicate-link-files
opt-set-cmake-var Kokkos_ENABLE_CUDA_RELOCATABLE_DEVICE_CODE BOOL FORCE : ON
opt-set-cmake-var Stokhos_ENABLE_MueLu BOOL FORCE : OFF
[USE-RDC|NO]
opt-set-cmake-var Kokkos_ENABLE_CUDA_RELOCATABLE_DEVICE_CODE BOOL : OFF
#
# USE-UVM
#
[USE-UVM|YES]
opt-set-cmake-var Tpetra_ALLOCATE_IN_SHARED_SPACE BOOL : ON
opt-set-cmake-var KokkosKernels_INST_MEMSPACE_CUDAUVMSPACE BOOL : ON
[USE-UVM|NO]
opt-set-cmake-var Tpetra_ALLOCATE_IN_SHARED_SPACE BOOL : OFF
opt-set-cmake-var KokkosKernels_INST_MEMSPACE_CUDAUVMSPACE BOOL : OFF
#
# USE-DEPRECATED
#
[USE-DEPRECATED|NO]
opt-set-cmake-var KOKKOS_ENABLE_DEPRECATED_CODE BOOL : OFF
opt-set-cmake-var Tpetra_ENABLE_DEPRECATED_CODE BOOL : OFF
opt-set-cmake-var Belos_HIDE_DEPRECATED_CODE BOOL : ON
opt-set-cmake-var Epetra_HIDE_DEPRECATED_CODE BOOL : ON
opt-set-cmake-var Ifpack2_HIDE_DEPRECATED_CODE BOOL : ON
opt-set-cmake-var Ifpack2_ENABLE_DEPRECATED_CODE BOOL : OFF
opt-set-cmake-var MueLu_ENABLE_DEPRECATED_CODE BOOL : OFF
opt-set-cmake-var Panzer_HIDE_DEPRECATED_CODE BOOL : ON
opt-set-cmake-var Phalanx_HIDE_DEPRECATED_CODE BOOL : ON
opt-set-cmake-var RTop_HIDE_DEPRECATED_CODE BOOL : ON
opt-set-cmake-var STK_HIDE_DEPRECATED_CODE BOOL : ON
opt-set-cmake-var Teuchos_HIDE_DEPRECATED_CODE BOOL : ON
opt-set-cmake-var Thyra_HIDE_DEPRECATED_CODE BOOL : ON
opt-set-cmake-var Claps_HIDE_DEPRECATED_CODE BOOL : ON
opt-set-cmake-var GlobiPack_HIDE_DEPRECATED_CODE BOOL : ON
opt-set-cmake-var OptiPack_HIDE_DEPRECATED_CODE BOOL : ON
opt-set-cmake-var Trios_HIDE_DEPRECATED_CODE BOOL : ON
opt-set-cmake-var Xpetra_ENABLE_DEPRECATED_CODE BOOL : OFF
[USE-DEPRECATED|YES]
# Nothing to do here
#
# PACKAGE-ENABLES
#
[PACKAGE-ENABLES|ALL]
opt-set-cmake-var Trilinos_ENABLE_ALL_PACKAGES BOOL : ON
[PACKAGE-ENABLES|PR-FRAMEWORK]
opt-set-cmake-var Trilinos_ENABLE_TrilinosFrameworkTests BOOL : ON
[PACKAGE-ENABLES|RDC-MINIMAL]
opt-set-cmake-var Trilinos_ENABLE_Amesos BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Amesos2 BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Anasazi BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_AztecOO BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Belos BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Epetra BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_EpetraExt BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_FEI BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Galeri BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Ifpack BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Ifpack2 BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Intrepid BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Intrepid2 BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Kokkos BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_KokkosKernels BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_MiniTensor BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_ML BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_MueLu BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_NOX BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Pamgen BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Panzer BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_PanzerExprEval BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Percept BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Phalanx BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Piro BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_ROL BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_RTOp BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Rythmos BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Sacado BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_SEACAS BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Shards BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_ShyLU_NodeHTS BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_ShyLU_NodeTacho BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_STK BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Stratimikos BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_SuperLU5_API BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Teko BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Teuchos BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_ThreadPool BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Thyra BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_ThyraEpetraExtAdapters BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Tpetra BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_TrilinosSS BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Triutils BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Xpetra BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Zoltan BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Zoltan2 BOOL : ON
opt-set-cmake-var Trilinos_ENABLE_Zoltan2Core BOOL : ON
[PACKAGE-ENABLES|ALL-NO-EPETRA]
opt-set-cmake-var Trilinos_ENABLE_ALL_PACKAGES BOOL FORCE : ON
opt-set-cmake-var Trilinos_ENABLE_Amesos BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_AztecOO BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_Epetra BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_EpetraExt BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_Ifpack BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_Intrepid BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_Isorropia BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_ML BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_NewPackage BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_Pliris BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_PyTrilinos BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_ShyLU_DDCore BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_ThyraEpetraAdapters BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_ThyraEpetraExtAdapters BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_Triutils BOOL FORCE : OFF
[PACKAGE-ENABLES|NO-EPETRA]
# Identical from ALL-NO-EPETRA directive, but without enabling all of the
# packages first. This directive can be used in builds that may be enabling
# certain packages directly without any of the directives pre-defined above.
opt-set-cmake-var Trilinos_ENABLE_Amesos BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_AztecOO BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_Epetra BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_EpetraExt BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_Ifpack BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_Intrepid BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_Isorropia BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_ML BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_NewPackage BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_Pliris BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_PyTrilinos BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_ShyLU_DDCore BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_ThyraEpetraAdapters BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_ThyraEpetraExtAdapters BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_Triutils BOOL FORCE : OFF
[PACKAGE-ENABLES|NO-PACKAGE-ENABLES]
# Nothing to do here.
#------------------------------------------------------------------------------
# 3. Tweaks corresponding to particular combinations of flag-option pairs from
# `supported-config-flags.ini`.
#------------------------------------------------------------------------------
[NODE-TYPE|CUDA_USE-RDC|YES_USE-PT|YES]
# LINK_JOBS_LIMIT only has an affect when CMAKE_GENERATOR=Ninja
opt-set-cmake-var Trilinos_PARALLEL_LINK_JOBS_LIMIT STRING FORCE : 32
[NODE-TYPE|CUDA_USE-RDC|YES_USE-PT|NO]
# LINK_JOBS_LIMIT only has an affect when CMAKE_GENERATOR=Ninja
opt-set-cmake-var Trilinos_PARALLEL_LINK_JOBS_LIMIT STRING FORCE : 16
#------------------------------------------------------------------------------
# 4. Tweaks corresponding to particular systems.
#------------------------------------------------------------------------------
#
# ATS2
#
[ATS2]
use COMMON
opt-set-cmake-var MPI_EXEC STRING FORCE : ${TRILINOS_DIR|ENV}/cmake/std/sems/trilinos_jsrun
opt-set-cmake-var CTEST_USE_LAUNCHERS BOOL FORCE : ON
opt-set-cmake-var Trilinos_CUDA_NUM_GPUS STRING : ${KOKKOS_NUM_DEVICES|ENV}
opt-set-cmake-var Trilinos_CUDA_SLOTS_PER_GPU STRING : 2
# See https://tribits.org/doc/TribitsBuildReference.html#spreading-out-and-limiting-tests-running-on-gpus
opt-set-cmake-var Trilinos_AUTOGENERATE_TEST_RESOURCE_FILE BOOL FORCE : ON
opt-set-cmake-var Trilinos_ENABLE_Pliris BOOL FORCE : OFF
# NOTE: Above, FORCE is needed for Trilinos_ENABLE_Pliris=OFF in case somemoe
# changes a file under packages/pliris/ and results in adding
# set(Trilinos_ENABLE_Pliris ON CACHE BOOL "") in the packageEnables.cmake
# file. For more details on the complexity of this, see Trilinos GitHub Issue
# #10931.
[ATS2-COMMON-OVERRIDES]
# Override TPL enables from [COMMON]
opt-set-cmake-var TPL_ENABLE_Scotch BOOL FORCE : OFF
opt-set-cmake-var TPL_ENABLE_ParMETIS BOOL FORCE : OFF
opt-set-cmake-var TPL_ENABLE_Pthread BOOL FORCE : OFF
opt-set-cmake-var TPL_ENABLE_SuperLU BOOL FORCE : OFF
opt-set-cmake-var TPL_ENABLE_Zlib BOOL FORCE : OFF
opt-set-cmake-var TPL_HDF5_LIBRARIES STRING FORCE : -L${HDF5_ROOT|ENV}/lib;${HDF5_ROOT|ENV}/lib/libhdf5_hl.a;${HDF5_ROOT|ENV}/lib/libhdf5.a;-lz;-ldl
opt-set-cmake-var TPL_Netcdf_LIBRARIES STRING FORCE : -L${NETCDF_ROOT|ENV}/lib64;${NETCDF_ROOT|ENV}/lib64/libnetcdf.a;${PNETCDF_ROOT|ENV}/lib/libpnetcdf.a;${TPL_HDF5_LIBRARIES|CMAKE}
opt-set-cmake-var TPL_DLlib_LIBRARIES STRING FORCE : -ldl
[ATS2-RUN-SERIAL-TESTS]
# Mark these tests as run serial due to https://github.com/trilinos/Trilinos/pull/10253#issuecomment-1085034993