From 77dcad4d2097cd8f5fb24bf16b5c0980494abbaf Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Thu, 18 Jan 2024 14:23:53 -0500 Subject: [PATCH] update make to use -j 4 (#2714) github now has 4 CPUs in their workflows --- .github/workflows/c-linter.yml | 2 +- .github/workflows/compiler-warnings.yml | 6 +++--- .github/workflows/detonation-sdc-compare.yml | 4 ++-- .github/workflows/gpu_action.yml | 2 +- .github/workflows/hip.yml | 2 +- .github/workflows/mhd-compare.yml | 4 ++-- .github/workflows/rad-compare.yml | 4 ++-- .github/workflows/reacting-convergence-true-sdc.yml | 4 ++-- .github/workflows/uniform_cube.yml | 2 +- .github/workflows/uniform_sphere.yml | 2 +- 10 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/c-linter.yml b/.github/workflows/c-linter.yml index 435a7fa60a..d575a2f236 100644 --- a/.github/workflows/c-linter.yml +++ b/.github/workflows/c-linter.yml @@ -30,7 +30,7 @@ jobs: tar xfz v2.28.0.tar.gz cd hypre-2.28.0/src ./configure --with-cxxstandard=17 --without-MPI - make -j 2 + make -j 4 make install cd ../../ diff --git a/.github/workflows/compiler-warnings.yml b/.github/workflows/compiler-warnings.yml index 0f6bd12fb1..e8092be3d3 100644 --- a/.github/workflows/compiler-warnings.yml +++ b/.github/workflows/compiler-warnings.yml @@ -26,14 +26,14 @@ jobs: - name: Compile Detonation run: | cd Exec/science/Detonation - make USE_MPI=FALSE USE_OMP=FALSE DEBUG=TRUE WARN_ALL=TRUE WARN_ERROR=TRUE -j 2 + make USE_MPI=FALSE USE_OMP=FALSE DEBUG=TRUE WARN_ALL=TRUE WARN_ERROR=TRUE -j 4 - name: Compile subchandra run: | cd Exec/science/subchandra - make USE_MPI=FALSE USE_OMP=FALSE DEBUG=TRUE WARN_ALL=TRUE WARN_ERROR=TRUE -j 2 + make USE_MPI=FALSE USE_OMP=FALSE DEBUG=TRUE WARN_ALL=TRUE WARN_ERROR=TRUE -j 4 - name: Compile wdmerger run: | cd Exec/science/wdmerger - make USE_MPI=FALSE USE_OMP=FALSE DEBUG=TRUE WARN_ALL=TRUE WARN_ERROR=TRUE -j 2 + make USE_MPI=FALSE USE_OMP=FALSE DEBUG=TRUE WARN_ALL=TRUE WARN_ERROR=TRUE -j 4 diff --git a/.github/workflows/detonation-sdc-compare.yml b/.github/workflows/detonation-sdc-compare.yml index be850b35cf..b8fe7e8568 100644 --- a/.github/workflows/detonation-sdc-compare.yml +++ b/.github/workflows/detonation-sdc-compare.yml @@ -26,7 +26,7 @@ jobs: - name: Compile Detonation run: | cd Exec/science/Detonation - make DIM=1 USE_MPI=FALSE -j 2 USE_SIMPLIFIED_SDC=TRUE + make DIM=1 USE_MPI=FALSE -j 4 USE_SIMPLIFIED_SDC=TRUE - name: Run Detonation run: | @@ -36,7 +36,7 @@ jobs: - name: Build the fextrema tool run: | cd external/amrex/Tools/Plotfile - make programs=fextrema -j 2 + make programs=fextrema -j 4 - name: Check the extrema run: | diff --git a/.github/workflows/gpu_action.yml b/.github/workflows/gpu_action.yml index 6861161cbb..95d65496b0 100644 --- a/.github/workflows/gpu_action.yml +++ b/.github/workflows/gpu_action.yml @@ -39,7 +39,7 @@ jobs: tar xfz v2.28.0.tar.gz cd hypre-2.28.0/src CUDA_HOME=/usr/local/cuda HYPRE_CUDA_SM=60 ./configure --with-cxxstandard=17 --with-cuda --enable-unified-memory --without-MPI - make -j 2 + make -j 4 make install cd ../../ diff --git a/.github/workflows/hip.yml b/.github/workflows/hip.yml index f74b1e7c7e..1bd1aa4b3e 100644 --- a/.github/workflows/hip.yml +++ b/.github/workflows/hip.yml @@ -29,4 +29,4 @@ jobs: - name: compile flame_wave run: | cd Exec/science/flame_wave - make COMP=gnu USE_HIP=TRUE USE_MPI=FALSE USE_OMP=FALSE USE_CUDA=FALSE -j 2 + make COMP=gnu USE_HIP=TRUE USE_MPI=FALSE USE_OMP=FALSE USE_CUDA=FALSE -j 4 diff --git a/.github/workflows/mhd-compare.yml b/.github/workflows/mhd-compare.yml index 403ff79f5e..e5655ce236 100644 --- a/.github/workflows/mhd-compare.yml +++ b/.github/workflows/mhd-compare.yml @@ -26,7 +26,7 @@ jobs: - name: Compile OrszagTang run: | cd Exec/mhd_tests/OrszagTang - make USE_MPI=TRUE -j 2 + make USE_MPI=TRUE -j 4 - name: Run OrszagTang-3d run: | @@ -36,7 +36,7 @@ jobs: - name: Build the fextrema tool run: | cd external/amrex/Tools/Plotfile - make programs=fextrema -j 2 + make programs=fextrema -j 4 - name: Check the extrema run: | diff --git a/.github/workflows/rad-compare.yml b/.github/workflows/rad-compare.yml index 775024000d..8645eb9ed0 100644 --- a/.github/workflows/rad-compare.yml +++ b/.github/workflows/rad-compare.yml @@ -29,7 +29,7 @@ jobs: tar xfz v2.26.0.tar.gz cd hypre-2.26.0/src ./configure --with-cxxstandard=17 - make -j 2 + make -j 4 make install cd ../../ @@ -47,7 +47,7 @@ jobs: - name: Build the fextrema tool run: | cd external/amrex/Tools/Plotfile - make programs=fextrema -j 2 + make programs=fextrema -j 4 - name: Check the extrema run: | diff --git a/.github/workflows/reacting-convergence-true-sdc.yml b/.github/workflows/reacting-convergence-true-sdc.yml index bd810420f8..fbc3d48cb2 100644 --- a/.github/workflows/reacting-convergence-true-sdc.yml +++ b/.github/workflows/reacting-convergence-true-sdc.yml @@ -26,7 +26,7 @@ jobs: - name: Compile reacting_convergence run: | cd Exec/reacting_tests/reacting_convergence - make DIM=2 USE_MPI=FALSE -j 2 USE_TRUE_SDC=TRUE + make DIM=2 USE_MPI=FALSE -j 4 USE_TRUE_SDC=TRUE - name: Run reacting_convergence run: | @@ -36,7 +36,7 @@ jobs: - name: Build the fextrema tool run: | cd external/amrex/Tools/Plotfile - make programs=fextrema -j 2 + make programs=fextrema -j 4 - name: Check the extrema run: | diff --git a/.github/workflows/uniform_cube.yml b/.github/workflows/uniform_cube.yml index edff5a8494..952d133213 100644 --- a/.github/workflows/uniform_cube.yml +++ b/.github/workflows/uniform_cube.yml @@ -26,7 +26,7 @@ jobs: - name: Compile uniform_cube run: | cd Exec/gravity_tests/uniform_cube - make USE_MPI=FALSE -j 2 + make USE_MPI=FALSE -j 4 - name: Run uniform_cube run: | diff --git a/.github/workflows/uniform_sphere.yml b/.github/workflows/uniform_sphere.yml index e9ad3b9e4e..d8d066c34a 100644 --- a/.github/workflows/uniform_sphere.yml +++ b/.github/workflows/uniform_sphere.yml @@ -26,7 +26,7 @@ jobs: - name: Compile uniform_sphere run: | cd Exec/gravity_tests/uniform_sphere - make USE_MPI=FALSE -j 2 + make USE_MPI=FALSE -j 4 - name: Run uniform_sphere run: |