Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
e1dc629
Initial commit for full cuda containers
loganharbour Sep 5, 2024
e89e853
Build pytorch from source
lindsayad May 8, 2025
166a788
MAMBA_PACKAGES -> CONDA_PACKAGES
lindsayad May 8, 2025
433a8e0
Bump GCC min to 9
loganharbour Sep 5, 2024
c679861
Specify cmake policy version minimum
lindsayad Apr 7, 2025
75a1a5e
Add cuda specific options to MFEM configuration
lindsayad May 6, 2025
2485b05
Create a smarter test for nl_forced_its
lindsayad May 7, 2025
a3d348d
Fix linear solver settings for a couple linearfvkernel tests
lindsayad May 7, 2025
c084a90
Future proof linearfvkernels inputs bc l_abs_tol is unused
lindsayad May 7, 2025
98b76b2
Change PC in iteration info tests to reliably get one linear it
lindsayad May 7, 2025
1467197
Decrease abs_zero for nullspace tests
lindsayad May 7, 2025
813fc55
Restrict iteration count tests to not use cuda
lindsayad May 7, 2025
3961b94
Fix divergence tolerance tests like the forced its test
lindsayad May 7, 2025
a374401
Make linearfv multiapp test more robust
lindsayad May 7, 2025
9646c67
Make picard catchup test more robust
lindsayad May 7, 2025
25d9502
use mumps for signal recover testing
lindsayad May 7, 2025
49d4555
Bump difference tol for Jacobian test
lindsayad May 7, 2025
e310d02
Make multiapp petsc options test more robust
lindsayad May 7, 2025
de553b1
Add some restrictions for mfem tests
lindsayad May 7, 2025
b5ec7db
Revert "Specify cmake policy version minimum"
lindsayad May 8, 2025
6043f29
Revert "Build pytorch from source"
lindsayad May 27, 2025
ef52dc1
Bump base containers, bump clang to 19
loganharbour May 27, 2025
66340a1
Address compiler warnings from clang 19
loganharbour May 28, 2025
6d05d08
Makre nl_forced_its test more robust
lindsayad May 28, 2025
2568097
Skip fingerprints when using --local or --dep
loganharbour May 28, 2025
41aef2c
Update libtorch, build it instead
loganharbour Jun 6, 2025
e322fa8
Correct spelling
loganharbour Jun 10, 2025
5662c9c
Get clang build working, clean up variables
loganharbour Jun 10, 2025
080fa7c
Rename variables, properly activate environment
loganharbour Jun 11, 2025
cce5321
Silence libtorch warnings, output all build logs
loganharbour Jun 11, 2025
c4d95e9
Switch tests to RunException
loganharbour Jun 11, 2025
f1c2981
Output build logs for petsc, libmesh, and vtk
loganharbour Jun 11, 2025
38866f1
Really remove the environment
loganharbour Jun 11, 2025
e9cf8d1
Add missing then
loganharbour Jun 11, 2025
e2d0233
Drop moose-peacock, bump python to 3.13
Jun 11, 2025
8220f71
Add missing space
loganharbour Jun 11, 2025
af6e129
Bump moose language support
loganharbour Jun 11, 2025
666fb26
More compliant test spec for SQA
lindsayad Jun 11, 2025
c0afc5f
Set LIBTORCH_DIR at the right location
loganharbour Jun 11, 2025
25bb300
Disable python and mpi for pytorch, add blas and lapack
loganharbour Jun 12, 2025
fe53b61
Check for cuda, require python
loganharbour Jun 12, 2025
839f84a
Remove comments because bash sucks
loganharbour Jun 12, 2025
6bd8c4c
Add missing influential files for mfem
loganharbour Jun 12, 2025
fb34d1d
Add mfem to capabilities script
loganharbour Jun 13, 2025
1849b6c
Destroy warehouse before Executioner
lindsayad Jun 13, 2025
c62f499
Do not run NN tests in parallel
loganharbour Jun 13, 2025
8ffa422
Update packages
loganharbour Jun 11, 2025
2fd350f
Update versioner_hashes
loganharbour Jun 11, 2025
552c9ab
Combine capabilities
loganharbour Jun 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions apptainer/app.def
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
{#- BINARY_NAME: Name of the application binary -#}

{#- Optional jinja arguments -#}
{#- EXTRA_MAMBA_PACKAGES: Extra mamba packages to install -#}
{#- EXTRA_BINARIES: Colon separated list of extra binaries that this application installs -#}
{#- MOOSE_JOBS: Number of jobs to pass to the build -#}
{#- MOOSE_OPTIONS: Options to pass to the MOOSE configure -#}
{#- MOOSE_SKIP_DOCS: Set to anything to skip the docs build -#}
{#- MOOSE_DOCS_FLAGS: Doc options to pass during the make install -#}
{#- METHOD: The method to build; defaults to "opt" -#}
{#- SKIP_FINGERPRINTS: Set to skip fingerprint verification -#}
{#- TEST_DIRS: Directories to test in the %test section; defaults to just "tests" -#}
{#- EXTRA_MAMBA_PACKAGES: Extra mamba packages to install -#}
{#- EXTRA_BINARIES: Colon separated list of extra binaries that this application installs -#}

{#- Civet Specific jinja arguments -#}
{#- CIVET_STEP_ALLOWED_TO_FAIL: BOOL, specific to Civet. Available in %post, %test section -#}
Expand All @@ -36,8 +37,10 @@

BootStrap: {{ APPTAINER_BOOTSTRAP }}
From: {{ APPTAINER_FROM }}
{%- if SKIP_FINGERPRINTS is not defined %}
# MOOSE-NCRC key
Fingerprints: 0CFFCAB55E806363601C442D211817B01E0911DB
{%- endif %}

%setup
# Load jinja vars
Expand Down
13 changes: 13 additions & 0 deletions apptainer/files/moose-dev/pytorch_clang.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake
index 1813f4418a..73c1c28cb6 100644
--- a/cmake/Dependencies.cmake
+++ b/cmake/Dependencies.cmake
@@ -1151,7 +1151,7 @@ if(USE_DISTRIBUTED AND USE_TENSORPIPE)
# Tensorpipe uses cuda_add_library
torch_update_find_cuda_flags()
add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/tensorpipe)
-
+ target_compile_options_if_supported(tensorpipe -Wno-missing-template-arg-list-after-template-kw)
list(APPEND Caffe2_DEPENDENCY_LIBS tensorpipe)
list(APPEND Caffe2_DEPENDENCY_LIBS nlohmann)
if(USE_CUDA)
14 changes: 10 additions & 4 deletions apptainer/libmesh.def
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
{#- LIBMESH_OPTIONS: Options to pass to the libMesh build script -#}
{#- MOOSE_JOBS: Number of jobs to pass to the libMesh build script -#}
{#- METHODS: Methods to build (defaults to all methods) -#}
{#- SKIP_FINGERPRINTS: Set to skip fingerprint verification -#}

{#- The within-container build directory to use -#}
{%- set ROOT_BUILD_DIR = '/root/build' -%}
Expand All @@ -27,8 +28,10 @@

BootStrap: {{ APPTAINER_BOOTSTRAP }}
From: {{ APPTAINER_FROM }}
{%- if SKIP_FINGERPRINTS is not defined %}
# MOOSE-NCRC key
Fingerprints: 0CFFCAB55E806363601C442D211817B01E0911DB
{%- endif %}

%environment
# From moose-libmesh
Expand Down Expand Up @@ -61,8 +64,8 @@ Fingerprints: 0CFFCAB55E806363601C442D211817B01E0911DB
tar -xf $(basename ${VTK_URL})

# Build VTK
mkdir -p ${VTK_DIR}/logs
cd ${ROOT_BUILD_DIR}/$(basename ${VTK_URL} .tar.gz)

mkdir -p build; cd build
cmake .. \
-Wno-dev \
Expand All @@ -76,11 +79,12 @@ Fingerprints: 0CFFCAB55E806363601C442D211817B01E0911DB
-DVTK_BUILD_EXAMPLES:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DVTK_USE_MPI:BOOL=ON \
-DVTK_USE_CUDA:BOOL=OFF \
-DVTK_GROUP_ENABLE_Rendering:STRING=DONT_WANT \
-DVTK_GROUP_ENABLE_Qt::STRING=NO \
-DVTK_GROUP_ENABLE_Views:STRING=NO \
-DVTK_GROUP_ENABLE_Web:STRING=NO
make install -j ${MOOSE_JOBS}
-DVTK_GROUP_ENABLE_Web:STRING=NO 2>&1 | tee ${VTK_DIR}/logs/cmake.log
make install -j ${MOOSE_JOBS} 2>&1 | tee ${VTK_DIR}/logs/install.log
export VTKINCLUDE_DIR
export VTKLIB_DIR
fi
Expand All @@ -95,8 +99,10 @@ Fingerprints: 0CFFCAB55E806363601C442D211817B01E0911DB
# Build libMesh
umask 022
cd ${ROOT_BUILD_DIR}
mkdir -p ${LIBMESH_DIR}/logs
METHODS="{{ METHODS or "opt dbg oprof devel" }}"
LIBMESH_SRC_DIR=${LIBMESH_SRC_DIR} LIBMESH_DIR=${LIBMESH_DIR} MOOSE_JOBS=${MOOSE_JOBS} METHODS=${METHODS} ./scripts/{{ LIBMESH_BUILD_SCRIPT }} {{ LIBMESH_OPTIONS }} --skip-submodule-update
LIBMESH_SRC_DIR=${LIBMESH_SRC_DIR} LIBMESH_DIR=${LIBMESH_DIR} MOOSE_JOBS=${MOOSE_JOBS} METHODS=${METHODS} ./scripts/{{ LIBMESH_BUILD_SCRIPT }} \
{{ LIBMESH_OPTIONS }} --skip-submodule-update 2>&1 | tee ${LIBMESH_DIR}/logs/build.log

# Fix possibly bad permissions
chmod -R o=u-w,g=u-w ${LIBMESH_DIR}
Expand Down
Loading