Skip to content

Commit

Permalink
Merge pull request #384 from ohearnk/github-workflow-optimizations-2
Browse files Browse the repository at this point in the history
GitHub Workflow Enhancement Part 2
  • Loading branch information
agoetz authored Dec 5, 2024
2 parents 95ab96f + 7570798 commit c4eae09
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 2 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build_test_mpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,22 @@ jobs:
run: |
sudo apt-get update
sudo apt-get -y install gfortran openmpi-bin openmpi-common libopenmpi-dev
- name: 'Log Softare Environment Configuration'
run: |
echo "Ubuntu version:"
cat /etc/os-release
echo
echo "Kernel version:"
uname -a
echo
echo "Glibc version:"
ldd --version
echo
echo "GCC (gfortran) version:"
gfortran --version
echo
echo "MPI version:"
mpirun --version
- name: 'Configure MPI Version'
run: ./configure --mpi --enablef --prefix $PWD/install gnu
- name: 'Build and Install MPI Version Using 2 Jobs'
Expand Down Expand Up @@ -47,6 +63,25 @@ jobs:
run: |
sudo apt-get update
sudo apt-get -y install gfortran cmake openmpi-bin openmpi-common libopenmpi-dev
- name: 'Log Softare Environment Configuration (CMake)'
run: |
echo "Ubuntu version:"
cat /etc/os-release
echo
echo "Kernel version:"
uname -a
echo
echo "Glibc version:"
ldd --version
echo
echo "GCC (gfortran) version:"
gfortran --version
echo
echo "MPI version:"
mpirun --version
echo
echo "CMake version:"
cmake --version
- name: 'Configure MPI Version (CMake)'
run: |
mkdir build
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/build_test_serial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,21 @@ jobs:
run: |
sudo apt-get update
sudo apt-get -y install gfortran parallel
- name: 'Log Softare Environment Configuration'
run: |
echo "Ubuntu version:"
cat /etc/os-release
echo
echo "Kernel version:"
uname -a
echo
ldd --version
echo
echo "GCC (gfortran) version:"
gfortran --version
echo
echo "GNU Parallel version:"
parallel --version
- name: 'Configure Serial Version'
run: ./configure --serial --enablef --prefix $PWD/install gnu
- name: 'Build and Install Serial Version Using 2 Jobs'
Expand Down Expand Up @@ -47,6 +62,24 @@ jobs:
run: |
sudo apt-get update
sudo apt-get -y install gfortran cmake parallel
- name: 'Log Softare Environment Configuration (CMake)'
run: |
echo "Ubuntu version:"
cat /etc/os-release
echo
echo "Kernel version:"
uname -a
echo
ldd --version
echo
echo "GCC (gfortran) version:"
gfortran --version
echo
echo "CMake version:"
cmake --version
echo
echo "GNU Parallel version:"
parallel --version
- name: 'Configure Serial Version (CMake)'
run: |
mkdir build
Expand Down
4 changes: 2 additions & 2 deletions tools/runtest
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ check_for_req_deps()
fullpath=`which $prog`
if [ ! -x "$fullpath" ]; then
if [ ! -f "$fullpath" ]; then
echo "Error: $fullpath not found. Install this program to run this test script."
echo "Error: $prog not found. Install this program to run this test script."
else
echo "Error: $fullpath found but not executable. Install this program to run this test script."
echo "Error: $prog found but not executable. Install this program to run this test script."
fi
exit 1;
fi
Expand Down

0 comments on commit c4eae09

Please sign in to comment.