Skip to content

Commit 0995947

Browse files
authored
Merge branch 'development' into clang-tidy-action
2 parents 08b0449 + df6b52f commit 0995947

9 files changed

Lines changed: 54 additions & 14 deletions

File tree

.github/workflows/check_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
whitelist = ["maestro.lo_bc",
1111
"maestro.hi_bc"]
1212

13-
# we don't have all of the radiation parametrs in the _cpp_parameters
13+
# we don't have all of the radiation parameters in the _cpp_parameters
1414
# yet, so we won't check these namespaces
1515

1616
namespace_ignore = []

.github/workflows/dependencies_clang-tidy-apt-llvm.sh renamed to .github/workflows/dependencies/dependencies_clang-tidy-apt-llvm.sh

File renamed without changes.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright 2020-2022 Axel Huebl
4+
#
5+
# License: BSD-3-Clause-LBNL
6+
7+
set -eu -o pipefail
8+
9+
# `man apt.conf`:
10+
# Number of retries to perform. If this is non-zero APT will retry
11+
# failed files the given number of times.
12+
echo 'Acquire::Retries "3";' | sudo tee /etc/apt/apt.conf.d/80-retries
13+
14+
sudo apt-get -qqq update
15+
sudo apt-get install -y \
16+
build-essential \
17+
ca-certificates \
18+
cmake \
19+
g++ \
20+
gfortran \
21+
gnupg \
22+
libopenmpi-dev \
23+
openmpi-bin \
24+
pkg-config \
25+
wget
26+
27+
VERSION_DOTTED=${1-12.0} && VERSION_DASHED=$(sed 's/\./-/' <<< $VERSION_DOTTED)
28+
curl -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb
29+
sudo dpkg -i cuda-keyring_1.0-1_all.deb
30+
sudo apt-get update
31+
sudo apt-get install -y \
32+
cuda-command-line-tools-$VERSION_DASHED \
33+
cuda-compiler-$VERSION_DASHED \
34+
cuda-cupti-dev-$VERSION_DASHED \
35+
cuda-minimal-build-$VERSION_DASHED \
36+
cuda-nvml-dev-$VERSION_DASHED \
37+
cuda-nvtx-$VERSION_DASHED \
38+
libcublas-dev-$VERSION_DASHED \
39+
libcufft-dev-$VERSION_DASHED \
40+
libcurand-dev-$VERSION_DASHED \
41+
libcusparse-dev-$VERSION_DASHED
42+
sudo ln -s cuda-$VERSION_DOTTED /usr/local/cuda

.github/workflows/gpu_action.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: GPU compilation
22

33
on: [pull_request]
4+
45
jobs:
56
gpu-compilation:
6-
runs-on: ubuntu-latest
7+
runs-on: ubuntu-22.04
78
steps:
89
- uses: actions/checkout@v4
910
with:
@@ -24,14 +25,7 @@ jobs:
2425
sudo apt-get -qq -y install curl cmake jq clang g++>=9.3.0
2526
2627
- name: Install CUDA
27-
# from https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=deb_network
28-
run: |
29-
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
30-
sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
31-
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub
32-
sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
33-
sudo apt-get update
34-
sudo apt-get -y install cuda
28+
run: .github/workflows/dependencies/dependencies_nvcc.sh 11.8
3529

3630
- name: Compile reacting_bubble for GPU
3731
run: |

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 25.02
2+
3+
* CI fixes (#478, #481,#482)
4+
15
# 24.08
26

37
* change access to phys_bc to use BCRec (#469)

Exec/test_problems/imposed_external_heating/MaestroMakeS.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ void Maestro::MakeRHCCforNodalProj(Vector<MultiFab>& rhcc,
354354
}
355355
}
356356

357-
// averge down and fill ghost cells using first-order extrapolation
357+
// average down and fill ghost cells using first-order extrapolation
358358
AverageDown(rhcc, 0, 1);
359359
FillPatch(t_old, rhcc, rhcc, rhcc, 0, 0, 1, 0, bcs_f);
360360
}

Source/MaestroMakeS.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ void Maestro::MakeRHCCforNodalProj(Vector<MultiFab>& rhcc,
353353
}
354354
}
355355

356-
// averge down and fill ghost cells using first-order extrapolation
356+
// average down and fill ghost cells using first-order extrapolation
357357
AverageDown(rhcc, 0, 1);
358358
FillPatch(t_old, rhcc, rhcc, rhcc, 0, 0, 1, 0, bcs_f);
359359
}

external/Microphysics

Submodule Microphysics updated 377 files

external/amrex

Submodule amrex updated 410 files

0 commit comments

Comments
 (0)