Skip to content

Commit 8552499

Browse files
authored
Merge pull request #12902 from achauphan/container-gcc-serial-config
Framework: Add gcc-serial container config
2 parents e1b145a + bf289b9 commit 8552499

File tree

3 files changed

+49
-0
lines changed

3 files changed

+49
-0
lines changed

packages/framework/ini-files/config-specs.ini

+46
Original file line numberDiff line numberDiff line change
@@ -2838,6 +2838,48 @@ opt-set-cmake-var Stratimikos_Galeri_xpetra_complex_double_Jacobi_MPI_4_DISABLE
28382838
use GCC_PACKAGE_SPECIFIC_WARNING_FLAGS
28392839
use RHEL8_POST
28402840

2841+
[rhel8_gcc-serial_release-debug_shared_no-kokkos-arch_no-asan_no-complex_no-fpic_no-mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables]
2842+
# gcc-serial containerized environment
2843+
use COMPILER|GNU
2844+
use NODE-TYPE|SERIAL
2845+
use BUILD-TYPE|RELEASE-DEBUG
2846+
2847+
use RHEL8_LIB-TYPE|SHARED
2848+
use KOKKOS-ARCH|NO-KOKKOS-ARCH
2849+
2850+
use USE-ASAN|NO
2851+
use USE-COMPLEX|NO
2852+
use USE-FPIC|NO
2853+
use USE-MPI|NO
2854+
use USE-PT|NO
2855+
use USE-RDC|NO
2856+
use USE-UVM|NO
2857+
use USE-DEPRECATED|YES
2858+
use PACKAGE-ENABLES|NO-PACKAGE-ENABLES
2859+
2860+
use COMMON_SPACK_TPLS
2861+
2862+
opt-set-cmake-var CMAKE_CXX_FLAGS STRING : -Wall -Wno-clobbered -Wno-vla -Wno-pragmas -Wno-unknown-pragmas -Wno-parentheses -Wno-unused-local-typedefs -Wno-literal-suffix -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-int-in-bool-context -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-nonnull-compare -Wno-address -Wno-inline -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-label -Werror -DTRILINOS_HIDE_DEPRECATED_HEADER_WARNINGS
2863+
2864+
opt-set-cmake-var TPL_BLAS_LIBRARY_DIRS STRING FORCE : ${OPENBLAS_ROOT|ENV}/lib
2865+
opt-set-cmake-var TPL_BLAS_LIBRARIES STRING FORCE : ${OPENBLAS_ROOT|ENV}/lib/libopenblas.a;-L${OPENBLAS_ROOT|ENV}/lib;-lgfortran;-lgomp;-lm
2866+
opt-set-cmake-var TPL_LAPACK_LIBRARY_DIRS STRING FORCE : ${OPENBLAS_ROOT|ENV}/lib
2867+
opt-set-cmake-var TPL_LAPACK_LIBRARIES STRING FORCE : ${OPENBLAS_ROOT|ENV}/lib/libopenblas.a;-L${OPENBLAS_ROOT|ENV}/lib;-lgfortran;-lgomp;-lm
2868+
2869+
opt-set-cmake-var TPL_Netcdf_LIBRARIES STRING FORCE : ""
2870+
2871+
opt-set-cmake-var TPL_ENABLE_ParMETIS BOOL FORCE : OFF
2872+
opt-set-cmake-var TPL_ENABLE_Pnetcdf BOOL FORCE : OFF
2873+
2874+
opt-set-cmake-var Trilinos_ENABLE_TrilinosFrameworkTests BOOL FORCE : OFF
2875+
opt-set-cmake-var Trilinos_ENABLE_TrilinosBuildStats BOOL FORCE : OFF
2876+
2877+
# Turned off to bypass: ML CONFIGURATION ERROR: SuperLU_5.0 detected - only SuperLU version < 5.0 currently supported for this package.
2878+
opt-set-cmake-var ML_ENABLE_SuperLU BOOL FORCE : OFF
2879+
2880+
use GCC_PACKAGE_SPECIFIC_WARNING_FLAGS
2881+
use RHEL8_POST
2882+
28412883
[rhel8_aue-gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables]
28422884
use COMPILER|GNU
28432885
use NODE-TYPE|SERIAL
@@ -2886,6 +2928,10 @@ use PACKAGE-ENABLES|ALL
28862928
opt-set-cmake-var Trilinos_ENABLE_TrilinosFrameworkTests BOOL FORCE : OFF
28872929
opt-set-cmake-var Trilinos_ENABLE_TrilinosBuildStats BOOL FORCE : OFF
28882930

2931+
[rhel8_gcc-serial_release-debug_shared_no-kokkos-arch_no-asan_no-complex_no-fpic_no-mpi_no-pt_no-rdc_no-uvm_deprecated-on_all]
2932+
use rhel8_gcc-serial_release-debug_shared_no-kokkos-arch_no-asan_no-complex_no-fpic_no-mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables
2933+
use PACKAGE-ENABLES|ALL
2934+
28892935
[rhel8_aue-gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_all]
28902936
use rhel8_aue-gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables
28912937
use PACKAGE-ENABLES|ALL

packages/framework/ini-files/environment-specs.ini

+2
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ envvar-find-in-path MPIF90 : mpif90
158158

159159
[rhel8_gcc-openmpi]
160160

161+
[rhel8_gcc-serial]
162+
161163
[rhel8_aue-gcc-openmpi]
162164

163165
[rhel8_oneapi-intelmpi]

packages/framework/ini-files/supported-envs.ini

+1
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ gnu
174174
[rhel8]
175175
oneapi-intelmpi
176176
gcc-openmpi
177+
gcc-serial
177178
aue-gcc-openmpi
178179
sems-cuda-11.4.2-sems-gnu-10.1.0-sems-openmpi-4.1.4
179180

0 commit comments

Comments
 (0)