Skip to content

Commit

Permalink
Cleanup space from dependencies and tarballs
Browse files Browse the repository at this point in the history
  • Loading branch information
scrasmussen committed Feb 20, 2025
1 parent ce68380 commit 9446fd7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci_build_scm_ubuntu_nvidia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ jobs:
# Install FORTRAN dependencies
#######################################################################################

- name: Check space (pre dependency install)
run: |
df -h
- name: Install Curl and zlib
run: |
sudo apt-get update
Expand All @@ -144,6 +148,8 @@ jobs:
./configure --prefix=${HDF5_ROOT}
make -j
make install
cd ..
rm -rf hdf5-hdf5-1_14_1-2 hdf5-1_14_1-2.tar.gz
- name: Setup HDF5 Paths
run: |
Expand Down Expand Up @@ -177,6 +183,8 @@ jobs:
run: |
cd ${HOME}/openmpi-4.1.6
sudo make install -j
cd ..
rm -rf openmpi-4.1.6 openmpi-4.1.6.tar.gz
- name: Setup OpenMPI Paths
run: |
Expand Down Expand Up @@ -215,6 +223,8 @@ jobs:
CPPFLAGS="-I/home/runner/hdf5/include" LDFLAGS="-L/home/runner/hdf5/lib" ./configure --prefix=${NETCDF}
make
make install
cd ..
rm -rf netcdf-c-4.7.4 v4.7.4.tar.gz
- name: Install NetCDF Fortran library
if: steps.cache-netcdf.outputs.cache-hit != 'true'
Expand All @@ -225,6 +235,8 @@ jobs:
FCFLAGS="-fPIC" FFLAGS="-fPIC" CPPFLAGS="-I/home/runner/hdf5/include -I/home/runner/netcdf/include" LDFLAGS="-L/home/runner/hdf5/lib -L/home/runner/netcdf/lib" ./configure --prefix=${NETCDF}
make
make install
cd ..
rm -rf netcdf-fortran-4.6.1 v4.6.1.tar.gz
- name: Cache bacio library v2.4.1
id: cache-bacio-fortran
Expand All @@ -242,6 +254,8 @@ jobs:
make -j
make install
echo "bacio_DIR=/home/runner/bacio/lib/cmake/bacio" >> $GITHUB_ENV
cd ../../
rm -rf bacio
- name: Cache SP-library v2.3.3
id: cache-sp-fortran
Expand All @@ -259,6 +273,8 @@ jobs:
make -j
make install
echo "sp_DIR=/home/runner/NCEPLIBS-sp/lib/cmake/sp" >> $GITHUB_ENV
cd ../../
rm -rf NCEPLIBS-sp
- name: Cache w3emc library v2.9.2
id: cache-w3emc-fortran
Expand All @@ -276,6 +292,12 @@ jobs:
make -j
make install
echo "w3emc_DIR=/home/runner/myw3emc/lib/cmake/w3emc" >> $GITHUB_ENV
cd ../../
rm -rf NCEPLIBS-w3emc
- name: Check space (pre SCM build)
run: |
df -h
#######################################################################################
# Build and run SCM regression tests (ccpp-scm/test/rt_test_cases.py)
Expand All @@ -292,6 +314,10 @@ jobs:
cd ${SCM_ROOT}/scm/bin
make -j
- name: Check space (post SCM build)
run: |
df -h
- name: Download data for SCM
if: contains(matrix.enable-gpu-acc, 'False')
run: |
Expand Down

0 comments on commit 9446fd7

Please sign in to comment.