Skip to content

Commit

Permalink
Merge pull request #12902 from achauphan/container-gcc-serial-config
Browse files Browse the repository at this point in the history
Framework: Add gcc-serial container config
  • Loading branch information
jmlapre authored Apr 10, 2024
2 parents e1b145a + bf289b9 commit 8552499
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
46 changes: 46 additions & 0 deletions packages/framework/ini-files/config-specs.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2838,6 +2838,48 @@ opt-set-cmake-var Stratimikos_Galeri_xpetra_complex_double_Jacobi_MPI_4_DISABLE
use GCC_PACKAGE_SPECIFIC_WARNING_FLAGS
use RHEL8_POST

[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]
# gcc-serial containerized environment
use COMPILER|GNU
use NODE-TYPE|SERIAL
use BUILD-TYPE|RELEASE-DEBUG

use RHEL8_LIB-TYPE|SHARED
use KOKKOS-ARCH|NO-KOKKOS-ARCH

use USE-ASAN|NO
use USE-COMPLEX|NO
use USE-FPIC|NO
use USE-MPI|NO
use USE-PT|NO
use USE-RDC|NO
use USE-UVM|NO
use USE-DEPRECATED|YES
use PACKAGE-ENABLES|NO-PACKAGE-ENABLES

use COMMON_SPACK_TPLS

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

opt-set-cmake-var TPL_BLAS_LIBRARY_DIRS STRING FORCE : ${OPENBLAS_ROOT|ENV}/lib
opt-set-cmake-var TPL_BLAS_LIBRARIES STRING FORCE : ${OPENBLAS_ROOT|ENV}/lib/libopenblas.a;-L${OPENBLAS_ROOT|ENV}/lib;-lgfortran;-lgomp;-lm
opt-set-cmake-var TPL_LAPACK_LIBRARY_DIRS STRING FORCE : ${OPENBLAS_ROOT|ENV}/lib
opt-set-cmake-var TPL_LAPACK_LIBRARIES STRING FORCE : ${OPENBLAS_ROOT|ENV}/lib/libopenblas.a;-L${OPENBLAS_ROOT|ENV}/lib;-lgfortran;-lgomp;-lm

opt-set-cmake-var TPL_Netcdf_LIBRARIES STRING FORCE : ""

opt-set-cmake-var TPL_ENABLE_ParMETIS BOOL FORCE : OFF
opt-set-cmake-var TPL_ENABLE_Pnetcdf BOOL FORCE : OFF

opt-set-cmake-var Trilinos_ENABLE_TrilinosFrameworkTests BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_TrilinosBuildStats BOOL FORCE : OFF

# Turned off to bypass: ML CONFIGURATION ERROR: SuperLU_5.0 detected - only SuperLU version < 5.0 currently supported for this package.
opt-set-cmake-var ML_ENABLE_SuperLU BOOL FORCE : OFF

use GCC_PACKAGE_SPECIFIC_WARNING_FLAGS
use RHEL8_POST

[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]
use COMPILER|GNU
use NODE-TYPE|SERIAL
Expand Down Expand Up @@ -2886,6 +2928,10 @@ use PACKAGE-ENABLES|ALL
opt-set-cmake-var Trilinos_ENABLE_TrilinosFrameworkTests BOOL FORCE : OFF
opt-set-cmake-var Trilinos_ENABLE_TrilinosBuildStats BOOL FORCE : OFF

[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]
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
use PACKAGE-ENABLES|ALL

[rhel8_aue-gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_all]
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
use PACKAGE-ENABLES|ALL
Expand Down
2 changes: 2 additions & 0 deletions packages/framework/ini-files/environment-specs.ini
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ envvar-find-in-path MPIF90 : mpif90

[rhel8_gcc-openmpi]

[rhel8_gcc-serial]

[rhel8_aue-gcc-openmpi]

[rhel8_oneapi-intelmpi]
Expand Down
1 change: 1 addition & 0 deletions packages/framework/ini-files/supported-envs.ini
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ gnu
[rhel8]
oneapi-intelmpi
gcc-openmpi
gcc-serial
aue-gcc-openmpi
sems-cuda-11.4.2-sems-gnu-10.1.0-sems-openmpi-4.1.4

Expand Down

0 comments on commit 8552499

Please sign in to comment.